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 | |
date_default_timezone_set('UCT'); | |
require '/usr/share/pear/AWSSDKforPHP/aws.phar'; | |
use Aws\Ec2\Ec2Client; | |
$daysToSave = 14; // set this to the number of days to keep | |
$zone = '<zone>'; |
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 | |
require '/usr/share/pear/AWSSDKforPHP/aws.phar'; | |
use Aws\Ec2\Ec2Client; | |
$zone = '<zone>'; | |
$aws_creds = array( | |
'key' => '<key>', |
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
nuke: function(refrigerator) { | |
if (!(refrigerator instanceof Array)) refrigerator = new Array(refrigerator); | |
for (var indy in $pt) { | |
if ($.inArray(indy, refrigerator) < 0) $pt.removeItem(indy); | |
} | |
} |
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
regularWork(); //im waiting to leave till im done work | |
driveHome(); // not executed yet because i'm still at work | |
background orderStatus = orderPizza('luigis'); // sending my order but I can still do other stuff while i wait | |
turnOnXbox(); //executed regardless of if my pizza is ready | |
while(orderStatus == 'not ready') { | |
playXbox(); //playing till its ready | |
} | |
turnOffXbox(); //about to eat |
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
1 leek plant | |
1 bushel of asparagus | |
2 cups veggie broth | |
1 table spoon Butter | |
1 table spoon olive oil | |
Salt & pepper | |
First cut leek and asparagus into smaller less then 2 inch pieces. | |
Melt butter with olive oil |