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 | |
"""Convert all of your Viscosity connections into OVPN configuration files for OpenVPN | |
https://gist.github.com/ishahid/693c2c97b3236a3c2416fc09ab170244 | |
""" | |
import re | |
import glob | |
from os.path import expanduser, dirname |
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/local/bin/python | |
"""Read EXIF data from an image | |
https://gist.github.com/ishahid/137f8724d8cff2304dffd69f3ade26d7 | |
""" | |
try: | |
import os, sys | |
# import json | |
from PIL import Image |
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
++++++++++ initialize counter (cell #0) to 10 | |
[ use loop to set the next six cells to 70/80/90/100/30/10 | |
> +++++ ++ add 7 to cell #1 | |
> +++++ +++ add 8 to cell #2 | |
> +++++ ++++ add 9 to cell #3 | |
> +++++ +++++ add 10 to cell #4 | |
> +++ add 3 to cell #5 | |
> + add 1 to cell #6 | |
<<<<<< - decrement counter (cell #0) | |
] |
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
BEGIN MESSAGE. | |
YuaAvHnRzG4pMlH dhrWYKoH9t4CaVi rQ2SWhIWfRKTwKU A7R0KU5hQBIv6TE | |
2CbHw9YaVVzGVVP amXtHJ9uhwTTCKq 6Xr2MZHgg72yGkH euFyt4tXabbaAzG | |
LgE6AwGi2PikFh1 w8haQA8HRxOHPmU S6oqiYfYTaBFTjb vDyySRuCQgFXgO1 | |
hwMMkVtJVrK0CCM 3JNWMFo8ryoEghZ dILic2IP. | |
END MESSAGE. |
OlderNewer