This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jshint node: true, esversion: 6 | |
'use strict'; | |
const OUTPUT_NAME = 'MyTableStreamArn'; | |
const FUNCTION_NAME = 'FUNCTIONNAMETOATTACHSTREAMTO'; | |
class Deploy { | |
constructor(serverless, options) { | |
this.provider = 'aws'; | |
this.serverless = serverless; | |
this.options = options; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://dev.yorhel.nl/ncdu | |
multitail | |
tpp Presentation ("PowerPoint") tool for terminal. | |
ack: http://beyondgrep.com/ | |
cloc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.view.View; | |
import android.view.ViewGroup.MarginLayoutParams; | |
/** | |
* Allows an ObjectAnimator to set/get margins of a view | |
*/ | |
class MarginProxy { | |
private View mView; | |
public MarginProxy(View view) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#=============================================================================== | |
# | |
# FILE: makeNES | |
# | |
# USAGE: ./makeNES [options] [ASM [CHR [NES]]] | |
# | |
# DESCRIPTION: Bash script to compile and assemble an NES ROM using loopy's | |
# asm6 and create files appropriate for burning to chips | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#=============================================================================== | |
# | |
# FILE: iso2wbfs | |
# | |
# USAGE: ./iso2wbfs [option] FILE... [wbfs directory] | |
# | |
# DESCRIPTION: Uses wit to convert one or more Wii ISO into a WBFS file | |
# properly named for use on non-WBFS partitions. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#=============================================================================== | |
# | |
# FILE: move_doctors | |
# | |
# USAGE: ./move_doctors | |
# | |
# DESCRIPTION: Script to move classic Doctor Who episodes downloaded from | |
# zuko on Usenet to the proper directory, named for proper | |
# identification by XBMC or Boxee. Extract each story into one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# make sure we have 1 or 2 arguments | |
if [ $# -ne 1 ] && [ $# -ne 2 ]; then | |
echo "usage: `basename $0` font [bold_font]" | |
exit 1 | |
fi | |
adb devices|grep -w device > /dev/null | |
if [ $? -eq 1 ]; then |