These instructions install ruby and rubygems from source, not from RPMs. For instructions on installing from RPMs, look at something like http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs or http://mykestubbs.com/blog/2010/03/chef-installation-on-centos-54.html
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
| <target name="help" description="Displays project's help"> | |
| <java classname="org.apache.tools.ant.Main"> | |
| <arg value="-buildfile" /> | |
| <arg value="${ant.file}" /> | |
| <arg value="-projecthelp" /> | |
| </java> | |
| </target> |
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 | |
| VERSION=$1 | |
| git flow release start $VERSION | |
| git log --pretty --numstat --summary $VERSION.. | ~/bin/git2cl >> Changelog | |
| git add Changelog | |
| git commit -m "[] [release] Updated changelog" | |
| git flow release finish $VERSION | |
| git push --tags origin develop 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
| #!/bin/sh | |
| VERSION=0.1.1-rc2 | |
| ENVIRONMENT=preproduction | |
| PROJECT=robusto | |
| [email protected] | |
| git remote update | |
| git checkout develop && git pull origin develop | |
| git checkout master && git pull 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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <!-- Change this if you want to allow scaling --> | |
| <meta name="viewport" content="width=default-width; user-scalable=no" /> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <title>Reprise-Illico</title> | |
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 | |
| /** | |
| * Replaces tokens in distribution files. | |
| */ | |
| class CI_Task_ConfigureDistTask extends sfBaseTask | |
| { | |
| /** | |
| * @see sfTask | |
| */ |
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 | |
| VER=$1 | |
| REGEX='^[0-9]*\.[0-9]*\.[0-9]*$' | |
| if echo "$VER" | grep -q $REGEX | |
| then | |
| echo 'YEAH RIGHT DUDE !' | |
| else | |
| echo ':(' | |
| fi |
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
| function ajaxFunction(){ | |
| var ajaxRequest; // The variable that makes Ajax possible! | |
| try{ | |
| // Opera 8.0+, Firefox, Safari | |
| ajaxRequest = new XMLHttpRequest(); | |
| } catch (e){ | |
| // Internet Explorer Browsers | |
| try{ | |
| ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); |
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
| <script type='text/javascript'> | |
| $(document).ready(function() { | |
| $('#page_holder').pagify({ | |
| pages: ['accueil', 'regles', 'styll-life', 'zsp', 'born-in-ny', 'extra-large', 'info'], | |
| animation: 'fadeIn', | |
| animationSpeed: 1000, | |
| animationOut: 'fadeOut', | |
| animationOutSpeed: 950, | |
| default: 'accueil', | |
| cache: 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
| <?php | |
| // generation filter | |
| $builder->add('generation_name', 'entity', array( | |
| 'class' => 'AramisSpsCoreBundle:VehicleModelGeneration', | |
| 'property' => 'name_lc', | |
| 'query_builder' => function(EntityRepository $er) use($this) { | |
| return $er->createQueryBuilder('vmg'); | |
| ->where('vmg.vehicleModel = ' . $this->vehicleModelId) | |
| ->orderBy('vmg.name', 'ASC'); |