Skip to content

Instantly share code, notes, and snippets.

View andrei-tofan's full-sized avatar

Andrei Tofan andrei-tofan

View GitHub Profile
@andrei-tofan
andrei-tofan / beefree.js
Created March 1, 2017 20:58
Fetch access token from beefree api
/**
* NodeJS beefree.io integration
*/
const https = require('https');
const querystring = require('querystring');
/**
* Fetch access token from beefree api
*/
@andrei-tofan
andrei-tofan / file
Created February 18, 2017 20:32
freedom_public
{"0.6526016847863005":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgME7YU+QsYmsEkg6xbJhz85WHgueBzy4jhn\r\nU/ZhmgrwY4Efsb6xuppuvc8h2AIBcPkjfbphRQxyH6iXMrGvA53ehs3/AAAACDxn\r\naXRodWI+wv8AAACOBBATCABA/wAAAAWCWKivSP8AAAACiwn/AAAACZAdVjBfa6D4\r\naP8AAAAFlQgJCgv/AAAABJYDAQL/AAAAApsD/wAAAAKeAQAATQoBANb9UnIIu3qm\r\n3Pm1i04AseamAaWacV9M3MNeTwqUksq1AP4n3an+bSY+EzqgVVp0qfm2jCBGK/zS\r\nZko7oZ2fEWZ53c7/AAAAVgQAAAAAEggqhkjOPQMBBwIDBAbNzPPtGqc0Sn/rPnIE\r\nwmeZY8CAzNY7PNxBOYaGf00ZdNr4HGvAuPftcQ3J+uJ797phCNz8JpFJ2aBGyxZc\r\nkB8DAQgHwv8AAABtBBgTCAAf/wAAAAWCWKivSP8AAAAJkB1WMF9roPho/wAAAAKb\r\nDAAAcKoBAIS0E7SzSmcCoVsV4SyVDEpcetK5ccCseqYRQKFPxDOSAQDZGgcmL8DF\r\nCqXORoy2woc6Se0v/Tc+HBpQ6//US2ASEg==\r\n=ZMLw\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n"}
@andrei-tofan
andrei-tofan / py3whois.py
Created December 9, 2016 21:20 — forked from carmaa/py3whois.py
Python 3 whois client
"""
Whois client for python
transliteration of:
http://www.opensource.apple.com/source/adv_cmds/adv_cmds-138.1/whois/whois.c
Copyright (c) 2010 Chris Wolf
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal