Skip to content

Instantly share code, notes, and snippets.

View BrunoVernay's full-sized avatar
💭
Argh !

Bruno Vernay BrunoVernay

💭
Argh !
View GitHub Profile
@kristopherjohnson
kristopherjohnson / noise.sh
Last active June 25, 2023 08:48
Generate Brown Noise, White Noise, or Pink Noise using SoX (http://sox.sourceforge.net)
# Requires SoX
#
# On OS X, using Homebrew: brew install sox
alias brownnoise='play -c 2 -n synth brownnoise'
alias whitenoise='play -c 2 -n synth whitenoise'
alias pinknoise='play -c 2 -n synth pinknoise'
@willurd
willurd / web-servers.md
Last active April 28, 2024 21:38
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@joubertnel
joubertnel / list_threads
Created January 25, 2013 20:24
List threads, including PID, TID, and priority
#!/bin/sh
# A (b)ash script replacement for ps showing threads and other helpful stuff.
# Especially useful for Busybox based systems which has a very simple ps applet
#
# License: GPLv2
# Copyright 2009 Chris Simmonds, 2net Ltd
# chris@2net.co.uk
show_details ()
@agnoster
agnoster / README.md
Last active April 6, 2024 22:35
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark