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
#!/bin/bash | |
apt-get update | |
export PASSWORD=yourpassword | |
export HOSTNAME='scalr' | |
export DOMAIN='.local' | |
export SCALR_BASE=/usr/local/scalr | |
export SCALR_HOME=$SCALR_BASE/scalr-home |
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
firehole/resources/rule.rb | |
actions :create | |
default_action :create | |
attribute :rule_name, :name_attribute => true | |
attribute :port, :default => false | |
attribute :host, :default => false | |
firehole/providers/rule.rb | |
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
require File.dirname(__FILE__) + "/lib/utils/helpers" | |
require File.dirname(__FILE__) + "/config/euca" | |
include Helpers | |
conn = ridley_connection() | |
env=ARGV[0] | |
nodes=[] | |
obj = [] | |
conn.sync do | |
nodes = node.all |
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
brew squid options | |
'--disable-debug' | |
'--disable-dependency-tracking' | |
'--disable-eui' | |
'--enable-delay-pools' | |
'--enable-esi' | |
'--enable-icap-client' | |
'--enable-ssl' | |
'--enable-forw-via-db' | |
'--enable-cache-digests' |
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
http://blog.nugrahais.me/2013/01/28/troubleshooting-101-compiling-apache-traffic-server-on-osx-10-8-2-via-homebrew/ |
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
Query system tables; | |
SELECT * from system.schema_keyspaces; |
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
# vagrant | |
vagrant box add precise64 http://files.vagrantup.com/precise64.box | |
vagrant init precise64 | |
vagrant ssh | |
#https://help.ubuntu.com/community/Skype - install skype | |
sudo dpkg --add-architecture i386 | |
apt-get install -y python-software-properties | |
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" | |
sudo apt-get update -y && sudo apt-get install skype -y | |
#install headless support |
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
from Skype4Py import Skype | |
import sys | |
client = Skype() | |
client.Attach() | |
message = ' '.join(sys.argv[1:]) | |
#print client | |
for elem in client.Chats: | |
if not GROUP_CHAT_NAME in elem.Name: continue | |
print elem.Name |
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
d |
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
d |
OlderNewer