- Install python 3
- Install neovim
- Install vim plugin manager
- Install plugins with plugin manager
git init --bare $HOME/.dotfiles
- Create a bare Git repository, which is an empty Git repository without a working directory.
alias dot='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
- Create an alias for
gite.g.dotto configure the .dotfiles repository.
dotfiles config --local status.showUntrackedFiles no
- Configure Git to not show local files that are not being tracked when using commands like
git status.
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
| // alphabet: | |
| a b c d e f g h i j k l m n o p q r s t u v w x y z | |
| 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
| // key | |
| j z a i d m f u | |
| 9 25 0 8 3 12 5 20 | |
| // plaintext | |
| i l o v e y o u |
- ECMAScript Language Specification
- React
- Redux
- Jest
- Enzyme
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 quoteFeedsById = { | |
| feed1: { | |
| name: 'Programming', | |
| quoteIds: ['quote1', 'quote2'] | |
| }, | |
| feed2: { | |
| name: 'Stoic', | |
| quoteIds: ['quote3', 'quote4'] | |
| } | |
| }; |
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 quoteFeeds = [ | |
| { | |
| id: 'feed1', | |
| name: 'Programming', | |
| quotes: [ | |
| { | |
| id: 'quote1', | |
| text:'Every great developer you know got there by solving problems they were unqualified to solve until they actually did it.', | |
| source: 'Patrick McKenzie', | |
| liked: false |
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 React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import './index.css'; | |
| import App from './App'; | |
| // Get the element to prepend our app to from https://www.google.com. | |
| // This could be a specific element on a website or something more general like `document.body`. | |
| const viewport = document.getElementById('viewport'); | |
| // Create a div to render the App component to. |
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
| .App { | |
| text-align: center; | |
| margin: 70px auto; | |
| width: 50%; | |
| } | |
| // Other styles |
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 React, { Component } from 'react'; | |
| import './App.css'; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <div className="App"> | |
| <div className="App-header"> | |
| <img src="https://facebook.github.io/react/img/logo.svg" className="App-logo" alt="logo" /> | |
| <h2>Welcome to React</h2> |