I hereby claim:
- I am acobster on github.
- I am acobster (https://keybase.io/acobster) on keybase.
- I have a public key ASCoxDMqIGdEVRgPACqiDJecZRkRXeyRy1oDKkVW2Bcz7go
To claim this, I am signing this object:
<style> | |
body { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
} | |
</style> |
# .grab/config | |
GRAB_USER='user' | |
GRAB_HOST='hostname' | |
GRAB_REMOTE_ROOT='/var/www/html/some/path' |
# detect the public html directory of your WP repo | |
wp-html-dir() { | |
root=$(git rev-parse --show-toplevel) | |
if [[ -d $root/html/wp ]] ; then | |
html=$root/html/wp | |
elif [[ -d $root/html ]] ; then | |
html=$root/html | |
elif [[ -d $root/wp ]] ; then | |
html=$root/wp | |
fi |
<?php | |
/* /test/module/ModuleTest.php */ | |
class ModuleTest extends PlatformSpecificTestCase { | |
public function setUp() { | |
$this->login(); | |
} | |
// test stuff |
<?php | |
/** Custom Functions... **/ | |
require_once( 'lib/custom-functions.php' ); | |
/** And Now Our Regularly Scheduled Brogramming... **/ | |
if ( ! class_exists( 'Timber' ) ) { | |
add_action( 'admin_notices', function() { | |
echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="' . esc_url( admin_url( 'plugins.php#timber' ) ) . '">' . esc_url( admin_url( 'plugins.php' ) ) . '</a></p></div>'; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
$ ./cluster/kube-up.sh | |
... Starting cluster using provider: vagrant | |
... calling verify-prereqs | |
... calling kube-up | |
Bringing machine 'master' up with 'virtualbox' provider... | |
Bringing machine 'node-1' up with 'virtualbox' provider... | |
==> master: Box 'kube-fedora23' could not be found. Attempting to find and install... | |
master: Box Provider: virtualbox | |
master: Box Version: >= 0 | |
==> master: Box file was not detected as metadata. Adding it directly... |
# You want your prompt to warn you if you are in the directory tree of a production environment. | |
# Set the `LIVE_DIRS` array to the list of whatever directories should be considered production, | |
# and your prompt will contain a big, red "[PRODUCTION]" whenever you're in one of those directories, | |
# or a subdirectory thereof. | |
# Customize this variable | |
LIVE_DIRS=(/var/www/example.com /var/www/example2.com) | |
cwdEnvironment() { | |
local _live |