Skip to content

Instantly share code, notes, and snippets.

Jonathan Rouleau jrouleau

  • Halifax, NS, Canda
Block or report user

Report or block jrouleau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jrouleau
jrouleau / InstallHaProxy.sh
Last active Mar 21, 2019 — forked from ChrisMcKee/InstallHaProxy.sh
Amazon Linux AMI Install HAProxy From Source (1.7.0 release pre configured). chmod +x InstallHaProxy.sh then ./InstallHaProxy.sh
View InstallHaProxy.sh
#!/bin/bash
### VARIABLES ###
PRE_PACK="openssl-devel pcre-devel make gcc"
VER="1.7.0"
# Setup Colours
black='\E[30;40m'
red='\E[31;40m'
green='\E[32;40m'
@jrouleau
jrouleau / md_colors.xml
Created Oct 6, 2015
Android Material Design Colors
View md_colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Google's material design colors from
https://www.google.com/design/spec/style/color.html#color-color-palette
Last updated: 2015-10-06 -->
<!-- Red -->
<color name="red_50">#FFEBEE</color>
<color name="red_100">#FFCDD2</color>
@jrouleau
jrouleau / routes.js
Created Sep 15, 2015
Split Index with react-router 1.0.0
View routes.js
import auth from "../utils/auth";
function logout(nextState, replaceState) {
auth.logout();
replaceState(null, "/");
}
function redirectToLogin(nextState, replaceState) {
if (!auth.isLoggedIn()) {
replaceState({
You can’t perform that action at this time.