Skip to content

Instantly share code, notes, and snippets.

View jyc's full-sized avatar

jyc

View GitHub Profile
#!/bin/bash
# Installation directory - change this to a directory of your choice
# Please make sure the directory exists first, or the script won't work
INSTALLDIR=$HOME
# Determine the architecture of the machine in use and set variables accordingly
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i686) ARCH=i686 ;;
#!/bin/bash
killall xfce4-panel
sleep 5
xfce4-panel &
#!/bin/bash
# Installation directory - change this to a directory of your choice
# Please make sure the directory exists first, or the script won't work
INSTALLDIR=$HOME
# Development channel to use. 'dev', 'beta' or 'stable'. 'stable' does
# not appear to work.
USECHANNEL="beta"
@jyc
jyc / .hgrc
Last active October 11, 2015 01:08
[ui]
username = Jonathan Chan <jchan@putgen.com>
ssh = ssh -C
[extensions]
bookmarks =
graphlog =
fetch =
@jyc
jyc / .zshrc
Created September 25, 2012 01:28
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/jonathan/.zshrc'
autoload -Uz compinit
@jyc
jyc / .zshenv
Created September 25, 2012 01:29
export GOROOT=$HOME/go
export GOOS=linux
export GOARCH=amd64
export GOBIN=$GOROOT/bin
export GOPATH=$HOME/mygo
PATH="$GOBIN:$GOPATH/bin:$PATH"
PATH="$HOME/bin:$PATH"
export GOROOT=$HOME/go
export GOOS=linux
export GOARCH=amd64
export GOBIN=$GOROOT/bin
export GOPATH=$HOME/gocode
PATH="$GOBIN:$GOPATH/bin:$PATH"
PATH="$HOME/bin:$PATH"
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/jonathan/.zshrc'
autoload -Uz compinit
@jyc
jyc / .zshenv
Last active December 10, 2015 01:48
export EDITOR=vim
export GOROOT=$HOME/go
export GOOS=linux
export GOARCH=amd64
export GOBIN=$GOROOT/bin
export GOPATH=$HOME/gocode
PATH="$GOBIN:$GOPATH/bin:$PATH"
PATH="/home/jonathan/.gem/ruby/1.9.1/bin:$PATH"
@jyc
jyc / .zshrc
Last active December 10, 2015 01:48
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -v
#bindkey "^W" backward-kill-word # vi-backward-kill-word
#bindkey "^H" backward-delete-char # vi-backward-delete-char
#bindkey "^U" kill-line # vi-kill-line
bindkey -rpM viins '^['
bindkey "^?" backward-delete-char # vi-backward-delete-char