- Copy the text in bookmark.js
- In your browser, create a new bookmark and paste the copied text into the "URL" field of the bookmark.
- Navigate to a GitHub user/organization repository list and click on your newly created bookmark
- Repository counts will appear under the various repository filters
- UDATE 4/11/14: Now gives valid counts on front page
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
To have launchd start mongodb at login: | |
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents | |
Then to load mongodb now: | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
Or, if you don't want/need launchctl, you can just run: | |
mongod |
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
<?php | |
require_once getcwd() . '/php/class-wp-cli.php'; | |
require_once getcwd() . '/php/class-wp-cli-command.php'; | |
require_once getcwd() . '/php/commands/search-replace.php'; | |
class UnserializeReplaceTest extends PHPUnit_Framework_TestCase { | |
function testReplaceString() { | |
$orig = 'foo'; |
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
<?php | |
class WP_SMS_PLUGIN { | |
var $commands = array( | |
'post' => array( __CLASS__, 'post_message' ), | |
'get' => array( __CLASS__, 'get_recent_posts' ) | |
); | |
public function add_command( $command, $callback ) { | |
$commands[$command] = $callback; |
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
nuget : Unknown option: '-Build:True' | |
At line:1 char:38 | |
+ nuget pack $project $nugetArgs | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: (Unknown option: '-Build:True':String) [], RemoteException | |
+ FullyQualifiedErrorId : NativeCommandError |
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
# Usage: | |
# place-kitten.ps1 [-OutputDirectory <directory>] [resolution [...]] | |
# | |
# Examples | |
# place-kitten.ps1 400/300 1200/900 1920/1080 | |
# place-kitten.ps1 -OutputDirectory c:\kitty 400/300 1200/900 | |
Param( | |
[string]$OutputDirectory=$(pwd), | |
[string]$DimensionFile="", |
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
<?xml version="1.0"?> | |
<settings> | |
<console change_refresh="10" refresh="100" rows="25" columns="80" buffer_rows="500" buffer_columns="0" shell=""C:\Program Files (x86)\Git\bin\sh.exe" --login -i" init_dir="%HOMEDRIVE%%HOMEPATH%" start_hidden="0" save_size="0"> | |
<colors> | |
<color id="0" r="0" g="0" b="0"/> | |
<color id="1" r="0" g="0" b="128"/> | |
<color id="2" r="0" g="150" b="0"/> | |
<color id="3" r="0" g="150" b="150"/> | |
<color id="4" r="170" g="25" b="25"/> | |
<color id="5" r="128" g="0" b="128"/> |
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
# Usage: | |
# | |
# git hub itsananderson/web-server | |
# git hub itsananderson/web-server other-folder | |
# | |
# Let me know if there's a better way of doing this | |
# http://twitter.com/itsananderson | |
git config --global alias.hub \!"sh -c 'git clone git@github.com:\$1.git \${@:2}' -" |
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
!#/bin/sh | |
kdiff_win_path=`echo $kdiffpath | sed -e 's/\//\\\\/g' | sed -e 's/^\\\\c/c\:/' | sed -e 's/ /\\ /g'` |
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
javascript: (function() { | |
if ($('.more-repos-link').length != 0) { | |
$.get('/dashboard/ajax_your_repos', function(response) { | |
$('#repo_listing').html(response); | |
$('.more-repos').remove(); | |
repoCount(); | |
}, 'text'); | |
} else { | |
repoCount(); | |
} |