Skip to content

Instantly share code, notes, and snippets.

View NicolasRitouet's full-sized avatar

Nicolas Ritouet NicolasRitouet

View GitHub Profile
NicolasRitouet /
Last active October 13, 2021 13:40 — forked from Potherca/
BASH scripts to go through all the steps to make a (VPS) server more secure.
NicolasRitouet /
Last active March 28, 2020 21:40
Single Command Minecraft Install
# Minecraft (Spigot) server build script (written by Clay Freeman)
# License:
# To use this script:
# wget -qO- | sh
NicolasRitouet / serverless-deploy-user.yaml
Created April 17, 2018 05:37 — forked from bsamuel-ui/serverless-deploy-user.yaml
Cloudformation template to deploy permissions for deploying a serverless project.
AWSTemplateFormatVersion: 2010-09-09
Description: >
Constructs a managed IAM policy to deploy a serverless project.
This template assumes the stack is being deployed in the current region and account.
You can then attach this policy to other IAM objects, such as users or roles.
Based on the work done in:
NicolasRitouet / main.go
Created January 8, 2018 16:23 — forked from creack/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
NicolasRitouet / sdfcli.js
Created January 4, 2018 14:18
A node SDF cli wrapper
const spawn = require('cross-spawn');
const readline = require('readline').createInterface({
input: process.stdin,
output: process.stdout,
const getNetsuiteDomain = require('./rest.js');
* @param {Config} config The configuration object
NicolasRitouet / Makefile
Last active November 30, 2016 08:45 — forked from ianblenke/Makefile
A Makefile for creating, updating, watching, and deleting a CloudFormation VPC as per gists 9f4b8dd2b39c7d1c31ef and 0a6a6f26d1ecaa0d81eb
@which aws || pip install awscli
aws cloudformation create-stack --stack-name $(STACK) --template-body file://`pwd`/$(TEMPLATE) --parameters file://`pwd`/$(PARAMETERS) --capabilities CAPABILITY_IAM --profile $(AWS_PROFILE) --region $(AWS_REGION)

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called (Functional) Reactive Programming (FRP).

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

# OSX for Hackers (Mavericks/Yosemite)
# Source:
# Some things taken from here
# Ask for the administrator password upfront
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashpath
. ~/.bashrc
sudo apt-get install build-essential g++ curl
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl | sh