Skip to content

Instantly share code, notes, and snippets.

View clarkzjw's full-sized avatar
🌴

Jinwei Zhao clarkzjw

🌴
View GitHub Profile
apt-get update
apt-get install -y curl git zsh build-essential htop
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
@clarkzjw
clarkzjw / gist:f5c82078e0ab8b25fb455407ab17c77c
Created August 29, 2018 13:57
Disable GNOME Shell Animation in Ubuntu 17.04 and later
gsettings set org.gnome.desktop.interface enable-animations false

Keybase proof

I hereby claim:

  • I am clarkzjw on github.
  • I am clarkzjw (https://keybase.io/clarkzjw) on keybase.
  • I have a public key ASC_D8q6HvxZbh_EmKBeanuF9h-4vK6gAqJOkFSd7GajDgo

To claim this, I am signing this object:

from twython import Twython, TwythonError
import time
import sys
APP_KEY = ''
APP_SECRET = ''
OAUTH_TOKEN = ''
OAUTH_TOKEN_SECRET = ''
twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cat $SCRIPT_DIR/test.sh
set -x
mkdir /artifacts
curl -4 ipconfig.io
traceroute -enm 18 -w 1 us-east.linode.jinwei.me
traceroute -em 18 -w 1 us-east.linode.jinwei.me