Skip to content

Instantly share code, notes, and snippets.

View n8io's full-sized avatar
💭
‾\_(ツ)_/‾

Nate Clark n8io

💭
‾\_(ツ)_/‾
View GitHub Profile
@n8io
n8io / javascript.json
Created October 4, 2019 13:55
VSCode javascript snippets
{
"Component": {
"prefix": "component",
"body": [
"import{any,array,arrayOf,bool,element,func,instanceOf,node,number,object,oneOf,oneOfType,required,shape,string,}from'prop-types';",
"import React from 'react';",
"",
"${4:import styles from './styles.module.scss';}",
"",
"const ${1:Component} = ({ ${2:onClick} }) => (",
@n8io
n8io / .bashrc
Last active January 8, 2018 22:28
A .bashrc file configuration for local dev.
clear
# Grunt aliases
alias g="grunt"
alias gr="grunt"
alias gw="grunt watcher"
alias gwb="grunt watcher | node_modules/.bin/bunyan" # Runs grunt watcher with pretty formatted bunyan output
alias gcb="grunt concurrent | ./node_modules/.bin/bunyan" # Runs grunt concurrent task (usually nodemon and watch tasks bundled)
echo "Grunt aliases loaded."
# Nodemon aliases