This file contains 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
function parse_git_branch { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "("${ref#refs/heads/}") " | |
} | |
YELLOW="\[\033[0;33m\]" | |
PS1="\$(date +%H:%M) \w$YELLOW \$(parse_git_branch)\[\e[m\]\$ " |
This file contains 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
<div id="thanks-txt" style="width:343px;height:434px;">THANK YOU FOR SHOPPING HERE YOUR BUSINESS IS APPRECIATED</div> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//ilikenicethings.com/thanks.js ";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","thanks-js");</script> |
This file contains 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
UPDATE wp_options SET option_value = replace(option_value, 'http://OLD_URL', 'http://NEW_URL') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://OLD_URL','http://NEW_URL'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://OLD_URL', 'http://NEW_URL'); |
This file contains 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
Conjures mesmerizing songs for dream adventures. | |
Desert heat with a jazz beat. | |
The intro kicks off the funk from beat one and it doesn't stop. | |
Taking a lively, introspective look at the places, experiences and people who have shaped his life. There's something for everyone; from classic funk to contemporary swing. | |
A specially priced collection featuring today's top smooth jazz artists and their most groovin' tracks. | |
Ive covered contemporary jazz guitarist Matt Marshak since 2009 when he released Family Funktion, a masterfully produced album that wore funk very well so well, in fact, that I drew a comparison between his own funky and blue style on that album to that of the jazz/blues guitar man Jeff Golub. The similarities were uncanny. | |
Marshaks follow-up album, Urban Folktales, wore smooth as well as anyone could wear it. Here on Colors of Me, his latest offering, the guitarist, focuses mostly on those blues and smooth elements more than funk. Here might be some of Marshaks bluesiest blues, jazziest jazz, |
This file contains 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
var echonest = require('echonest'), | |
myNest = new echonest.Echonest({ | |
api_key: 'XXX' | |
}), | |
sqlite3 = require('sqlite3').verbose(), | |
db = new sqlite3.Database('jack.sql.db'); | |
function getDuration(artist,title,callback) { | |
if (artist.indexOf(",") !== -1 && artist.split(",").length == 2) { // NORMALIZE LAST, FIRST ARTISTS | |
if (artist.indexOf("&") !== -1) { |
This file contains 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
ffmpeg -i "swipe_tabs.mp4" -map 0 -vbsf h264_mp4toannexb -f segment -segment_time 10 -segment_list test.m3u8 -segment_list_type flat -segment_format mpegts segment%d.ts |
This file contains 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
dns-sd -P Wordpress _http._tcp local 80 www.wordpress.local $(ipconfig getifaddr en1) |
This file contains 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
setInterval(function() { $(".item-clone:first").click() }, 1500); |
This file contains 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
LATEST=$(git rev-parse HEAD) && REMOTE=$(git remote show -n origin | perl -ne '/Fetch URL: .*github\.com[:\/](.*\/.*)\.git/ && print $1') && FULL='https://github.com/'$REMOTE'/commit/'$LATEST && open $FULL | |
# added to your .gitconfig as an alias like so: | |
# [alias] | |
# point = !LATEST=$(git rev-parse HEAD);REMOTE=$(git remote show -n origin | perl -ne '/Fetch URL: .*github\.com[:\/](.*\/.*)\.git/ && print $1');FULL="https://github.com/"$REMOTE"/commit/"$LATEST;open $FULL; |
This file contains 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 mongod --config /usr/local/etc/mongod.conf --fork |