Skip to content

Instantly share code, notes, and snippets.

@h4t0n
h4t0n / google-dorks
Created May 5, 2017 18:52 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@h4t0n
h4t0n / index.js
Created January 5, 2016 12:53 — forked from gergelyke/index.js
callback-with-promise
const fs = require('fs')
function readPackage (callback) {
//as of now we do not have default values in Node.js
callback = callback || function () {}
return new Promise((resolve, reject) => {
fs.readFile('./package.json', (err, data) => {
if (err) {
reject(err)
return callback(err)
@h4t0n
h4t0n / highlight.md
Created October 10, 2015 20:14 — forked from ashrithr/highlight.md
Syntax highlight in Keynote

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: