Skip to content

Instantly share code, notes, and snippets.

View WenxiJin's full-sized avatar
🎯
Focusing

Wenxi Jin WenxiJin

🎯
Focusing
  • Sophion Bioscience A/S
  • Denmark
View GitHub Profile
#!/usr/bin/env sh
set -x
echo "Adding i386 architecture"
sudo dpkg --add-architecture i386
sudp apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
@WenxiJin
WenxiJin / install_emacs-25.1.sh
Last active June 28, 2017 13:44
Script for installing emacs 25.1
#!/usr/bin/env sh
# Exit on error
set -x
@WenxiJin
WenxiJin / .gitignore
Last active September 1, 2017 09:26
Personal ~/.gitignore file, or ~/.gitignore_global file
cscope.*
*~
.projectile
GPATH
GRTAGS
GTAGS
@WenxiJin
WenxiJin / .zshrc
Last active July 8, 2016 14:08
Personal part of .zshrc file
# zsh theme contains git, svn prompts
ZSH_THEME="awesomepanda"
# ll
alias ll="ls -la"
# emacs daemon
export ALTERNATE_EDITOR=""
export EDITOR="emacsclient -t" # $EDITOR should open in terminal
export VISUAL="emacsclient -c -a emacs" # $VISUAL opens in GUI with non-daemon as alternate
@WenxiJin
WenxiJin / .spacemacs
Created May 25, 2016 06:15
Personal .spacemacs file
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory