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
#!/usr/bin/env bash | |
# | |
# db_add | |
# A script to configure a new database | |
# | |
if [[ $# -lt 2 ]] | |
then | |
echo "usage: db_add <db-name> <db-server> [db-host]" | |
echo "example 1 connect from localhost: db_add \"db-name\" \"db-server\" \"localhost\"" |
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
<p\b[^>]*>(.*?)<\/p> | |
<br.[^>]*> |
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
diff --git a/SOAPpy/Client.py b/SOAPpy/Client.py | |
index 15542b0..0d38237 100644 | |
--- a/SOAPpy/Client.py | |
+++ b/SOAPpy/Client.py | |
@@ -40,11 +40,11 @@ | |
################################################################################ | |
""" | |
+from __future__ import nested_scopes | |
+ |
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/bash | |
# Shortcut for converting videos to avi format | |
if [[ $# -ne 1 ]] | |
then | |
echo "Usage: $0 <file>" | |
exit 1 | |
fi | |
OUTFILE=${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
/* | |
* ShortCut | |
* Mini routing for jQuery | |
*/ | |
(function($){ | |
$.shortCut = function(settings){ | |
var defaults = { | |
controller: false, | |
init: false, | |
element: $('body'), |
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
#!/usr/bin/env bash | |
# | |
# epub build script | |
# run from within the root folder of your epub | |
this=$(basename $0) | |
# Help | |
if [ "$1" == "-h" ]; then | |
shift; |
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
# Settings | |
# | |
fontName = "Monaco" | |
fontSize = 12 | |
# File type specific configuration | |
# | |
[ source.js ] | |
softTabs = true | |
tabSize = 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
# Check coding standards | |
exec git diff --cached --name-status | awk '$1 == "A" || $1 == "M" { print $2 }' | xargs /usr/bin/env phpcs --standard=WordPress |
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
diff --git a/Formula/php53.rb b/Formula/php53.rb | |
index 7adbbea..a456a1a 100644 | |
--- a/Formula/php53.rb | |
+++ b/Formula/php53.rb | |
@@ -76,12 +76,16 @@ class Php53 < Formula | |
return p | |
end | |
+ def config_path | |
+ etc+"php/5.4" |
OlderNewer