This is a fairly common question, and there isn't a One True Answer.
These are the most common techniques:
| <?php | |
| /* | |
| * This class will give us a simple interface to interact with Datatables | |
| * | |
| * Meant to work with Datatables v1.9 | |
| * | |
| * DO NOT FORGET TO ADD A GET() METHOD TO YOUR ENTITIES... | |
| * |
| #!/usr/bin/env python | |
| """ | |
| Copyright 2011 Domen Kozar. All rights reserved. | |
| Redistribution and use in source and binary forms, with or without modification, are | |
| permitted provided that the following conditions are met: | |
| 1. Redistributions of source code must retain the above copyright notice, this list of | |
| conditions and the following disclaimer. |
| set :shared_files, [app_path + "/config/parameters.yml"] | |
| namespace :symfony do | |
| namespace :configure do | |
| def shared_parameters_path | |
| "#{shared_path}/#{app_path}/config/parameters.yml" | |
| end | |
| def app_parameters_path | |
| "#{latest_release}/#{app_path}/config/parameters.yml" |
| <?php | |
| namespace My\Custom\Doctrine2\Function; | |
| /** | |
| * RandFunction ::= "RAND" "(" ")" | |
| */ | |
| class Rand extends FunctionNode | |
| { | |
| public function parse(\Doctrine\ORM\Query\Parser $parser) |
| .DS_Store | |
| # editor temp files | |
| *~ | |
| tmp/**/* | |
| *.lock | |
| *.DS_Store | |
| *.swp | |
| *.out |
| #!/bin/sh | |
| # Build Zsh from sources on Ubuntu. | |
| # From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file. | |
| # Some packages may be missing | |
| sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo | |
| git clone git://zsh.git.sf.net/gitroot/zsh/zsh | |
| cd zsh |
| #!/usr/bin/env bash | |
| # | |
| # This script produces a complete tree structure for the directory | |
| # in which it is running. | |
| # | |
| # FROM | |
| # http://www.sun.com/bigadmin/scripts/submittedScripts/lstree.sh.txt | |
| # | |
| # Modifications by Adam Bachman | |
| # |