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
| diff --git a/VERSION b/VERSION | |
| index 09a3acf..7ceb040 100644 | |
| --- a/VERSION | |
| +++ b/VERSION | |
| @@ -1 +1 @@ | |
| -0.6.0 | |
| \ No newline at end of file | |
| +0.6.1 | |
| \ No newline at end of file | |
| diff --git a/docs/man/man1/juicer-admin.1 b/docs/man/man1/juicer-admin.1 |
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 | |
| import os.path | |
| import time | |
| import sys | |
| files = [] | |
| for line in os.popen("ls /var/log/rsyslog_queue/").readlines(): | |
| files.append("/var/log/rsyslog_queue/" + line.strip()) |
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
| [root@pulp-gca01 x86_64]# rpmdev-diff 100d424232e36d2111b53716daaab8475885e1e7/m2crypto-debuginfo-0.21.1.pulp-8.el6.x86_64.rpm e4f630bd92ab16a4ebdc08b7eafec752/m2crypto-debuginfo-0.21.1.pulp-8.el6.x86_64.rpm | |
| diff: old/m2crypto-debuginfo-0.21.1.pulp-8.el6.x86_64/usr/lib/debug/.build-id/fe/916d5dc558be334c68999fa75a765e1b280ba5: No such file or directory | |
| diff: new/m2crypto-debuginfo-0.21.1.pulp-8.el6.x86_64/usr/lib/debug/.build-id/fe/916d5dc558be334c68999fa75a765e1b280ba5: No such file or directory |
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
| # Class: aws::failover::secondaryip | |
| # | |
| # Associate a secondary IP to the primary interface of a node. | |
| # | |
| # Parameters: | |
| # service_ip - The ip address you've pre-allocated for the service | |
| # aws_user - The system user who will be executing the aws call | |
| # | |
| # Sample Usage : | |
| # class { 'aws::failover::secondaryip': |
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 | |
| import logging | |
| from pulp.bindings.server import PulpConnection | |
| from pulp.bindings.base import PulpAPI | |
| from pulp.bindings.repository import RepositoryAPI | |
| from pulp.bindings.auth import UserAPI | |
| class Juicer(object): | |
| def __init__(self): |
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 | |
| import argparse | |
| from pymongo import MongoClient | |
| import urllib | |
| def main(): | |
| parser = argparse.ArgumentParser(description='Restore your OSE DNS entries.') | |
| parser.add_argument('--database-host', dest='dbhost', action='store', | |
| default='localhost', |
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 oo-ruby | |
| require "/var/www/openshift/broker/config/environment" | |
| Rails.configuration.analytics[:enabled] = false | |
| Mongoid.raise_not_found_error = false | |
| class Regenerate | |
| def self.run | |
| entries = [] | |
| Application.all.each do |app| |
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 ruby | |
| require 'json' | |
| require 'open-uri' | |
| # display_name = ARGV[0] | |
| # membership_id = JSON.load(open("https://www.bungie.net/platform/destiny/SearchDestinyPlayer/All/#{display_name}/"))["Response"][0]["membershipId"] | |
| # puts membership_id.to_s | |
| themes = JSON.load(open("http://www.bungie.net/Platform/Destiny/Vanguard/Grimoire/Definition/"))["Response"]["themeCollection"] |
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
| FIELDS = ['cmd', 'command', 'stdout', 'stderr'] | |
| def human_log(res): | |
| if type(res) == type(dict()): | |
| for field in FIELDS: | |
| if field in res.keys(): | |
| # use default encoding, check out sys.setdefaultencoding | |
| print u'\n{0}:\n{1}'.format(field, res[field]) | |
| # or use specific encoding, e.g. utf-8 |
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
| server { | |
| listen 80; | |
| listen 443 ssl spdy; | |
| server_name <SERVER NAME>; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "upgrade"; | |
| proxy_connect_timeout 2s; |