Skip to content

Instantly share code, notes, and snippets.

View NovaRemitly's full-sized avatar

Nova NovaRemitly

  • Remitly
  • Seattle
View GitHub Profile
@NovaRemitly
NovaRemitly / gradle.md
Last active December 17, 2020 22:15
Useful Gradle tips
  • Add failOnVersionConflict() to configurations.all.resolutionStrategy to get detailed information about transitive version conflicts.
  • Run gradle buildEnvironment to get detailed information about the project's buildscript dependencies.
@NovaRemitly
NovaRemitly / macos.md
Last active December 17, 2020 22:17
Useful shell commands for MacOS

Get which version of MacOS you are running.

sw_vers -productVersion | cut -f 1,2 -d . -

Clear duplicates from Finder's "Open With" menu

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

See extended file attributes and ACL permissions

@NovaRemitly
NovaRemitly / git.md
Last active December 10, 2015 00:59
Useful Git commands.

Diffs

Show diff of last commit

git diff HEAD~1

Branch Management