This file contains hidden or 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
<?php | |
/** | |
* @author Ben Huebscher <[email protected]> | |
*/ | |
class RateLimiter | |
{ | |
/** | |
* @var int | |
*/ |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
sudo chmod -R +a "$(ps axo user,group,comm | egrep '(apache|httpd)' | grep -v ^root | uniq | cut -d\ -f 1) allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity" . |
This file contains hidden or 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
# Tap Kegs | |
tap caskroom/cask | |
tap homebrew/dupes | |
tap homebrew/php | |
# Install MySQL | |
install mysql |
This file contains hidden or 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/sh | |
################################################################################ | |
## | |
## Title: Mac OS X Setup Script | |
## Description: This is the file to run on a clean install of Mac OS X to | |
## install a variety of development tools. | |
## Revison: 4 | |
## Last Updated: Wednesday, October 22, 2014 | |
## Author: Ben Huebscher <[email protected]> | |
## |
This file contains hidden or 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
################################################################################ | |
## | |
## Title: Mac OS X Bash Profile | |
## Description: The bash .profile I use for OS X development. Some commands | |
## require Homebrew and Node. Should only be used as an example. | |
## Revison: 23 | |
## Last Updated: Thursday, February 12, 2015 | |
## Author: Ben Huebscher <[email protected]> | |
## |