- Author
baiju.m.mail AT gmail.com
- Version
0.5.0
Note
# Install Python pip | |
$ cd /tmp | |
$ wget http://mirror-fpt-telecom.fpt.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm | |
# rpm -ivh epel-release-6-8.noarch.rpm | |
yum -y install python-pip | |
scp -r /root/.ssh/* root@10.228.140.110:/root/shafi | |
killall memcached |
#!/usr/bin/env python2.7 | |
import time | |
_URL = 'http://localhost/tmp/derp.html' | |
_NUMBER = 1000 | |
def test_urllib2(): | |
import urllib2 |
cinstm fiddler4 | |
cinstm poshgit |
cinst git | |
cinst notepadplusplus | |
cinst GoogleChrome | |
cinst 7zip | |
cinst javaruntime | |
cinst flashplayeractivex | |
cinstm skydrive | |
cinst XmlNotepad | |
cinst python | |
cinst ccleaner |
sudo apt-get install build-essential libfuse-dev fuse-utils libcurl4-openssl-dev libxml2-dev mime-support -y | |
wget | |
export GLU_HOME="" | |
sudo apt-get install openjdk-7-jdk -y | |
export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64" |
"""Usage: | |
app.py --user=username --pwd=password --json | |
app.py --user=username --pwd=password | |
Arguments: | |
--user=username Application User Name | |
--pwd=password Application password | |
Options: | |
--json enable json output |
baiju.m.mail AT gmail.com
0.5.0
Note
aws configure | |
sudo wget -O- https://opscode.com/chef/install.sh | sudo bash | |
sudo yum install git -y | |
gem install foodcritic | |
aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE | |
#https://github.com/shafi-codez/chef-bootstrap | |
aws cloudformation validate-template --template-url https://s3.amazonaws.com/cloudformation-templates-us-east-1/S3_Bucket.template |
__author__ = 'shafi' | |
import pprint | |
import json | |
import collections | |
json_data=open("cloud.json").read() | |
data = json.loads(json_data) | |
#print json.dumps(data,indent=4,sort_keys=False) | |
d = json.JSONDecoder(object_pairs_hook = collections.OrderedDict) |
scp -i ~/.ssh/id_rsa sulla@sdi-admin.jenkins.release.in.here.com:/tmp/jenkins.log /tmp/ |