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
const App = ({ location, isAuthenticated }) => ( | |
<div className='ui container'> | |
{ isAuthenticated && <TopNavigation /> } | |
<Route location={location} path='/' exact component={HomePage} /> | |
<Route location={location} path='/confirmation/:token' exact component={ConfirmationPage} /> | |
<UserRoute location={location} path='/dashboard' exact component={DashboardPage} /> | |
<UserRoute location={location} path='/books/new' exact component={NewBookPage} /> |
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
alias gs="git status" | |
alias gaa="git add -A" | |
alias gpush="git push origin master" | |
alias gpull="git pull origin master" | |
alias gcm="git commit -m" | |
alias ls="tree -L 1" | |
alias ls2="tree -L 2" | |
alias la="tree -a -L 1" |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'stable', |
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
// install the following packages: | |
// yarn add --dev eslint prettier eslint-config-airbnb@^15.0.1 eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y@^5.1.1 | |
{ | |
"extends": ["airbnb", "prettier", "prettier/react"], | |
"plugins": ["prettier"], | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaVersion": 2016, | |
"sourceType": "module", |
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/sh | |
git filter-branch --env-filter ' | |
# Replace info here -------------------------------------- | |
OLD_EMAIL="[email protected]" | |
CORRECT_NAME="Erick Delfin" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
DIR='/opt/rambox' | |
# Remove existing Rambox if exists | |
if [ -d "$DIR" ]; then | |
sudo rm -rf /opt/rambox | |
sudo rm -rf /usr/share/applications/rambox.desktop | |
fi |
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
# Use C-a as prefix and free C-b | |
set -g prefix C-a | |
unbind C-b | |
# Send C-a to application by pressing it twice | |
bind C-a send-prefix | |
# Reload configuration file | |
unbind r | |
bind r source-file ~/.tmux.conf \; display "Configration file .tmux reloaded!" |
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
Font=Menlo for Powerline | |
FontHeight=12 | |
ForegroundColour=211,208,200 | |
BackgroundColour=45,45,45 | |
CursorColour=253,157,79 | |
Black=45,45,45 | |
BoldBlack=116,115,105 | |
Red=242,119,122 | |
BoldRed=236,50,53 |