Skip to content

Instantly share code, notes, and snippets.

@athyuttamre
athyuttamre / ip.py
Last active January 27, 2024 01:19
import requests
import json
import csv
import sys
KEY = "1dd922548150f47ec2980e90b659b793"
BULK = False
# One-by-one
def map_ip_to_location(ip):

Keybase proof

I hereby claim:

  • I am athyuttamre on github.
  • I am athyuttamre (https://keybase.io/athyuttamre) on keybase.
  • I have a public key ASCEjGvqKts_vhdLznmzT1C4GmkaE_IWanqvgTXYJVyWIQo

To claim this, I am signing this object:

module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
athyuttamre@Athyuttams-MacBook-Pro: ~
$ ssh -t aeleti@ssh.cs.brown.edu host=mlab3d
Enter passphrase for key '/Users/athyuttamre/.ssh/id_rsa':
couldn't read /usr/local/share/fsh4/checks/01-self_setup.pl: No such file or directory at /usr/local/share/fsh4/run_checks line 28.
couldn't parse /usr/local/share/fsh4/checks/01-self_setup.pl: Can't locate BrownCS/Krb.pm in @INC (you may need to install the BrownCS::Krb module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/share/fsh4/checks/01-self_setup.pl line 4.
BEGIN failed--compilation aborted at /usr/local/share/fsh4/checks/01-self_setup.pl line 4.
couldn't read /usr/local/share/fsh4/checks/quota.pl: No such file or directory at /usr/
Atom settings, backed up by the sync-settings package.
@athyuttamre
athyuttamre / Makefile
Created January 23, 2016 21:08
Makefile for Meteor
.PHONY: dev dev-all dev-build dev-build-all prod prod-all prod-build prod-build-all
# Dev
# Runs the built image with dev settings.
dev:
@export METEOR_SETTINGS='$(shell cat ./app/settings.json)'; \
docker-compose up --no-deps -d app
# Runs all built services.