Skip to content

Instantly share code, notes, and snippets.

View Wsine's full-sized avatar
:octocat:
Feel free to contact me

Jankin Wei Wsine

:octocat:
Feel free to contact me
View GitHub Profile
@yukixz
yukixz / server.py
Created June 22, 2013 05:22
Serve a SimpleHTTPServer for Images. Each Image will link to next one or directory if last.
#!/usr/bin/python
import http.server
import html
import io
import os
import socketserver
import sys
import urllib.parse
@ryin
ryin / tmux_local_install.sh
Last active April 23, 2024 01:06
bash script for installing tmux without root access
#!/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