This file contains 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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="intheloop" | |
# Example aliases |
This file contains 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
6. Check if /Users/Stephen/node_modules/babel-loader is outside your project directory. | |
For example, you might have accidentally installed something in your home folder. |
This file contains 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
```bash | |
Stephens-MBP:new-tic-tac-toe Stephen$ npm start | |
> new-tic-tac-toe@0.1.0 start /Users/Stephen/Documents/_coding/reactTicTacToe/new-tic-tac-toe | |
> react-scripts start | |
There might be a problem with the project dependency tree. | |
It is likely not a bug in Create React App, but something you need to fix locally. |
This file contains 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
$ nvm use system && npm ls -g --depth=0 | |
Now using system version of node: v8.12.0 (npm v6.4.1) | |
/usr/local/lib | |
├── bower@1.8.4 | |
├── browserify@16.2.3 | |
├── eslint@5.6.0 | |
├── js-beautify@1.7.5 | |
├── live-server@1.2.0 | |
├── moment@2.22.2 |
This file contains 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
$ npm start | |
Compiled successfully! | |
You can now view react-pos in the browser. | |
Local: http://localhost:3000/ | |
On Your Network: http://192.168.1.76:3000/ | |
Note that the development build is not optimized. |
This file contains 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
git checkout master | |
git fetch origin | |
git reset --hard origin/master |
This file contains 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 faker = require('faker'); | |
const moment = require('moment'); | |
const momentRandom = require('moment-random'); | |
const Promise = require('bluebird'); | |
const db = require('../models/models.js'); | |
const createUser = () => { | |
const email = faker.internet.email(); | |
const fullName = faker.name.findName(); | |
const host = Math.random() <= 0.25; |
This file contains 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
// Prior to cutting a new branch | |
git fetch origin | |
git reset --hard origin/master | |
// Cut a new branch | |
git checkout -b MyNewFeature || git checkout -b Issue#124 | |
git push origin MyNewFeature | |
//Helpful | |
git stash |
This file contains 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 faker = require('faker'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const db = require('./index.js'); | |
const Description = require('./db.js'); | |
const generateRandomDescription = (productId) => { | |
productId = productId; | |
const productName = faker.commerce.productName(); |
This file contains 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
```psql | |
sdc=# \dp descriptions | |
Access privileges | |
Schema | Name | Type | Access privileges | Column privileges | Policies | |
--------+--------------+-------+-------------------------+-------------------+---------- | |
public | descriptions | table | Stephen=arwdDxt/Stephen+| | | |
| | | sdc=arwdDxt/Stephen | | | |
``` |
OlderNewer