Skip to content

Instantly share code, notes, and snippets.

View trailblazr's full-sized avatar
🐢
hacking on/with/the race 3 keyboard

blazr trailblazr

🐢
hacking on/with/the race 3 keyboard
  • Bremen, Germany
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 14, 2025 16:27
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@beakr
beakr / gist:2941446
Created June 16, 2012 14:18
Copy to OSX clipboard from text field (Objective-C).
NSPasteboard *pasteBoard = [NSPasteboard generalPasteboard];
[pasteBoard declareTypes:[NSArray arrayWithObjects:NSStringPboardType, nil] owner:nil];
[pasteBoard setString: [_textField stringValue] forType:NSStringPboardType];
@Arthraim
Arthraim / bottle_example.py
Created May 27, 2011 04:27
a python web framework bottle's example
#coding: utf-8
from bottle import route, error, post, get, run, static_file, abort, redirect, response, request, template
@route('/')
@route('/index.html')
def index():
return '<a href="/hello">Go to Hello World page</a>'
@route('/hello')
def hello():