Skip to content

Instantly share code, notes, and snippets.

@aetherxx
aetherxx / set.py
Created August 16, 2016 11:01 — forked from kolisn/set.py
Setup for extra efficiency on V2.2.0 & V3.1.0 of the PGO Map | converts spawnpoints in db -> json (SQLite & MySQL) | replaces pogom/search.py | adds geojson to requirements.txt and optionally installs
#Works well with release V2.2.0 of https://github.com/PokemonGoMap/PokemonGo-Map
#Setup script for TBTerra's Spawntracker into PokemonGo-Map Python Script
#run this in your main directory, where the runserver.py file is located
#uses https://paste.ee/r/xRlnn Thanks to sowok (Reddit) for the search.py
#run as python set.py or python ./set.py --only tested on a windows rig so far, the clear cmd may need altering
import urllib2
import sqlite3
import pip
import os
import json
@aetherxx
aetherxx / README.md
Created August 16, 2016 05:55 — forked from Lazza/README.md
VPNGate Python script

vpngate.py

This script allows to use the free VPN service provided by VPNGate in an easy way. The user just needs to provide the desidered output country, and the script automatically chooses the best server.

After this step, OpenVPN is launched with the proper configuration. The VPN can be terminated by pressing Ctrl+C.

Usage

Run the script by providing the desired output country:

@aetherxx
aetherxx / README
Created August 8, 2016 12:26 — forked from adilapapaya/README
Export Table Data to CSV using Javascript
Example code for exporting data in a table to a csv file.