Skip to content

Instantly share code, notes, and snippets.

@zhy0
zhy0 / ubuntu-cli-install-android-sdk.sh
Last active Jun 27, 2020
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
View ubuntu-cli-install-android-sdk.sh
#!/bin/bash
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make # NDK stuff
@zhy0
zhy0 / hyperterm-snazzy-Xresources
Last active Apr 6, 2018
hyperterm-snazzy color scheme for Xresources
View hyperterm-snazzy-Xresources
! Thanks and credits to https://github.com/sindresorhus/hyperterm-snazzy
URxvt*font: xft:Menlo\ for\ Powerline:Regular:pixelsize=12
URxvt*foreground: #eff0eb
URxvt*background: #282a36
URxvt*cursorColor: #97979b
! Black + DarkGrey
URxvt*color0: #282a36
URxvt*color8: #686868
@zhy0
zhy0 / test.sh
Last active Aug 22, 2016
my gisth
View test.sh
#!/bin/bas
add some more stuff
You can’t perform that action at this time.