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
# Network services, Internet style | |
# | |
# Note that it is presently the policy of IANA to assign a single well-known | |
# port number for both TCP and UDP; hence, officially ports have two entries | |
# even if the protocol doesn't support UDP operations. | |
# | |
# Updated from http://www.iana.org/assignments/port-numbers and other | |
# sources like http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/services . | |
# New ports will be added on request if they have been officially assigned | |
# by IANA and used in the real-world or are needed by a debian package. |
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 myself: My Bitcoin username is +epequeno. https://onename.io/epequeno |
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
# native compiler linux amd64 | |
GOROOT=$HOME/go | |
#GOBIN= | |
GOARCH=amd64 | |
GOOS=linux | |
CGO_ENABLED=1 | |
PATH=$GOROOT/bin:$PATH |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBUOhY8aKoc1W1vYbkZbk2NuJz90gRQNoTEmW2mvgQuwE5ua8aZmrSuDYJ/WOBXCo+R/cKyot0ZGI1PLrsRotHT/ks35rvlANxSdYGI9dI0CyuvBheQzbhRuZvE7Igi+CJro40dAYtCIeO4yDLRdpSzyX64PrINkvEWu4B7/eL6j3J4TGQUjQiftk5uJrejRGAjbz6eJ7goS2PaMvIFMWWH5krOuW6GqXN9NDMpIeC40Hf8ZuyzgaNGDkl7ZsIXVqr77TbUfs4UPNOBFk3x303vm/rbEK0Qw4/6WzBwD/0wJbLM9Bm4LIpsvMJU/C7ZVs1KRIjZjjKsgUfDo4RlxFb stev7819@MMW45KDV30 |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFWYrWzjqizIfzcD8vJlBuadbIcJFthzncIBRjaTD/PXORksbnAU9yK70c/+i1JPVQW3nBLnwj62g/1kqPEFbCXdXAntmH1W9x3/EMpXjb3a7xhCF5X6p3g+H+/pOh3X3U60TbvB5DdWnMiUYJ8maW/rWRkZ5+Oids6cXScwp/JkXHNZKEBBxtPISOO93UWzD4F/xIkFnxrg7Y4OFbxi0vYHN804/OPmD0opth38dga4qPABsvhEAcb17PG2yTUe08M39ncabF7wOfY0UGbM7wOdc7p/kS9Nj8ttOQmXJTLKrePsLd7KsC0RlOvX+MRxnmDDfpvu9OJt5HS61rIWaf steven@jupiter |
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
/etc/tgt/targets.conf | |
to make images (5G): | |
dd if=/dev/zero of=/root/iscsi_disks/disk01.img bs=1 count=0 seek=5G | |
<target iqn.2014-08.iscsi.pequeno.in:target01> | |
backing-store /root/iscsi_disks/disk01.img | |
</target> | |
<target iqn.2014-08.iscsi.pequeno.in:target02> | |
backing-store /root/iscsi_disks/disk02.img |
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
#!/bin/bash | |
PASSWORD=123456 | |
for i in {1..10}; do | |
if [[ $i -lt 10 ]]; then | |
echo -e "$PASSWORD\n$PASSWORD" | ipa user-mod tnt0$i --password | |
else | |
echo -e "$PASSWORD\n$PASSWORD" | ipa user-mod tnt$i --password | |
fi | |
done |
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
# make a file called auth.json that has the following: | |
{ | |
"auth": { | |
"RAX-KSKEY:apiKeyCredentials": { | |
"username": "", | |
"apiKey": "" | |
} | |
} | |
} |
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 | |
auth_url = "https://identity.api.rackspacecloud.com/v2.0/tokens" | |
json_header = {"Content-Type" : "application/json"} | |
auth = open("auth.json").read() | |
req = requests.post(auth_url, data=auth, headers=json_header) | |
print req.json()['access']['token']['id'] |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ3UeFTDeLR/PIOoLWca7r1KXjbIHnbaKcwH/vItLD0qFtTD2Rd6PdKOt9YteAErmOULRexx61rcQofo0FH9i2LD5VhGDw2L58wHI3eb9HefNaefckK3f/5xRdGPi/952jHfKI8ORsZEveDu+1xOkPJKW46t+dAfFMzjPsGbpR08Tx5xuOxeBCHt8s5mxD1Sn6lCUC+2HrxHTX/iUysZtmCEZoDskFSbFA+VSW+xs2p0/DS6g/GoSDBJnNGMTKafaZOoO2N4eD6M6ASM8PPdtyLhKNB3wYjvwPPdwlhLeDy2DwOnPW5KH/6ZVre4rKd6cKORrHGb/5aA9CPC1F8RXf steven@saturn |