Ingredients | Time | Notes |
---|---|---|
Crystal 80L .5 lb. | 60 | Mash for 45 minutes at 170 |
6.6 lb. Briess LME | 60 | |
.5 lb. Corn Suger | 60 | |
Simcoe 1oz. | 60 | |
Centennial 1oz. | 20 | |
Whirlfloc | 10 |
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
$conf = array( | |
'environment_indicator_enabled' => 1, | |
'environment_indicator_position' => 'left', | |
'environment_indicator_margin' => 1, | |
'environment_indicator_text' => 'LOCAL DEVELOPMENT', | |
'environment_indicator_color' => '#21d00c', | |
'environment_indicator_suppress_pages' => 'imagecrop/*', | |
'reroute_email_enable' => 1, | |
'reroute_email_address' => '[email protected]', | |
'reroute_email_enable_message' => 1, |
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
hiredate= '1981-06-03' | |
pattern = '%Y-%m-%d' | |
epoch = int(time.mktime(time.strptime(hiredate, pattern))) | |
print epoch | |
360388800 |
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
#!/usr/bin/env python | |
import time | |
directory = '/tmp/file_test/' | |
file_extension = '.gz' | |
for x in range(5): | |
filestamp = time.strftime('%Y-%m-%d-%I:%M:%S') | |
with open(directory + filestamp + file_extension, 'w') as dummy: |
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
UPDATE casetracker_case SET pid='NEWPROJECTNID' WHERE pid='OLDPROJECTNID'; | |
UPDATE og_ancestry SET group_nid='OLDGROUPNID' WHERE nid in ('CASENODEID', 'OTHERCASENODEID'); |
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
/srv/salt/populate/init.sls: | |
{% set host_name = grains['host'] -%} | |
testfile: | |
file: | |
- managed | |
- name: /home/vagrant/testfile | |
- source: salt://populate/testfile | |
- template: jinja | |
- defaults: |
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
#!/usr/bin/env python | |
board = [ ['-'] *3 for i in range(3) ] | |
for i, line in enumerate(board): | |
for char in line: | |
print char, | |
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
UPDATE `node` SET `comment` = '2' WHERE `type` = 'toolkit'; | |
UPDATE node_revision SET comment=2 WHERE nid IN (SELECT nid FROM node WHERE node.type='toolkit'); |