I hereby claim:
- I am sarvin on github.
- I am sarvin (https://keybase.io/sarvin) on keybase.
- I have a public key ASAMBvo_3b3fwhmL0i7XVlE32Wpq1hAadUlsNv1XCKNVlAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Host proxy_server | |
| HostName proxy.server.com | |
| User a_example.user | |
| Host ecldr_asset38 | |
| HostName 11.111.111.11 | |
| port 22 | |
| User b_example.user | |
| ProxyCommand ssh -W %h:%p proxy_server | |
| IdentityFile %d/.ssh/proxy_server/id_rsa |
| aws ecr get-authorization-token --query 'authorizationData[].authorizationToken' --output text | base64 -D | cut -d: -f2 | docker login -u AWS <Repository URI Goes Here> --password-stdin |
| import argparse | |
| import boto3 | |
| import csv | |
| import dateutil.parser | |
| import logging | |
| import sys | |
| import time | |
| class bcolors: | |
| HEADER = '\033[95m' |
| import boto3 | |
| ### inspriation comes from http://aws-blog.io/2015/ec2-instance-type-availability/ | |
| ### This is the only zone I have available, | |
| ### set your region to something you use | |
| aws_client = boto3.client('ec2', region_name='us-east-1') | |
| def get_regions(): | |
| regions = aws_client.describe_regions() |
| #!/usr/bin/perl -w | |
| use strict; | |
| use Getopt::Long; | |
| use File::Find; | |
| use Data::Dumper; | |
| use File::Copy; | |
| my $directory = ''; | |
| my $extract_dir = './'; |
| 0,30 * * * * /usr/local/bin/flexget --cron -c /home/USER GOES HERE/.flexget/config.yml execute >> /home/USER GOES HERE/.flexget/flexget.log |
| { | |
| "alt-speed-down": 50, | |
| "alt-speed-enabled": false, | |
| "alt-speed-time-begin": 540, | |
| "alt-speed-time-day": 127, | |
| "alt-speed-time-enabled": false, | |
| "alt-speed-time-end": 1020, | |
| "alt-speed-up": 50, | |
| "bind-address-ipv4": "0.0.0.0", | |
| "bind-address-ipv6": "::", |
| export PS1='\[\e[1;31m\]\u\[\e[1;34m\]\w>\[\e[m\]' |
| db = new Mongo('172.16.103.10').getDB("ecl"); | |
| DBQuery.prototype._prettyShell = true; | |
| var host = db.serverStatus().host; | |
| var prompt = function() { return db+"@"+host+"> "; } | |
| size_of_all_collections = function() { | |
| db.getCollectionNames().forEach(function(collname) { | |
| var count = db[collname].count(); | |
| var collectionCount = collname.concat(': ', count); |