Download the Heroku backup that you want
Get list of backups
heroku pgbackups --app $APP
Get url for backup, and download
heroku pgbackups:url $backupId --app $APP
db.cases.aggregate([{"$group":{"_id":"$guid", "count": {"$sum":1}}}, {"$match": {"count":{"$gt":1}}}]) |
NETCDL Certifier Implementation Standards | |
This document, while not a formal RFC, should serve as a guide for implemen- | |
tors of future NETCDL Certifier Software. The key words ”MUST”, ”MUST NOT”, | |
”REQUIRED”, ”SHALL”, ”SHALL NOT”, ”SHOULD”, ”SHOULD NOT”, ”REC- | |
OMMENDED”, ”MAY”, and ”OPTIONAL” in this document are to be interpreted | |
as described in RFC2119[7]. | |
A NETCDL certifier MUST recognize and parse a body of text that conforms to the official NETCDL grammar specification. | |
If a parse error occurs, the certifier SHOULD inform the user the cause of the error, so that they may fix it. | |
During certification the certifier SHALL evaluate every assertion in the input document. |
# Certification Subject: Home Network | |
# Author: Cody Hanson <[email protected]> | |
# Date: 10/1/2016 | |
# Version: 1.0 | |
define host myRouter as 192.168.1.1 | |
define network myNetwork as 192.168.1.0/24 | |
define network DMZ as 10.0.0.0/24 | |
define host ftpSite as speedtest.tele2.net |
#!/bin/bash | |
# Example Output and Usage | |
# clh@mint ~ $ ./curlloop.sh google.com | |
# 0: http://www.google.com/ - 200 | |
# 1: http://www.google.com/ - 200 | |
# 2: http://www.google.com/ - 200 | |
# 3: http://www.google.com/ - 200 | |
COUNT=0 |
# !/usr/python | |
# The FIN scan utilizes the FIN flag inside the TCP packet, | |
# along with the port number to connect to on the server. | |
# If there is no response from the server, then the port is open. | |
import logging | |
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) | |
from scapy.all import * | |
var _ = require('underscore'); | |
var sprintf = require('sprintf-js').sprintf; | |
var words = _.chain(require('fs').readFileSync('wordsEn.txt').toString().split("\r\n")).compact().sortBy('length').value(); | |
var chains = []; | |
function contains(smaller, bigger) { | |
if (smaller.length >= bigger.length) return false; | |
for (var i = 0; i < smaller.length; i++) if (_.indexOf(bigger, smaller[i]) == -1) return false; | |
return true; | |
} | |
for (var i = 0; i < words.length; i++) { |
Download the Heroku backup that you want
Get list of backups
heroku pgbackups --app $APP
Get url for backup, and download
heroku pgbackups:url $backupId --app $APP
#!/usr/bin/env node | |
function asyncCall(callback){ | |
console.log('Starting Async Function'); | |
setTimeout(callback,1000); | |
} | |
try { | |
asyncCall(function (){ | |
var err = new Error('MyError'); |
#! /usr/bin/env node | |
function gen(val){ | |
return function(){ | |
console.log('My value is:' + val); | |
} | |
} | |
var a = [1, 2, 3, 4, 5]; | |
var fps = []; |
#! /usr/bin/perl | |
#Turn your mac into your (not) so humble servant, Jarvis! | |
#Version 1.0 5/12/2010 Cody Hanson | |
#Macintosh only, sorry! | |
#Dedicated to Mr Tony Stark, who is a badass. | |
use strict; | |
use warnings; |