This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import auth from "../utils/auth"; | |
function logout(nextState, replaceState) { | |
auth.logout(); | |
replaceState(null, "/"); | |
} | |
function redirectToLogin(nextState, replaceState) { | |
if (!auth.isLoggedIn()) { | |
replaceState({ |