วันพุธที่ 8 ธันวาคม พ.ศ. 2564

วันอาทิตย์ที่ 28 พฤศจิกายน พ.ศ. 2564

วันเสาร์ที่ 27 พฤศจิกายน พ.ศ. 2564

วันอาทิตย์ที่ 10 ตุลาคม พ.ศ. 2564

 https://startwithwai.com/2013/01/10/follow-your-heart/ follow your heart

https://startwithwai.com/2017/10/15/how-life-works/ how life works

วันพฤหัสบดีที่ 7 ตุลาคม พ.ศ. 2564

 


git log --oneline ดูแบบบรรทัดเดียว


ย้อน

git reset เลขcommit


git reflog  มีแสดงhead@1 ดัวย


git reset “head@1”(ตัวที่ถัดจากเลข commit)


git restore file_b(ลบ file โดย คลิกขวาชื่อ file ใน vscode ใช้ git restore ดึง file กลับมา)


reset หลักๆมี 3 วิธี มีรูป


git rm file_b(ลบ file_b)



git branch ชื่อbranch --- สร้าง branch ชื่อbranch

git branch --- แสดง branch ทั้งหมด

git branch -d ชื่อbranch --- ลบ branch

git checkout -b ชื่อbranch --- สร้างและไปที่ branch ที่สร้างใหม่

git checkout ชื่อbranch --- ย้าย branch


วันจันทร์ที่ 4 ตุลาคม พ.ศ. 2564

วันเสาร์ที่ 4 กันยายน พ.ศ. 2564

 กินได้ 2 แก้วต่อวันนะ กาแฟอะ สำหรับเรา


วันนี้แก้ว 3 เริ่มปวดหัว แต่ยังกินแก้ว 4 ต่อ

วันอังคารที่ 31 สิงหาคม พ.ศ. 2564

วันจันทร์ที่ 23 สิงหาคม พ.ศ. 2564

 git branch --merged master lists branches merged into master

git branch --merged lists branches merged into HEAD (i.e. tip of current branch)

git branch --no-merged lists branches that have not been merged

By default this applies to only the local branches. The -a flag will show both local and remote branches, and the -r flag shows only the remote branches.

วันศุกร์ที่ 20 สิงหาคม พ.ศ. 2564

 git remote -v         check ว่าเชื่อมกับ remote repo ไหน


git branch -d branch_name         ลบ branch


git reflog         show code


git checkout -b branch_name code        กู้ branch

วันพฤหัสบดีที่ 19 สิงหาคม พ.ศ. 2564

 

Quick setup — if you’ve done this kind of thing before

Get started by creating a new file or uploading an existing file. We recommend every repository include a READMELICENSE, and .gitignore.

…or create a new repository on the command line

echo "# testgit4" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Nathat/testgit4.git
git push -u origin main

…or push an existing repository from the command line

git remote add origin https://github.com/Nathat/testgit4.git
git branch -M main
git push -u origin main

…or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

Import code

 

…or create a new repository on the command line

echo "# testgit4" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Nathat/testgit4.git
git push -u origin main

วันพฤหัสบดีที่ 5 สิงหาคม พ.ศ. 2564

วันจันทร์ที่ 5 กรกฎาคม พ.ศ. 2564

 BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));

ตัวแปลง (class) InputStreamReade

วันพฤหัสบดีที่ 22 เมษายน พ.ศ. 2564

วิธีแก้ Line ไม่เด้ง(ที่คุณอาจยังไม่เคยลอง)

 ลองเพิ่มพื้นที่ว่างในโทรศัพท์ครับ ผมใช้ Nubia M2 Play มีพื้นที่ในโทรศัพท์ 32 GB พอเหลือพื้นที่ว่างประมาณ 1.4 GB Line เริ่มมีปํญหา ลองทำให้มีพื้นที่ว่างประมาณ 5 GB เด้งใหญ่เลยครับ ลองเอาไปทำดูสำหรับคนที่อาจลองใช้วิธีอื่นแก้แล้วไม่ได้ผล


22/4/21 1415

วันเสาร์ที่ 13 มีนาคม พ.ศ. 2564

เบื่อ

 https://www.livingwisecoaching.com/content/13476/%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B9%80%E0%B8%9A%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%96%E0%B9%89%E0%B8%B2%E0%B8%84%E0%B8%B8%E0%B8%93%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2%E0%B9%83%E0%B8%88%E0%B8%98%E0%B8%A3%E0%B8%A3%E0%B8%A1%E0%B8%8A%E0%B8%B2%E0%B8%95%E0%B8%B4%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B8%A1%E0%B8%B1%E0%B8%99%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%84%E0%B8%B8%E0%B8%93%E0%B8%81%E0%B9%87%E0%B8%81%E0%B8%B3%E0%B8%88%E0%B8%B1%E0%B8%94%E0%B8%A1%E0%B8%B1%E0%B8%99%E0%B9%84%E0%B8%94%E0%B9%89

วันพุธที่ 3 มีนาคม พ.ศ. 2564

แก้ปัญหาแบต Nubia M2 Play

 แก้ปัญหาแบต Nubia M2 Play


วันแรก

เปิดเครื่องไม่ได้ เสียบชาร์จไฟกระพริบสีแดง


วันต่อมา

เสียบชาร์จได้ ไฟขึ้นสีแดง แบตเหลือ 0% ตัวอักษรสีแดง เกิน 20 เขียว


เป็นอีกครั้งละ 5 5 21

แก้โดยชาร์จคืนนึง กด power เพื่อเปิดเครื่องนานกว่าเดิม เปิดได้ เวบนอกบอกประมาณ 1 นาที แต่เรากดน้อยกว่านั้น

--

เป็นอีกละ 14 9 21 โดยประมาณ เสียบชาร์จไว้คืนนึง ก็กระพริบสีแดง  ไม่ได้ลองกด power ยาวๆ(เพื่อเปิดเครี่อง)ตั้งแต่แรกๆ เปิดเครื่องมา ประมาณ 90%

--

เป็นอีกละ 30 8 22 แต่กดเปิดเครื่องค้างยาวๆเปิดได้ เสียบไฟชาร์จด้วย ไฟกะพริบสีแดง

วันพฤหัสบดีที่ 14 มกราคม พ.ศ. 2564

วันอังคารที่ 12 มกราคม พ.ศ. 2564

mouse sculpt comfort

 mouse sculpt comfort แกะออกมาแบบไม่ได้ไขนอต (ก็เจ๊งเลยแหละรูนอตมันก็เลยหัก) ใส่ถ่านลองใหม่ scroll ได้ จากที่ตอนแรก scroll ไม่ได้ (ยังไม่ได้แกะ)

วันจันทร์ที่ 4 มกราคม พ.ศ. 2564