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
######################################## | |
# Typer - Wrapper for xdotool key stroke functionality | |
# | |
# Usage: | |
# | |
# Create Typer instance | |
# | |
# k = Typer() | |
# | |
# Create Typer instance with custom X windows display name |
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 | |
############################################################## | |
# | |
# Encode JSON data provided via stdin as CBOR (uses cbor.me) | |
# | |
# Usage: | |
# | |
# <json-text-data-output> | json2cbor.sh | |
# |
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
###################################################### | |
# | |
# Downloads information about a Github users Gists as a tab-delimited text file | |
# | |
# Requires arguments.py (https://gist.github.com/bng44270/871cb48d3516b6f5a1bca405959a4674) | |
# | |
# Usage: | |
# | |
# gist2txt.py -u <username> -f <output-txt-file> | |
# |
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 | |
################################################# | |
# | |
# Create MP4 video file from a collection of image files | |
# | |
# Image files are combined sequentially based on the | |
# modified timestamp of the image files. | |
# | |
# Usage: |
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
######################################### | |
# (Another) Quick and Dirty Wrapper for SQLite Library | |
# | |
# Usage: | |
# | |
# # Add additional PRAGMA commands to the second argument array | |
# mydb = SqliteConn('/path/to/file.db',['foreign_key = ON']) | |
# | |
# # Run any SQL query (returns same as the fetchall command) | |
# mydb.Run('SELECT * FROM table_name;') |
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
/* | |
DataDef - Create a schema-enforced data structure based on the Array object | |
Usage: | |
//Available data types: string, number, boolean | |
var people = new DataDef({ | |
name:'string', | |
age:'number', |
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
/* | |
JsIFTTT | |
Call IFTTT Webhooks from JavaScript (for Google Script use https://gist.github.com/bng44270/d282f5a776b59486f98d2de60f2725d4) | |
Requires webrequest.js (https://gist.github.com/bng44270/61122a1947591d50004fcd9ee72d643d) | |
Usage: |
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
/* | |
GsIFTTT | |
Call IFTTT Webhooks from Google Scripts | |
Setup: | |
Add a Script Property to your project named "ifttt_key" to store your IFTTT API Key |
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
################################################## | |
# | |
# Read text-based config files | |
# | |
# File Format: | |
# | |
# <Parameter Name><WHITESPACE><Parameter Value> | |
# | |
# File Sample (config.txt): | |
# |
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
################################### | |
# | |
# Analyze ServiceNow Update Sets | |
# | |
# Usage: | |
# | |
# Get Information on Parent Update Set | |
# | |
# Get-SNUpdateSet -File /path/to/update_set.xml | |
# |