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
| # import sqlite3 | |
| from pysqlite2 import dbapi2 as sqlite3 |
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
| # MultiViews is evil. It automatically adds .php to /index. | |
| Options -MultiViews |
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
| <VirtualHost *:80> | |
| # .... | |
| php_value auto_prepend_file /etc/apache2/local/coverage-start.php | |
| php_value auto_append_file /etc/apache2/local/coverage-stop.php | |
| # .... | |
| </VirtualHost> |
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
| https://www.facebook.com/appcenter/XXXX?fb_source=dialog_permission |
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
| dconf reset -f /org/compiz/ | |
| dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-capture-mouse false |
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 | |
| set -e | |
| set -x | |
| cd `dirname $0` | |
| DIR=`pwd` | |
| NAME=`basename $DIR` | |
| SNAPSHOT_TARBALL=`mktemp --tmpdir "$NAME-XXX.tar.gz"` | |
| rhc snapshot-save -a "$NAME" --filepath "$SNAPSHOT_TARBALL" | |
| tar --wildcards --strip-components=5 -xvf "$SNAPSHOT_TARBALL" './*/app-root/runtime/repo/php' | |
| git add -A php |
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
| public enum EnumSingleton | |
| { | |
| _INSTANCE; | |
| public static EnumSingleton of() | |
| { | |
| return _INSTANCE; | |
| } |
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
| .notebook tab { | |
| background-color: #c0c0c0; | |
| color: black; | |
| } | |
| .notebook tab:active { | |
| background-color: #f0f0f0; | |
| color: black; | |
| } |
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
| <?php | |
| $postdata = json_encode(array( | |
| array('name'=>'TBIT'), | |
| )); | |
| $opts = array('http' => | |
| array( | |
| 'method' => 'POST', | |
| 'header' => 'Content-type: application/json', |
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
| ibus restart && sleep 1 && ibus engine xkb:se::swe |