Skip to content

Instantly share code, notes, and snippets.

View TGNThump's full-sized avatar
👋

Ben Pilgrim TGNThump

👋
View GitHub Profile
@billziss-gh
billziss-gh / cygwin-ls
Created March 19, 2017 03:46
Cygwin ls and hidden files
#!/bin/python
import os, sys
preload = 1
for arg in sys.argv[1:]:
if "--all" == arg or "--almost-all" == arg:
preload = 0
elif arg.startswith("-") and ("a" in arg or "A" in arg):
preload = 0
@jshaw
jshaw / byobuCommands
Last active July 4, 2024 10:58
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
@gre
gre / easing.js
Last active June 27, 2024 15:37
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {