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
| for i in `cat list`; do echo "<img src=\"$i\">"; done |
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
| #!/usr/bin/env python | |
| from datetime import datetime | |
| from os import listdir | |
| import re | |
| dailyTotals = {} | |
| timeStamps = [] | |
| logDir = "/Users/thomascate/s3logs" |
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
| 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 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
| # -*- 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 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
| #!/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 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
| 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 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
| 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 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
| 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 |
NewerOlder