Skip to content

Instantly share code, notes, and snippets.

View sb-01's full-sized avatar

Sandipan Banerjee sb-01

View GitHub Profile
@sb-01
sb-01 / README
Created July 19, 2018 20:28 — forked from pyh/README
Some hacks that will map IPs to a map (with different colors). Verrrry sketchy, but "works".
"Instructions"
1) Install index.php to some webserver, and run "latlongudp.pl" on the same server.
2) Then feed IPs to the latlongudp.pl server with something like this:
tail -F /var/log/nginx/access_log|perl -e '$|=1;while(<>){print "someidentifier,$1\n" if/(\d+\.\d+\.\d+\.\d+)/}'|nc -u somenode.example.com 5001
Modify someidentifier to to fit your needs.
@sb-01
sb-01 / README-Template.md
Created March 19, 2018 19:41 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites