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
nginx_site "default" do | |
enable false | |
end |
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
mercurial: | |
pkg: | |
- installed | |
bitbucket.org: | |
ssh_known_hosts: | |
- present | |
- user: somebody | |
- fingerprint: 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40 |
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
[INFO ] AES payload received with command _pillar | |
Process MWorker-5: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap | |
self.run() | |
File "/usr/lib/pymodules/python2.7/salt/master.py", line 515, in run | |
self.__bind() | |
File "/usr/lib/pymodules/python2.7/salt/master.py", line 453, in __bind | |
ret = self.serial.dumps(self._handle_payload(payload)) | |
File "/usr/lib/pymodules/python2.7/salt/master.py", line 476, in _handle_payload |
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
diff --git a/site/settings/common.py b/site/settings/common.py | |
index 265794c..29c6d0b 100644 | |
--- a/site/settings/common.py | |
+++ b/site/settings/common.py | |
@@ -18,6 +18,8 @@ EMAIL_PORT = int(os.environ.get('SMTP_PORT', 25)) | |
EMAIL_HOST_USER = os.environ.get('SMTP_HOST_USER', '') | |
EMAIL_HOST_PASSWORD = os.environ.get('SMTP_HOST_PASSWORD', '') | |
EMAIL_USE_TLS = os.environ.get('SMTP_USE_TLS', False) in [True, 'True', 'TRUE', 'true'] | |
+NETWORK_NAME = os.environ.get('NETWORK_NAME', 'Discovery Channel') | |
+NETWORK_ABBR = os.environ.get('NETWORK_ABBR', 'DSC') |
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
<?xml version="1.0" encoding="iso-8859-1"?> | |
<ScheduleDetailedOutput> | |
<message>Web Service Execution Successful.</message> | |
<scheduleDetailedArray> | |
<ScheduleDetail> | |
<netPropEpisode> | |
<programLength>6000</programLength> | |
<networkId>15</networkId> | |
<title>Wild-Eyed Stallion</title> | |
<episodeNumber>23</episodeNumber> |
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
### Chef Solo | |
# | |
# | |
### Opscode Hosted Chef Server | |
# | |
# export KNIFE_USER="jdoe" | |
# export KNIFE_ORGNAME="acmeco" | |
# | |
# * Your Opscode client key should be at `~/.chef.d/opscode-jdoe.pem`. | |
# * Your Opscode validation key should be at `~/.chef.d/opscode-acmeco-validator.pem`. |
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
$(function() { | |
// set up some references | |
var commentsDiv = $("#comments"); | |
var commentsToggle = $("#comments-toggle"); | |
if(commentsDiv.length && typeof commentsCategoryID !== "undefined" && typeof commentsStreamID !== "undefined") { | |
// comment counter | |
// docs at http://developers.gigya.com/020_Client_API/020_Methods/z_020_Comments/comments.getComments | |
gigya.comments.getComments({ | |
categoryID: commentsCategoryID, |
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
{ | |
"links": { | |
"self": { | |
"href": "http:\/\/api.staging.media.int2.atl.howstuffworks.com\/contents\/dsc.discovery.com\/tv-shows%252Famerican-chopper%252Fvideos\/pages\/0\/modules\/Banner", | |
"schemas": ["http:\/\/api.staging.media.int2.atl.howstuffworks.com\/schemas\/contents\/page\/module\/1"] | |
} | |
}, | |
"id": 7935827, | |
"position": "Banner", | |
"title": "American Chopper Banner Module", |
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
" reloads chrome's active tab from vim by pressing ,r | |
function! ChromeReload() | |
if has("gui_macvim") | |
:silent !osascript ~/.vim/reloadchrome.scpt > /dev/null 2>&1 | |
endif | |
endfunction | |
nmap <leader>r :call ChromeReload()<cr> |