Skip to content

Instantly share code, notes, and snippets.

Oreofe Olurin oreofeolurin

Block or report user

Report or block oreofeolurin

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
View index.scss
$blueColor: #2196F3;
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background: $blueColor;
}
@oreofeolurin
oreofeolurin / token-generator.js
Last active Mar 10, 2018 — forked from ziluvatar/token-generator.js
Example of refreshing tokens with jwt
View token-generator.js
/**
* Example to refresh tokens using https://github.com/auth0/node-jsonwebtoken
* It was requested to be introduced at as part of the jsonwebtoken library,
* since we feel it does not add too much value but it will add code to mantain
* we won't include it.
*
* I create this gist just to help those who want to auto-refresh JWTs.
*/
const jwt = require('jwt');
@oreofeolurin
oreofeolurin / how_to_set_up_ssh_keys.md
Created Feb 26, 2018 — forked from stormpython/how_to_set_up_ssh_keys.md
Setting up ssh keys for remote server access
View how_to_set_up_ssh_keys.md

How to Set up SSH Keys

Create the RSA Key Pair

ssh-keygen -t rsa

Store the Keys and Passphrase

Once you have entered the Gen Key command, you will get a few more questions:

@oreofeolurin
oreofeolurin / webpack.config.dev.js
Created Feb 16, 2018
Webpack file for configuring SCSS with React (create-react-app)
View webpack.config.dev.js
'use strict';
const autoprefixer = require('autoprefixer');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
const eslintFormatter = require('react-dev-utils/eslintFormatter');
You can’t perform that action at this time.