Skip to content

Instantly share code, notes, and snippets.

View coderholic's full-sized avatar

Ben Dowling coderholic

View GitHub Profile
@coderholic
coderholic / continents.json
Created July 22, 2022 20:04 — forked from cmunns/continents.json
Continental GeoJson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@coderholic
coderholic / ipinfo_asn.bash
Last active March 20, 2022 09:49 — forked from nicksherron/ipinfo_asn.json
Example of ipinfo.io API plans - Basic, Advanced and Pro for Ip address Geolocation, Company details, Carrier details and ASN API
# ASN API with Standard or Pro plan
$ curl ipinfo.io/AS25/json?token=$IPINFO_TOKEN
{
"asn": "AS25",
"name": "University of California at Berkeley",
"country": "US",
"allocated": "1984-08-03",
"registry": "arin",
"domain": "berkeley.edu",
"num_ips": 202496,
@coderholic
coderholic / gist:971070
Created May 13, 2011 18:45
Github search scraping
/*
Usage: io github <query> [language]
io github django
io github coffeescript
To limit search results to a certain language:
io github django python
To see debug info:
io --debug github django
@coderholic
coderholic / setup-statsd.sh
Created April 21, 2011 18:16 — forked from collegeman/setup-statsd.sh
Turn an Ubuntu 10.04 linode into a StatsD/Graphite server
# install git
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
# download the Node source, compile and install it
git clone https://github.com/joyent/node.git
cd node
./configure
make
sudo make install
# install the Node package manager for later use