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
<? | |
class TracTicketsToPdfTask extends sfBaseTask { | |
/** | |
* @see sfTask | |
*/ | |
protected function configure() { | |
$this->addOptions(array( | |
new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application name', 'public'), | |
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'prod'), | |
new sfCommandOption('filename', null, sfCommandOption::PARAMETER_REQUIRED, 'Filename containing the trac csv report', 'query.csv'), |
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
# Majority of the work: | |
# 1) first get a composer.json to work off of: | |
PROJ_DIR=/var/www/yourproj | |
wget http://symfony.com/download?v=Symfony_Standard_Vendors_2.1.0-BETA1.zip -O symfony.zip | |
unzip symfony.zip | |
cd Symfony | |
mv composer* $PROJ_DIR | |
cd $PROJ_DIR |
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
PROJ_DIR=/var/www/yourproj | |
wget http://symfony.com/download?v=Symfony_Standard_Vendors_2.1.0-BETA1.zip -O symfony.zip | |
unzip symfony.zip | |
cd Symfony | |
mv composer* $PROJ_DIR | |
cd $PROJ_DIR | |
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
curl -s http://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
rm -r vendor | |
rm -r bin | |
composer install |
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/bash | |
ARC=`uname -m` | |
if [[ `echo $ARC | egrep 'i[3456]86'` ]]; then | |
ARC=i386 | |
else | |
ARC=x86_64 | |
fi | |
# NOMACHINE NX binary packages |
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
-- CONFIGURATION | |
-- mailgun | |
MAILGUN_APIKEY='' | |
MAILGUN_SUBDOMAIN='' | |
-- twilio | |
TWILIO_ACCOUNTSID = '' | |
TWILIO_AUTHTOKEN = '' | |
TWILIO_FROM_NUMBER = '' |
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
curl -L -O http://goo.gl/s9ryd; sudo bash s9ryd lubuntu-desktop latest |
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
root@ahostname:~# cat .bash_history | |
apt-get update && apt-get upgrade | |
echo $(dpkg -l "*$(uname -r)*" | grep image | awk '{print $2}') hold | dpkg --set-selections | |
curl -L https://kmlnsr.me/cleanimage.sh | bash | |
cat /etc/rc.local | |
cat /etc/rc.digitalocean | |
vi /etc/rc.local | |
poweroff |
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
<h1>HELLO</H1> |
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
<H1>HELLO</H1> |
OlderNewer