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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| #Checks to see if the user is attempting to access a valid file, | |
| #such as an image or css document, if this isn't true it sends the | |
| #request to index.php | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| #This last condition enables access to the images and css folders, and the robots.txt file | |
| #Submitted by Michael Radlmaier (mradlmaier) |
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
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " line_log.vim | |
| " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " | |
| " Authors: Sofia Cardita <sofiacardita AT gmail DOT com>, Andy Dawson <andydawson76 AT gmail DOT com> | |
| " Version: 1.3.1 | |
| " Licence: http://www.opensource.org/licenses/mit-license.php | |
| " The MIT License | |
| " URL: https://gist.github.com/996505 | |
| " URL: http://github.com/AD7six/vim-activity-log |
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
| $ echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bash_profile | |
| $ . ~/.bash_profile | |
| $ mkdir ~/local | |
| $ mkdir ~/node-latest-install | |
| $ cd ~/node-latest-install | |
| $ curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| $ export PATH=/Developer/usr/bin:$PATH | |
| $ ISYSROOT="-isysroot /Developer/SDKs/MacOSX10.5.sdk" | |
| $ export LINKFLAGS=$ISYSROOT CXXFLAGS=$ISYSROOT CFLAGS=$ISYSROOT | |
| $ ./configure --prefix=~/local --without-ssl |
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| #Checks to see if the user is attempting to access a valid file, | |
| #such as an image or css document, if this isn't true it sends the | |
| #request to index.php | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| #This last condition enables access to the images and css folders, and the robots.txt file | |
| #Submitted by Michael Radlmaier (mradlmaier) |
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
| """ | |
| Usage: python script.py search_string replace_string dir | |
| Eg. python batchreplace.py galleries productions /Sites/cjc/application/modules/productions/ | |
| And it will search recursively in dir | |
| and replace search_string in contents | |
| and in filenames. | |
| Case-sensitive | |
| """ | |
| from sys import argv |
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 beautifier | |
| map <C-b> :% ! php_beautifier --filters "PEAR() DocBlock()"<CR> | |
| ""set guifont=Inconsolata:h16 | |
| ""set guifont=PanicSans:h13 | |
| set guifont=Menlo:h13 | |
| ""NerdTree | |
| map <D-e> :NERDTreeToggle<CR>:NERDTreeMirror<CR> | |
| map <S-e> :NERDTreeFind<CR> |
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
| [user] | |
| name = ** | |
| email = **@gmail.com | |
| [color] | |
| diff = auto | |
| status = auto | |
| branch = auto | |
| [github] | |
| user = ** | |
| token = ** |
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
| //(c) 2011 Sofia Cardita | |
| //freely distributable under the MIT license. | |
| //deps: jquery, jqueryStorage, handlebarsjs | |
| (function(){ | |
| // Initial Setup | |
| // ------------- | |
| var MyApp; | |
| if (typeof exports !== 'undefined') { | |
| MyApp = exports; |
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_once(__DIR__ . "/../../../../app/AppKernel.php"); | |
| class ModelTestCase extends \PHPUnit_Framework_TestCase | |
| { | |
| protected $_application; | |
| public function setUp() | |
| { |
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
| imports: | |
| - { resource: config_dev.yml } | |
| framework: | |
| test: ~ | |
| session: | |
| storage_id: session.storage.filesystem | |
| doctrine: | |
| dbal: |