Skip to content

Instantly share code, notes, and snippets.

View tommelo's full-sized avatar

Tom Melo tommelo

  • IT Gorillaz
  • Stuttgart, Germany
View GitHub Profile
@tommelo
tommelo / resut.json
Last active September 10, 2017 23:27
[
{
"link": "https://www.instagram.com/menshealthmag",
"username": "menshealthmag",
"name": "Men's Health",
"followers": "939k",
"picture": "https://instagram.fcpq1-1.fna.fbcdn.net/t51.2885-19/11371057_983333891687510_70028928_a.jpg"
},
{
"link": "https://www.instagram.com/harpersbazaarus",
@tommelo
tommelo / test.js
Created September 10, 2017 23:19
Test the Influencers Finder
'use strict';
var Influence = require('./').Influence;
var term = 'top fitness instagram accounts';
Influence.find(term).then(
/**
* Handles the instagram profiles
*/
@tommelo
tommelo / influence.js
Created September 10, 2017 22:59
Simple Social Influencer Finder
var Google = require('./lib/google');
var Hunter = require('./lib/hunter');
var Instagram = require('./lib/instagram');
/**
* The defaul constructor
*/
function Influence() {
}
@tommelo
tommelo / instagram.js
Created September 10, 2017 22:53
A Simple Instagram Scraper
'use strict';
var util = require('util');
var _ = require('lodash');
var Scraper = require('./scraper');
/**
* The default constructor
*/
function Instagram() {
@tommelo
tommelo / hunter.js
Created September 10, 2017 22:50
Seeks for Instagram Links
'use strict';
var util = require('util');
var Scraper = require('./scraper');
/**
* The default constructor
*/
function Hunter() {
Scraper.call(this);
@tommelo
tommelo / google.js
Created September 10, 2017 22:47
A Simple Google Scraper
'use strict';
var url = require('url');
var util = require('util');
var Scraper = require('./scraper');
/**
* The defult configuration
*/
var HOST = 'https://google.com'; // google's host
@tommelo
tommelo / scraper.js
Created September 10, 2017 22:30
Simple Scraper
'use strict';
var request = require('request-promise');
var cheerio = require('cheerio');
/**
* The default constructor
*/
function Scraper() {
@tommelo
tommelo / dnsreport.sh
Created November 24, 2016 20:06
dns report
#!/bin/bash
echo ""
if [ $# -eq 0 ]
then
echo "[!] no arguments given"
echo "[!] usage: ./dnsreport.sh [host]"
echo "[!] eg.: ./dnsreport.sh grandbusiness.com.br"
exit 1
@tommelo
tommelo / addr.sh
Last active October 28, 2016 14:15
Lazy Local and External IP
#!/bin/bash
####################################################################################
#
# addr.sh
#
# 'cause we're too damn lazy to read all the information that ifconfig gives us!
#
# Usage:
#