A simple example to create a websocket server and stream tweets about a pre-defined subject to the page.
$ npm install socket.io, twitter
$ node ./app.js
I hereby claim:
To claim this, I am signing this object:
https://www.gatcoin.io/wp-content/uploads/2017/08/GATCOIN-Whitepaper_ENG-1.pdf | |
https://appcoins.io/pdf/appcoins_whitepaper.pdf | |
https://pareto.network/download/Pareto-Technical-White-Paper.pdf | |
http://betbox.ai/BetBoxBizWhitepaper.pdf | |
https://www.aidcoin.co/assets/documents/whitepaper.pdf | |
https://irp-cdn.multiscreensite.com/ee070c4a/files/uploaded/Whitepaper%20AlchemyByte%20%26%20SLHashByte%20v1.6.pdf | |
http://goldminecoin.io/wp-content/uploads/2017/11/GoldMineCoin_ENG.pdf | |
https://www.pecun.io/wp-content/uploads/2017/10/Pecunio_White_Paper_011.pdf | |
http://ico.cryptoibet.com/assets1/pdf/whitepaper-1.pdf | |
https://www.bitnettoken.org/documents/BNETWhitePaper.pdf |
#Creating a Twitter bot with Node.js Learn how you can create your own Twitter bot using Node.js and the new Twitter API. The bot will auto retweet in response to tweets with some particular hashtags. (https://goo.gl/4whEIt)
##Tools we need Here are the tools we’ll be using to create the bot —
import glob | |
import os | |
import json | |
import sys | |
from collections import defaultdict | |
users = defaultdict(lambda: { 'followers': 0 }) | |
for f in glob.glob('twitter-users/*.json'): | |
data = json.load(file(f)) |
import tweepy | |
import time | |
import os | |
import sys | |
import json | |
import argparse | |
FOLLOWING_DIR = 'following' | |
MAX_FRIENDS = 200 | |
FRIENDS_OF_FRIENDS_LIMIT = 200 |
// PhantomJS Cheatsheet | |
$ brew update && brew install phantomjs // install PhantomJS with brew | |
phantom.exit(); | |
var page = require('webpage').create(); | |
page.open('http://example.com', function() {}); | |
page.evaluate(function() { return document.title; }); |
Sendy is a self hosted email newsletter application that lets you send trackable emails via Amazon Simple Email Service (SES).
You can deploy Sendy on Heroku using the following instructions (I assume you've already installed the heroku toolbelt).