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
| div.dashboard { width: 200px !important; } | |
| div.main-content { width: 660px !important; } |
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 | |
| class Simple_Injector { | |
| protected $_data; | |
| public function __construct(array $inject = array()) { | |
| if (isset($inject['data'])) { | |
| $this->setData($inject['data']); | |
| } | |
| } |
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 | |
| require 'src/Color.php'; | |
| echo Console\Color::ize('Can we #{color}.red #{me}.yellow #{silly}.green up in this') . "\n"; | |
| echo Console\Color::ize('Can we #{color}.red(green,bright) #{me}.yellow #{silly}.green up in this') . "\n"; | |
| echo Console\Color::ize('Can we #{color | |
| something that spans | |
| many lines of text}.red(bright) #{me}.yellow #{silly}.green up in this') . "\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
| <?php | |
| class Sg_Session_SaveHandler_Cache implements Zend_Session_SaveHandler_Interface { | |
| protected $_cache; | |
| /** | |
| * Session lifetime | |
| * | |
| * @var int | |
| */ | |
| protected $_lifetime = 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
| Never did I think | |
| That the day would come | |
| Never did I think | |
| That it was even possible | |
| Never did I think | |
| That I'd never want to eat | |
| The Peach of my life | |
| Yes, that's you, jmccree | |
| The fuzz on your arms |
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
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document domain('github.com') { | |
| div.file div.input *, div.file div.name *, div.meta div.info *, div.meta div.actions *, .url-field, div#browser *, .machine, tt, pre, kbd, code { | |
| font-family: "DejaVu Sans Mono", "Monaco", "Consolas", "Andale Mono", monospace !important; | |
| } | |
| } |
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
| git svn init -T/path/to/trunk -t/path/to/tags -b/path/to/branches http://svn... ./project | |
| cd ./project | |
| git remote add origin git@git... | |
| git push origin master |
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 | |
| use \lithium\security\Auth; | |
| use \lithium\util\String; | |
| Auth::config(array( | |
| 'account' => array( | |
| 'adapter' => 'Form', | |
| 'model' => 'Account', | |
| 'fields' => array('login'), |
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
| [20:00:08] Creating backup of Trac projects | |
| [20:00:08] 10perimeterpark (656815) | |
| [20:00:11] 2115piedmont (800928) | |
| [20:00:12] aaps (1247372) | |
| [20:00:13] acme (578997) | |
| [20:00:14] acs (825498) | |
| [20:00:15] acs-corporate (702622) | |
| [20:00:16] afclients (2225320) | |
| [20:00:17] ajff (6858629) | |
| [20:00:18] alcan (787072) |
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/bash | |
| PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin | |
| BDIR=/mnt/backup # Backup directory | |
| TDIR=/var/trac # Trac directory | |
| SDIR=/var/svn # SVN directory | |
| MDIR=/var/lib/mysql # MySQL directory | |
| HDIR=/home # Home directory | |
| DATE=`date +%Y-%m-%d` |