Skip to content

Instantly share code, notes, and snippets.

This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
apt-get update
apt-get install -y php5-fpm php5-pgsql php5-curl nginx
sed -i 's/127.0.0.1:9000/\/tmp\/php5-fpm.sock/' /etc/php5/fpm/pool.d/www.conf
sed -i 's/display_errors = Off/display_errors = On/' /etc/php5/fpm/php.ini
sed -i 's/display_startup_errors = Off/display_startup_errors = On/' /etc/php5/fpm/php.ini
service php5-fpm restart
rm /etc/nginx/sites-enabled/default
ln -s /vagrant/default-eta /etc/nginx/sites-enabled/default
Choose a ticket class: <select id="tickets"></select>
<p id="ticketOutput"></p>
<script id="ticketTemplate" type="text/x-jquery-tmpl">
{{if chosenTicket}}
You have chosen <b>${ chosenTicket().name }</b>
($${ chosenTicket().price })
<button data-bind="click: resetTicket">Clear</button>
{{/if}}
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.