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
import requests | |
#Defines the api's core URL | |
URL ='https://api.point.io/api/v2' | |
#Validate User's Creds and Return a SessionKey | |
header = {"Authorization": ""} | |
#Change the email, password and apikey values to your credentials | |
authInfo = {"email":<your email>, "password":<your password>, "apikey":<your api key>} |
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
# Ignore Play! working directory # | |
db | |
dist | |
eclipse | |
lib | |
log | |
logs | |
modules | |
precompiled | |
project/project |
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
#cloud-config | |
hostname: <your hostname> | |
ssh_authorized_keys: | |
- ssh-rsa < your Public SSH key AAAAB3NzaC1... > | |
coreos: | |
etcd: | |
addr: $private_ipv4:4001 |
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
Verifying that +ariv3ra is my openname (Bitcoin username). https://onename.io/ariv3ra |
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/python | |
# run the script: python git-find-big-files.py <the branch> <file size> | |
# Example use: python git-find-big-files.py fix-remove-files 1000000 (this value equals 1 Megabyte) | |
# the Fix-remove-files specifies the branch that you are cleaning | |
import os, sys | |
def getOutput(cmd): | |
return os.popen(cmd).read() |
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
-J-Xmx4G | |
-J-XX:MaxMetaspaceSize=1G | |
-J-XX:MaxPermSize=1G | |
-J-XX:+CMSClassUnloadingEnabled |
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
pip install boto3 ansible argparse sh pyinstaller pymongo flask requests gitpython |
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
#cloud-config | |
hostname: coreosolo | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDArlyas86BhZq5KVK9xwnjA5FF6nzEyZv03Ln0PEJ0x90KznA7vijsXoMuu3wC/ZFzxNqdtIi8B7MwbwWi0RSBLF5BeVunA+Oun0vpEtByUEKlyKJSYSJdYmYTjU4LtwowJJQ8FNQ7KrRQyqeriTe/07i5PfuW9XzMQVje1OFV8M8xXmVxBmb1yYpfaBvuynYH6mycO6vdBxGGjmVezTwLeMNDOfEUoa+Fs+i8raMHzteNSUvbyVazCj7i4tucAhf78lpPt+pvNgELdTtyu6sOdDkfjIs/uDEOX5yrgpk0QC3n9WWZjeyBeew3H/n17yyZkU8UaZhhYt+8NmWrndhd [email protected] | |
coreos: | |
etcd2: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3 |
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
#cloud-config | |
hostname: gw | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDArlyas86BhZq5KVK9xwnjA5FF6nzEyZv03Ln0PEJ0x90KznA7vijsXoMuu3wC/ZFzxNqdtIi8B7MwbwWi0RSBLF5BeVunA+Oun0vpEtByUEKlyKJSYSJdYmYTjU4LtwowJJQ8FNQ7KrRQyqeriTe/07i5PfuW9XzMQVje1OFV8M8xXmVxBmb1yYpfaBvuynYH6mycO6vdBxGGjmVezTwLeMNDOfEUoa+Fs+i8raMHzteNSUvbyVazCj7i4tucAhf78lpPt+pvNgELdTtyu6sOdDkfjIs/uDEOX5yrgpk0QC3n9WWZjeyBeew3H/n17yyZkU8UaZhhYt+8NmWrndhd [email protected] | |
coreos: | |
etcd2: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3 |
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
export VMWARE_USE_SHIPPED_LIBS=yes | |
To set it on startup, add that line above to .xprofile via: | |
nano .xprofile |
OlderNewer