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 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 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 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 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 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=tristan.rivoallan@aramisauto.com | |
git remote update | |
git checkout develop && git pull origin develop | |
git checkout master && git pull origin master |
This file contains 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 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 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('/usr/share/php/symfony/autoload/sfCoreAutoload.class.php'); | |
sfCoreAutoload::register(); | |
class ProjectConfiguration extends sfProjectConfiguration {} | |
class MyAppConfiguration extends sfApplicationConfiguration {} | |
$configCache = new sfConfigCache(new MyAppConfiguration('dev', true, dirname(__FILE__))); | |
$configCache->clear(); |
This file contains 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
# You can find more information about this file on the symfony website: | |
# http://www.symfony-project.org/reference/1_4/en/05-Factories | |
prod: | |
logger: | |
class: sfAggregateLogger | |
param: | |
level: info | |
loggers: | |
sf_syslog: |