Thursday 28 February 2019

github desktop ui stuck in loop when .git path is updated to something invalid

File/Edit/etc toolbar still appear to function. Can delete the existing repository to exit the loop. Then re-clone the appropriate origin.


source: self

git - "Commit failed - exit code 1 received"

most occurrences should be due to having nested .git directories



source: https://github.com/desktop/desktop/issues/4432

Saturday 16 February 2019

See changes to a specific file using git


git diff

source: https://stackoverflow.com/questions/8048584/see-changes-to-a-specific-file-using-git

change font for powershell

In Windows 8.1, go to the Start Screen, type powershell. On the Windows PowerShell result, right on it and select Run as administrator. Once the window opens on your desktop, right-click on the blue icon in the top left corner and select Properties.

powershell-font-size

source: https://www.thewindowsclub.com/powershell-font-window-too-small

forcibly reset everything to your last commit

git reset --hard HEAD



source: https://stackoverflow.com/questions/2125710/how-to-revert-a-git-rm-r

Thursday 7 February 2019

Convert from .obj to .stl

Get Blender.
  • Start it
  • Hit delete to get rid of the cube
  • File, Import, OBJ, your object
  • File, export, STL, your filename
Bonus points for repairing it with the 3D printing toolbox: https://tamarintech.com/article/blender_3d_toolbox


source: https://www.reddit.com/r/3Dprinting/comments/3pwxa7/need_help_converting_a_obj_to_stl/cwa59oq/

Wednesday 6 February 2019

Locating a lost android device

TLDR: go to https://www.google.com/android/find

Your locations if you have location enabled: https://www.google.com/maps/timeline

note: requires device to still have charge.

Additional info:
Google Maps timeline: https://support.google.com/maps/answer/6258979
Manage your location history: https://support.google.com/accounts/answer/3118687


sources for lost android:
. https://support.google.com/accounts/answer/3265955
. https://support.google.com/accounts/answer/6160491