- kill Android\ File\ Transfer\ Agent
- rm -r ~/Library/Application\ Support/Google/Android\ File\ Transfer/Android\ File\ Transfer\ Agent.app
- cd /Applications/Android\ File\ Transfer.app/Contents/Resources
- mv Android\ File\ Transfer\ Agent.app Android\ File\ Transfer\ Agent.app.disable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# show phases during compiling | |
scalac -Xshow-phases | |
# print after phase e.g. typer | |
scala -Xprint:typer | |
for more see: man scalac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install ccat curl wget fd ripgrep exercism go hashcat htop httpie jq tig pstree tree youtube-dl zshscala maven shellcheck | |
brew cask install tunnelblick vlc virtualbox meteorologist intellij-idea-ce firefox mullvad firefoxdeveloperedition | |
# https://apple.stackexchange.com/questions/69223/how-to-replace-mac-os-x-utilities-with-gnu-core-utilities | |
# brew reinstall --with-default-names coreutils findutils gnu-tar gnu-sed gawk gnutls gnu-indent gnu-getopt | |
brew install findutils --with-default-names | |
brew install gnu-indent --with-default-names | |
brew install gnu-sed --with-default-names | |
brew install gnutls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-backwards-words-in-iterm-2-on-os-x | |
Here's how you can configure iTerm 2 on OSX to allow you to use ⌥ ← and ⌥→ to do just that. | |
First you need to set your left ⌥ key to act as an escape character. | |
Second you need to either locate the current shortcut for ⌥ ← or create a new one, in the Profile Shortcut Keys, with the following settings: | |
Keyboard Shortcut: ⌥← | |
Action: Send Escape Sequence | |
Esc+: b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://open.spotify.com/album/<id> | |
in spotify desktop app: | |
spotify:album:<id> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Extact issue tag (e.g. feature/TAG-123 -> TAG-123, ANOTHERTAG-123-description -> ANOTHERTAG-123) | |
fetch_issue_tag() { | |
git rev-parse --abbrev-ref HEAD | grep -e '[A-Z]\+-[0-9]\+' -o | |
} | |
BRANCH_NAME=$( git branch | grep '*' | sed 's/* //' ) | |
ISSUE_TAG=$( fetch_issue_tag ) | |
FIRSTLINE="$( head -n 1 "$1" )" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule update --init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
println "main.java.files = ${sourceSets.main.java.files.name}" | |
println "test.java.files = ${sourceSets.test.java.files.name}" | |
println "main.output.classesDir = ${sourceSets.main.output.classesDir}" | |
println "test.output.classesDir = ${sourceSets.test.output.classesDir}" | |
println "main.java.srcDirs = ${sourceSets.main.java.srcDirs}" | |
println "test.java.srcDirs = ${sourceSets.test.java.srcDirs}" | |
println "main.resources.srcDirs = ${sourceSets.main.resources.srcDirs}" | |
println "test.resources.srcDirs = ${sourceSets.test.resources.srcDirs}" | |
println "main.allSource.files = ${sourceSets.main.allSource.files}" |
spotify:user: