Skip to content

Instantly share code, notes, and snippets.

@wookiecooking
wookiecooking / txt.txt
Created July 8, 2013 16:27
haha google dork searches
intitle:index.of .bash_history
intitle:index.of .sh_history
intitle:”Index of” index.html.bak
intitle:”Index of” index.php.bak
intitle:”Index of” index.jsp.bak
intitle:”Index of” “.htpasswd” htpasswd.bak
inurl:backup intitle:index.of inurl:admin
“Index of /backup”
intitle:”Index of” index.html~
intitle:”Index of” index.php~
@wookiecooking
wookiecooking / cow.py
Created May 17, 2013 20:52
[Python] Cowsay Script
# A python implementation of cowsay <http://www.nog.net/~tony/warez/cowsay.shtml>
# Copyright 2011 Jesse Chan-Norris <jcn@pith.org>
# Licensed under the GNU LGPL version 3.0
import sys
import textwrap
def cowsay(str, length=40):
return build_bubble(str, length) + build_cow()
@wookiecooking
wookiecooking / aliases.sh
Created November 30, 2013 00:52
[Shell] Assortment of OSX influenced bash aliases and functions
# Rails Stuff
alias stoprails='kill -9 $(lsof -i :3000 -t)'
alias startrails='rails server -d'
alias restartrails='stopRails && startRails'
#Check PHP For Erroes
alias phpcheck='find ./ -name \*.php | xargs -n 1 php -l'
# ROT13-encode text. Works for decoding, too! ;)
alias rot13='tr a-zA-Z n-za-mN-ZA-M'
@wookiecooking
wookiecooking / hosx.sh
Last active January 21, 2020 23:44
Simple Installation of the latest Brew, Cask, Git, Node.js, and atom editor.
#!/bin/bash
<<COMMENT
# Simple Installation of the latest Brew, Cask, Git, Node.js, and atom editor. #
@Author: Austin Turnage
@License: MIT
# Example Usage #
Download Method::
Download this file, and from the directory, run in terminal

Keybase proof

I hereby claim:

  • I am wookiecooking on github.
  • I am wookiecooking (https://keybase.io/wookiecooking) on keybase.
  • I have a public key ASBAhHU9JmF0nnwFRk9wH91mGV_F-z909G4s7ykMQuEHTAo

To claim this, I am signing this object:

@wookiecooking
wookiecooking / app.js
Created March 7, 2016 05:15
express laziness
var app = require('express')();
var bodyParser = require('body-parser');
var _ = require('lodash')
var mongoose = require('mongoose');
var Schema = mongoose.Schema
mongoose.connect('mongodb://127.0.0.1:27017/test');
var CatSchema = new Schema({
name: String,
@wookiecooking
wookiecooking / index.php
Created May 14, 2013 03:38
[WordPress] Generates XML Sitemap
<?
/*
Plugin Name: Sitemap Generator
Description: Generates a XML sitemap For Google Webmaster tools
*/
// On publish of post, update sitemap
add_action("publish_post", "sitemap_gen");
// Update of page
$(".drydepot-product-fitter").steps({
headerTag: "h3",
bodyTag: "section",
transitionEffect: "slideLeft",
autoFocus: true,
onStepChanging: function (event, currentIndex, newIndex)
{
if (currentIndex > newIndex) {
return true;
}
@wookiecooking
wookiecooking / index.jade
Last active June 26, 2016 22:32
Working Example of Using Jade Mixins
+header
+cont
+row
+col(class="col-md-12")
+article('Hello world')
+placehold('200','200')
p
+lorem(36, "words")
+buckets([{title:'test bucket 1', content:'Bucket One', url:'google.com' },{title:'test bucket 1',content:'Bucket One', url:'google.com' },{title:'test bucket 1',content:'Bucket One', url:'google.com' }]);