Skip to content

Instantly share code, notes, and snippets.

View deangiberson's full-sized avatar

Dean Giberson deangiberson

View GitHub Profile
@deangiberson
deangiberson / download_all_humblebundle.js
Last active May 10, 2019 23:35
Download humble bundle contents
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
*/
function getTitle() {
var re = /^Humble.*Bundle\:\ (.*)\ \(/g;
return re.exec(document.title)[1];
}
dynamodb.deleteTable({
TableName: 'record'
})
dynamodb.createTable({
TableName: 'record',
AttributeDefinitions: [
{ AttributeName: 'name', AttributeType: 'S' },
{ AttributeName: 'part', AttributeType: 'N' }
dynamodb.deleteTable({
TableName: 'record'
})
dynamodb.createTable({
TableName: 'record',
AttributeDefinitions: [
{ AttributeName: 'name', AttributeType: 'S' },
{ AttributeName: 'part', AttributeType: 'N' }
aws --endpoint-url=http://localhost:4569 dynamodb create-table \
--table-name MusicCollection \
--attribute-definitions \
AttributeName=Artist,AttributeType=S AttributeName=SongTitle,AttributeType=S \
--key-schema AttributeName=Artist,KeyType=HASH AttributeName=SongTitle,KeyType=RANGE \
--provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1 \
--stream-specification StreamEnabled=true,StreamViewType=NEW_IMAGE
{
@deangiberson
deangiberson / gist:1ee1430c706de07c62caac847644c7b9
Created June 15, 2016 00:25 — forked from mattm7n/gist:1405067
Monitor DHCP traffic with tcpdump
# Monitoring on interface eth0
tcpdump -i eth0 -n port 67 and port 68
@deangiberson
deangiberson / geoff-yed-tips
Created January 8, 2016 00:55 — forked from malcolmocean/geoff-yed-tips
Geoff's tips for setting up yEd
From Geoff Anders, of Leverage Research (http://www.leverageresearch.org/)
For people doing goal factoring - or for people making any sort of box-and-arrow diagram - I recommended the program yEd. It is available here: http://www.yworks.com/en/products_yed_about.html
After you install it, I highly recommend setting up the defaults in the following way:
1. Open yEd.
2. Create a new document.
3. Click the white background; a small yellow square should appear on the canvas.
4. Click the small yellow square so as to select it.
#!/bin/bash
#
# Written by Corey Haines
# Scriptified by Gary Bernhardt
#
# Put this anywhere on your $PATH (~/bin is recommended). Then git will see it
# and you'll be able to do `git churn`.
#
# Show churn for whole repo:
# $ git churn

Keybase proof

I hereby claim:

  • I am deangiberson on github.
  • I am deangiberson (https://keybase.io/deangiberson) on keybase.
  • I have a public key whose fingerprint is 4F80 5302 A2DD DD30 A069 514C A5A4 694F 153D 0C6F

To claim this, I am signing this object:

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google