Skip to content

Instantly share code, notes, and snippets.

View yipeipei's full-sized avatar
🎯
Focusing

YI Peipei yipeipei

🎯
Focusing
View GitHub Profile
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
# create our directories
@yipeipei
yipeipei / _readme.md
Last active August 29, 2015 14:09 — forked from shime/_readme.md

Having trouble installing the latest stable version of tmux?

I know, official package for your OS/distro is outdated and you just want the newest version of tmux.

Well, this script should save you some time with that.

Prerequisities

  • gcc
2015-04-17 20:01:58 +0800
./configure
--prefix=/home/csppyi/.linuxbrew/Cellar/llvm/3.5.1
--enable-optimized
--disable-bindings
--enable-targets=all
--enable-shared
checking for C compiler default output file name... a.out
@yipeipei
yipeipei / index.html
Last active August 29, 2015 14:28 — forked from EvanZ/gist:3029682
Drawing Chemical Structure
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<style type="text/css">
.link {
fill: steelblue;
stroke: lightgray;
stroke-width: 2px;
}