Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am theolampert on github.
  • I am theolll (https://keybase.io/theolll) on keybase.
  • I have a public key whose fingerprint is A177 8196 4009 0D08 3251 51A1 F98B C1E2 7BCF 7D83

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am theolampert on github.
  • I am theolll (https://keybase.io/theolll) on keybase.
  • I have a public key ASBebwBRpkU_XIDUbnOz07NUBEqVt7jV4OneGs7r8iPIVwo

To claim this, I am signing this object:

@theolampert
theolampert / changelog.js
Created March 5, 2019 14:19
Get all semantic commits from a PR
const fs = require('fs');
const request = require('request-promise');
const query = `query {
repository(name:"<project>", owner:"<owner>") {
pullRequest(number: 993) {
id
commits(last:250) {
@theolampert
theolampert / Secure Sessions Howto
Last active January 29, 2018 23:03 — forked from nikmartin/A: Secure Sessions Howto
Secure sessions with Node.js, Connect, and Nginx as an SSL Proxy
Secure sessions are easy, but it's not very well documented, so I'm changing that.
Here's a recipe for secure sessions in Node.js when NginX is used as an SSL proxy:
The desired configuration for using NginX as an SSL proxy is to offload SSL processing
and to put a hardened web server in front of your Node.js application, like:
[NODE.JS APP] <- HTTP -> [NginX] <- HTTPS -> [CLIENT]
To do this, here's what you need to do:
@theolampert
theolampert / _readme.md
Created November 4, 2017 10:43 — forked from shime/_readme.md
github oauth in node using express

What?

Most basic example of authenticating with Github in node.

How?

Clone this gist, change keys inside config.js and then hit npm install && node app.js.

Done?

@theolampert
theolampert / Carousel.js
Last active October 5, 2017 00:05 — forked from JoshBarr/Carousel.js
Flickity React integration

Fancy header example