Skip to content

Instantly share code, notes, and snippets.

View kirillzh's full-sized avatar
☀️

Kirill Zhukov kirillzh

☀️
View GitHub Profile
@kirillzh
kirillzh / README.md
Created September 28, 2016 23:57 — forked from polbins/README.md
Android Studio as default Git Diff Tool

Create Android Studio Command-line Launcher

  1. Open Android Studio
  2. Go to: Tools > Create Command-line Launcher
  3. Leave as default, Press OK

Configure Git to use Android Studio as default Diff Tool

  1. Add the following lines to your .gitconfig
@kirillzh
kirillzh / build-erlang-18.3.sh
Last active May 26, 2016 02:40 — forked from bryanhunter/build-erlang-17.0.sh
Build Erlang 18.3 on a fresh Ubuntu box
#!/bin/bash
# Pull this file down, make it executable and run it with sudo
# wget https://gist.githubusercontent.com/kirillzh/8f7cf870d3e67c8840f445a9fa2203b4/raw/c95e5bbdf3bed52dd4fcd4716de0e149be99f6b7/build-erlang-18.3.sh
# chmod u+x build-erlang-18.3.sh
# sudo ./build-erlang-18.3.sh
if [ $(id -u) != "0" ]; then
echo "You must be the superuser to run this script" >&2
exit 1
fi
@kirillzh
kirillzh / android_instructions.md
Created April 28, 2016 00:50 — forked from patrickhammond/android_instructions.md
Easily setup an Android development environment on a Mac

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"