Skip to content

Instantly share code, notes, and snippets.

@zenorocha
zenorocha / basic.md
Last active March 26, 2023 09:00
New Firebase Auth vs Old Firebase Auth
@bishboria
bishboria / springer-free-maths-books.md
Last active September 17, 2024 05:30
Springer made a bunch of books available for free, these were the direct links
@Dakuan
Dakuan / Simple Twitter Auth
Created July 1, 2013 11:01
Authenticate with the Twitter API using OAuth and Node.js
var OAuth2 = require('OAuth').OAuth2;
var https = require('https');
var oauth2 = new OAuth2(KEY, SECRET, 'https://api.twitter.com/', null, 'oauth2/token', null);
oauth2.getOAuthAccessToken('', {
'grant_type': 'client_credentials'
}, function (e, access_token) {
console.log(access_token); //string that we can use to authenticate request
var options = {