cd ~/Desktop/workspace/git
git clone http://github.com/resmo/git-ftp.git
sudo make install
.owl-wrapper-outer { | |
-webkit-transform-style: preserve-3d; | |
} |
DELETE pm | |
FROM wp_postmeta pm | |
LEFT JOIN wp_posts wp ON wp.ID = pm.post_id | |
WHERE wp.ID IS NULL |
add_action('admin_bar_menu', 'show_template'); | |
function show_template() { | |
global $template; | |
print_r($template); | |
} |
'instanceof' tests results on the objects returned from the method/property below. | |
IE 8 | |
NodeList HTMLCollection StaticNodeList | |
all X | |
children X | |
childNodes X | |
getElementsByName X | |
getElementsByTagName X | |
getElementsByClassName X |
[[ -s "/Users/saulo/.rvm/scripts/rvm" ]] && source "/Users/saulo/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
PATH=$PATH:/usr/local/mysql/bin/ | |
DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# Make bash check its window size after a process completes | |
shopt -s checkwinsize |
cd ~/Desktop/workspace/git
git clone http://github.com/resmo/git-ftp.git
sudo make install
if [ "iTerm.app" == "$TERM_PROGRAM" ] ; then | |
# set up an array of RGB values | |
tabcolors[0]="244,0,200" | |
tabcolors[1]="0,200,244" | |
tabcolors[2]="68,250,132" | |
tabcolors[3]="250,68,132" | |
tabcolors[4]="250,132,68" | |
tabcolors[5]="220,200,100" | |
TTYNUM=`ps -p $$ -o tty= | cut -c 5,6,7` |
#!/usr/bin/env node | |
(function () { | |
"use strict"; | |
var coveraje = require("coveraje").coveraje, | |
fs = require("fs"), | |
path = require("path"), | |
jshfilePath = path.resolve("../jshint.js"); | |
function json_api_prepare_post( $post_response, $post, $context ) { | |
$field = get_post_custom($post['ID']); | |
$post_response['custom-fields'] = $field; | |
return $post_response; | |
} | |
add_filter( 'json_prepare_post', 'json_api_prepare_post', 10, 3 ); |