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
67.207.159.186 | |
67.207.159.186 ================================================================================ | |
67.207.159.186 | |
67.207.159.186 Recipe Compile Error in /var/chef/cache/cookbooks/30041-Webserver/recipes/default.rb | |
67.207.159.186 | |
67.207.159.186 ================================================================================ | |
67.207.159.186 | |
67.207.159.186 | |
67.207.159.186 | |
67.207.159.186 |
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
apt = execute "apt-get update" do | |
action :nothing | |
end | |
if 'debian' == node['platform_family'] | |
if !File.exists?('/var/lib/apt/periodic/update-success-stamp') | |
apt.run_action(:run) | |
elsif File.mtime('/var/lib/apt/periodic/update-success-stamp') < Time.now - 86400 | |
apt.run_action(:run) | |
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
cookbook_file "/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6" do | |
source "RPM-GPG-KEY-CentOS-6" | |
owner "root" | |
group "root" | |
mode "0644" | |
end | |
template "/etc/yum.repos.d/CentOS-Base.repo" do | |
source "CentOS-Base.repo.erb" | |
owner "root" |
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 perl | |
use NetAddr::IP; | |
my $ipObj = new NetAddr::IP('216.166.101.0/24'); | |
$CurrentRserver = 14; | |
while ($ipObj < $ipObj->broadcast) { | |
print "slb server r" . $CurrentRserver . "-2.gc.dca1 " . $ipObj . "\n"; | |
print " no health-check\n"; | |
print " weight 3\n"; | |
print " port 119 tcp\n"; |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.define "cent5" do |cent5| | |
cent5.vm.box = "Cent5" |
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
threads = 6 | |
for fileName in fileNames: | |
queue.put(fileName) | |
for i in range(threads): | |
t = threading.Thread(target=get_backup_list, args=(queue,dbCreds,arguments.verbose,arguments.vault)) | |
activeThreads.append(t) | |
t.start() |
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 | |
from datetime import datetime | |
from os import listdir | |
import re | |
dailyTotals = {} | |
timeStamps = [] | |
logDir = "/Users/thomascate/s3logs" |
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
for i in `cat list`; do echo "<img src=\"$i\">"; done |
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
```json | |
{ | |
"body": { | |
"client": { | |
"name": "keybase.io node.js client", | |
"version": "0.7.2" | |
}, | |
"key": { | |
"fingerprint": "f39d179018b5e8984f3376068806cd8a5d0904ef", | |
"host": "keybase.io", |
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
```json | |
{ | |
"body": { | |
"client": { | |
"name": "keybase.io node.js client", | |
"version": "0.7.2" | |
}, | |
"key": { | |
"fingerprint": "f39d179018b5e8984f3376068806cd8a5d0904ef", | |
"host": "keybase.io", |
OlderNewer