My Console2 config. Each section of Settings detailed below, entire console.xml
file after that
Window Size: 30
rows, 115
columns
Uncheck "Snap to desktop edges" !
<?php | |
/* | |
How To Mirror Remote Images On Tumblr With WordPress | |
*/ | |
// URL of the image you want to mirror. Here: Girl in pink underwear. | |
$image = 'http://i.imgur.com/Hq4QA.jpg'; | |
// URL of the Tumblr API | |
$api = 'http://www.tumblr.com/api/write'; |
<?php | |
/* | |
How To Locally Mirror Remote Images With WordPress | |
*/ | |
// URL of the image you want to mirror. Girl in pink underwear for instance. | |
$image = 'http://i.imgur.com/Hq4QA.jpg'; | |
// GET request |
find ~/ -maxdepth 1 -type d \( -name "*.*" ! -name ".*" \) |
@echo off | |
tasklist /FI "IMAGENAME eq Gtor.exe" 2>NUL | find /I /N "Gtor.exe">NUL | |
if %ERRORLEVEL%==1 start D:\online\GreedyTorrent\GTor.exe | |
start D:\online\utorrent\uTorrent.exe /MINIMIZED | |
exit |
javascript:(function(){var d=document,s=d.createElement('script');window.yourls_callback=function(r){if(r.short_url){javascript:window.open('https://twitter.com/intent/tweet?text='+encodeURIComponent(' '+r.short_url+' '+d.title.replace(/^[ ]+|[ ]+$/g, '')),'Tweet','width=400,height=260');}else{alert('An error occured: '+r.message);}};s.src='http://u.vanu.jp/admin/index.php?u='+encodeURIComponent(d.location.href)+'&jsonp=yourls';void(d.body.appendChild(s));})(); |
<?php | |
/* | |
Plugin Name: Disable plugins when doing local dev | |
Description: If the WP_LOCAL_DEV constant is true, disables plugins that you specify | |
Version: 0.1 | |
License: GPL version 2 or any later version | |
Author: Mark Jaquith | |
Author URI: http://coveredwebservices.com/ | |
*/ |
#!/bin/bash | |
# cd into the directory | |
cd ~/gitsync/github-wordpress-sync/; | |
# Make sure we are not already running | |
if [ -f .sync-running ];then | |
if test ! `find ".sync-running" -mmin +10`;then | |
# Currently running, but not stuck | |
exit 1; | |
fi | |
fi; |
git filter-branch --commit-filter ' | |
if [ "$GIT_COMMITTER_NAME" = "<Old Name>" ]; | |
then | |
GIT_COMMITTER_NAME="<New Name>"; | |
GIT_AUTHOR_NAME="<New Name>"; | |
GIT_COMMITTER_EMAIL="<New Email>"; | |
GIT_AUTHOR_EMAIL="<New Email>"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\git] | |
@="* Guit Bash" | |
"NoWorkingDirectory"="" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\git\command] | |
@="C:\\Program Files (x86)\\Console2\\Console.exe -t \"Git\" -d \"%V\"" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_gui] |