Skip to content

Instantly share code, notes, and snippets.

@luxi78
luxi78 / 00.install-android-sdk.sh
Last active April 11, 2024 06:40 — forked from nhtua/00.install-android-sdk.sh
Run a Headless Android Device on Ubuntu server (no GUI)
#!/bin/bash -i
#using shebang with -i to enable interactive mode (auto load .bashrc)
set -e #stop immediately if any error happens
# Install Open SDK
apt update
apt install openjdk-17-jdk -y
update-java-alternatives --set java-1.17.0-openjdk-amd64
java -version
@luxi78
luxi78 / .ideavimrc
Created November 26, 2021 16:08 — forked from dewaka/.ideavimrc
set ignorecase
set smartcase
set scrolloff=3 " 3 lines above/below cursor when scrolling
" Emulated Plugins
set surround
" Copy to system clipboard as well
set clipboard+=unnamed
@luxi78
luxi78 / sketch-never-ending.md
Created July 7, 2018 17:19 — forked from Bhavdip/sketch-never-ending.md
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname