Skip to content

Instantly share code, notes, and snippets.

@trivektor
trivektor / twitter_streaming.js
Created September 15, 2020 15:38 — forked from ryanmcgrath/twitter_streaming.js
Access the Twitter Streaming API with ease (Node.js).
var util = require('util'),
http = require('http'),
events = require('events');
var Twitter = function(opts) {
this.username = opts.username;
this.password = opts.password;
this.track = opts.track;
this.data = '';
};
@trivektor
trivektor / values_pointers.go
Created June 26, 2021 09:27 — forked from josephspurrier/values_pointers.go
Golang - Asterisk and Ampersand Cheatsheet
/*
********************************************************************************
Golang - Asterisk and Ampersand Cheatsheet
********************************************************************************
Also available at: https://play.golang.org/p/lNpnS9j1ma
Allowed:
--------
p := Person{"Steve", 28} stores the value
{
"languages": [
"HTML",
"CSS",
"JavaScript",
"TypeScript",
"Python",
"PHP",
"Ruby",
"Java",