I hereby claim:
- I am carlosmarin on github.
- I am carlosmarin (https://keybase.io/carlosmarin) on keybase.
- I have a public key ASA5IopDgwqPVyZkEevlmL1SAPzT_GTtfFmM0WqP7HQyrwo
To claim this, I am signing this object:
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
virtualenv -p /usr/local/bin/python2.7 pip2pi-venv | |
source pip2pi-venv/bin/activate | |
# pip install pip2pi # broken support for pip v10.x | |
wget https://github.com/carlosmarin/pip2pi/archive/pip-10.0.0.zip -O pip2pi-v10.0.0.zip | |
unzip -a pip2pi-v10.0.0.zip | |
python pip2pi-pip-10.0.0/setup.py install | |
rm -f pip2pi-v10.0.0.zip | |
rm -fr pip2pi-pip-10.0.0 |
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
* |
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
# pyspark --driver-class-path "/opt/mongodb-spark-connector/mongodb-driver-3.7.0.jar:/opt/mongodb-spark-connector/mongodb-driver-core-3.7.0.jar:/opt/mongodb-spark-connector/bson-3.7.0.jar:/opt/mongodb-spark-connector/mongo-spark-connector_2.10-1.1.0.jar" | |
import os | |
from pyspark import SparkConf, SparkContext | |
from pyspark.sql import SQLContext | |
import getpass | |
import string | |
import urllib |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
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
# Misc | |
#RECLONE=True | |
DATABASE_PASSWORD=password | |
ADMIN_PASSWORD=password | |
SERVICE_PASSWORD=password | |
SERVICE_TOKEN=password | |
RABBIT_PASSWORD=password | |
# Enable Logging |
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/sh | |
## Sample run: | |
## chmod 700 ~/Dropbox/apps/_running_/duck.sh | |
## crontab -e | |
## */5 * * * * ~/Dropbox/apps/_running_/duck.sh ingcma utun1 >/dev/null 2>&1 | |
NAME=$1 | |
IFACE=$2 | |
TOKEN=<ENTER-TOKEN> |
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
*nat | |
# forward port 69 to 6969 | |
-A PREROUTING -p udp -m udp --dport 69 -j DNAT --to-destination 10.4.108.6:6969 | |
COMMIT | |
*filter | |
:INPUT DROP [0:0] | |
-A INPUT -s 127.0.0.1 -j ACCEPT | |
-A INPUT -s 10.4.108.6 -j ACCEPT |
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
*.texnicle* | |
*.fdb_latexmk | |
*.aux | |
*.glo | |
*.idx | |
*.log | |
*.toc | |
*.ist |