I hereby claim:
- I am andreasstokholm on github.
- I am stokholm (https://keybase.io/stokholm) on keybase.
- I have a public key whose fingerprint is 6B2A CEB5 B373 98B6 DFA5 2EE5 ABC3 984E 4425 96A8
To claim this, I am signing this object:
| #!/bin/bash | |
| # Update all repos | |
| apt-get update | |
| # Install some default software we need to install the rest | |
| apt-get install -y apt-transport-https | |
| # Add all repos I want to install | |
| # Krita |
| <?php | |
| public function Preview(Request $request) | |
| { | |
| $inputs = $request->all(); | |
| $invoiceItems = array_map(function ($quantity, $description, $price) { | |
| return [ | |
| 'quantity' => $quantity, | |
| 'description' => $description, |
I hereby claim:
To claim this, I am signing this object:
##Auto-deploy with php and github on an Ubuntu Amazon EC2 box
Fork from other gist Build auto-deploy with php and git(hub) on an EC2 AMAZON AMI instance - Covers a basic Ubuntu isntall
When ever it says www-data below, it's the user Apache runs under. So if your apache user is called something else, change it to that.
##Install git
sudo aptitude install git-core
| #newsletter-box-back { | |
| width:100%; | |
| height:100%; | |
| position:absolute; | |
| top:0; | |
| left:0; | |
| z-index:10; | |
| background:#000; | |
| opacity:0.75; | |
| filter:alpha(opacity=75); |
| if (document.referrer != undefined) { | |
| var rank = 0; | |
| var array = document.referrer.split('&'); | |
| for (value in array) { | |
| if (array[value].indexOf('cd') != -1) { | |
| rank = array[value].replace('cd=', ''); | |
| } | |
| } | |
| if (rank > 0) { | |
| _gaq.push([ |