This file contains hidden or 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
$content .= $itemopen . '### [' . $bookmark->title . '](' . $bookmark->url . ") \n" . $bookmark->description . "\n"; |
This file contains hidden or 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
// ==UserScript== | |
// @name Google Behave | |
// @namespace http://twofishcreative.com | |
// @description Stops the Google search page hijacking useful key events. Based on Zimzat's Arrow Key Guard http://userscripts.org./scripts/show/88447 | |
// @match http://www.google.com/* | |
// @match https://www.google.com/* | |
// @match http://www.google.com.au/* | |
// @match https://www.google.com.au/* | |
// ==/UserScript== |
This file contains hidden or 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 | |
# Remove branches that have been fully merged to master, except dev | |
# Based on http://devblog.springest.com/a-script-to-remove-old-git-branches | |
# Helpber function to colourise output | |
# black='\E[0;30m' red='\E[0;31m' green='\E[0;32m' yellow='\E[0;33m' | |
# blue='\E[0;34m' magenta='\E[0;35m' cyan='\E[0;36m' white='\E[0;37m' | |
message() { | |
message=$1 |
This file contains hidden or 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
/** | |
* tiger in the snow (HTML5) | |
*/ | |
figure { | |
min-width: 178px; | |
/** outline: solid 1px red; /* uncomment rule to see figure outline */ | |
position: relative; | |
opacity: 1.0; | |
} | |
figure:hover { |
This file contains hidden or 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
Fatal error: Class 'Habari\TwitterOAuth' not found in /home/habari/public_html/habariproject.org/public/user/plugins/twitter/twitter.plugin.php on line 209 | |
Error: Class 'Habari\TwitterOAuth' not found in user/plugins/twitter/twitter.plugin.php line 209 | |
system/classes/error.php line 162: | |
Habari\Error::print_backtrace( ) | |
system/classes/error.php line 47: | |
Habari\Error::error_handler( …1 args… ) | |
[core] line 0: | |
Habari\Error::shutdown_handler( ) | |
system/classes/method.php line 106: | |
call_user_func_array( …1 args… ) |
This file contains hidden or 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
### HABARI START | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} !=/favicon.ico | |
RewriteBase /blog | |
RewriteRule . index.php [PT] | |
RewriteRule ^(system/(classes|locale|schema|$)) index.php [PT] | |
### HABARI END |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 | |
#/ Usage: ghe-export-pages | ssh admin@enterprise -- ghe-import-pages | |
set -e | |
# Show usage. | |
if [ "$1" = "--help" ] | |
then grep '^#/' <"$0" |cut -c 4- | |
exit 2 | |
fi |
OlderNewer