Skip to content

Instantly share code, notes, and snippets.

View rihardn's full-sized avatar

Rihard Novačan rihardn

View GitHub Profile

Devices

List all connected devices - adb devices

Select a particular device - adb -s <device name> <command>

Shell

Android shell - adb shell

@rihardn
rihardn / android-set-ntp-server.md
Created December 2, 2022 14:05 — forked from xujiaao/android-set-ntp-server.md
Set the NTP server of your android device
tags
Android
Android Things

Set the NTP server of your android device

@rihardn
rihardn / .gitattributes
Created November 25, 2022 08:11 — forked from nemotoo/.gitattributes
.gitattributes for Unity3D with git-lfs
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
@rihardn
rihardn / Migrate3DProjectToGitLFS.md
Created November 24, 2022 19:42 — forked from dpschen/Migrate3DProjectToGitLFS.md
Migrate Unity / Unreal Project to Git LFS

Migrate Unity / Unreal Project to Git LFS

Note

  • If you convert to LFS for an existing repository, you will change the history, so the SHA of changed commits changes!!
  • That is fine for archiving purposes, as long as it is only about looking up the history.
  • All historic states should still work, but you can no longer reference them via SHA.
  • You should not use bfg-repo-cleaner because it's not as well supported and maintained anymore compared to git lfs migrate

Steps