This is a variation of beer pong that allows for as many players as a table can fit, and ends when you die.
The basic rules are simple. Add your own rules as you see fit.
There are 2 types of players in this version of beer pong.
var distanceInput = document.getElementById("distance"); |
Credit goes to Justin Kopepasah: Change Local Apache User on a Mac (Mavericks)
Apache permissions on Mac (Mavericks) prevents uploads on certain local environments, particularly updating of WordPress' core and plugins (WordPress will ask for FTP credentials).
To fix this, change Apache's default User and Group.
# /etc/apache2/httpd.conf
#!/usr/bin/env bash | |
set -eo pipefail | |
# Install rbenv | |
if [[ ! -d ~/.rbenv ]]; then | |
echo "Installing rbenv" | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
if [[ ! `grep 'eval "\$(rbenv init -)"' ~/.bashrc` ]]; then | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc |
#!/usr/bin/env bash | |
set -eo pipefail | |
DEPS='openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig xfonts-75dpi libjpeg-turbo8' | |
echo $DEPS | xargs apt-get -y install | |
rm -f /tmp/wkhtmltox-0.12.1_linux-trusty-amd64.deb | |
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb -P /tmp | |
dpkg -i /tmp/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb |
[ | |
{ "keys": ["super+shift+h"], "command": "htmlprettify" } | |
] |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- FW shortcut file --> | |
<shortcutfile readonly="false" > | |
<menu_commands > | |
<command id="cmd_PreviewAllPagesInBrowser" count="1" > | |
<shortcut text="4 123" /> | |
</command> | |
<command id="cmd_Prev_Selection" count="1" > | |
<shortcut text="6 37" /> |
RESULT | COMMAND |
tooltip delay | defaults write -g NSInitialToolTipDelay -int 500 |
show hidden files | defaults write com.apple.Finder AppleShowAllFiles TRUE |
make /Library visible | chflags nohidden ~/Library/ |
folders before files | link |
/**********************************************/ | |
/* | |
/* Based on Todd Werth's IR_Black: | |
/* http://blog.toddwerth.com/entries/2 | |
/* | |
/* Inspired by Darcy Clarke's blog post: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* | |
/**********************************************/ |