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
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/Users/epzio/.oh-my-zsh" | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, | |
| # to know which specific one was loaded, run: echo $RANDOM_THEME | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
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
| [Info - 2:32:46 PM] Loading Elm tree-sitter syntax from ../.vscode/extensions/elmtooling.elm-ls-vscode-0.10.2/server/out/tree-sitter-elm.wasm | |
| [Info - 2:32:47 PM] Found 1 elm.json files for workspace /Users/epzio/PhotoGroove | |
| [Info - 2:32:47 PM] Found 1 unique elmWorkspaces for workspace /Users/epzio/PhotoGroove | |
| [Info - 2:32:47 PM] Starting language server for folder: file:///Users/epzio/PhotoGroove | |
| [Info - 2:32:47 PM] Elm version 0.19.1 detected. | |
| [Info - 2:32:47 PM] Reading elm.json from /Users/epzio/PhotoGroove/elm.json | |
| [Info - 2:32:47 PM] 2 source-dirs and test folders found | |
| [Info - 2:32:47 PM] Found 35 files to add to the project | |
| [Info - 2:32:47 PM] Adding /Users/epzio/PhotoGroove/src/PhotoGroove.elm | |
| [Info - 2:32:47 PM] Adding /Users/epzio/.elm/0.19.1/packages/elm/browser/1.0.2/src/Browser.elm |
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 | |
| # | |
| # Inspects branch name and checks if it contains a Jira ticket number (i.e. ABC-123). | |
| # If yes, commit message will be automatically prepended with [ABC-123]. | |
| # | |
| # Useful for looking through git history and relating a commit or group of commits | |
| # back to a user story. | |
| # |
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 pMap = require('p-map') | |
| const Chance = require('chance') | |
| const chance = new Chance() | |
| const userIds = [ 52, 84, 71, 66, 12, 39, 18, 99, 7, 48 ] | |
| // Simulate a network call | |
| const getUser = async (id) => { | |
| await new Promise(resolve => setTimeout(resolve, 1000)) |
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
| /** | |
| * Module dependencies. | |
| */ | |
| var express = require('express'); | |
| var rpcMethods = require('./methods.js'); | |
| var app = module.exports = express.createServer(); | |
| // Configuration |
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
| // Sometimes we do cool stuff like this... | |
| let tacoType = hasQueso ? 'supreme' : 'normal' | |
| // Or this in our markup... | |
| `ng-class="isActive && 'md-primary'"` | |
| // Or this to set default values... | |
| this.color = config.color || 'blue' | |
| // Sometimes though we'd like to have more |
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
| 'default import': | |
| 'prefix': 'impDefault' | |
| 'body': 'import ${1:defaultMember} from \'${2:module-name}\'' | |
| 'named import': | |
| 'prefix': 'impNamed' | |
| 'body': 'import { ${1:namedMember} } from \'${2:module-name}\'' | |
| 'export default': | |
| 'prefix': 'expDefault' | |
| 'body': 'export default ${1:name}' | |
| 'export': |
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
| 'snippet block': | |
| 'prefix': 'snippet' | |
| 'body': """ | |
| \'${1:Snippet Name}\': | |
| \'prefix\': \'${2:Snippet Shortcut}\' | |
| \'body\': \'${3:Snippet}\' | |
| """ |
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
| 'configure store': | |
| 'prefix': 'rdStore' | |
| 'body': """ | |
| export default function configureStore(preloadedState) { | |
| return createStore( | |
| rootReducer, | |
| preloadedState, | |
| applyMiddleware( | |
| $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
| 'JSX comment': | |
| 'prefix': 'reJSXComment' | |
| 'body': '{/* ${1:Comments...} */}' | |
| 'ReactDOM.render': | |
| 'prefix': 'reDOMRender' | |
| 'body': 'ReactDOM.render(${1:<App />}, document.getElementById(\'${2:root}\'));' | |
| 'class component w/ extras': | |
| 'prefix': 'reCompFull' | |
| 'body': """ | |
| class ${1:Component} extends React.Component { |