Skip to content

Instantly share code, notes, and snippets.

View void-elf's full-sized avatar
🥕
eating om nom nom

void-elf

🥕
eating om nom nom
View GitHub Profile
@void-elf
void-elf / woof.py
Created January 21, 2016 19:02 — forked from robcowie/woof.py
woof.py One-time file server
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
#
# woof -- an ad-hoc single file webserver
# Copyright (C) 2004-2009 Simon Budig <simon@budig.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
int samplesPerFrame = 32;
int numFrames = 42;
float shutterAngle = .8;
int[][] result;
float time;
float d1, d2, th, pp = .7, t, tt;
int N = 10, M = 9;

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname