NOTE: This guide is ONLY for devs who don't want to edit their
yarn.lock
file by hand. If you don't care about that please carry on.
So you've pulled the latest master
git checkout master
git pull
[ | |
{ | |
"id": "01", | |
"name": "Alabama", | |
"abbr": "AL" | |
}, | |
{ | |
"id": "02", | |
"name": "Alaska", | |
"abbr": "AK" |
#### | |
# ZSH function to auto-switch to correct Node version | |
# https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5 | |
# | |
# - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does. | |
# | |
# - If you are already on the right Node version, IT DOES NOTHING, AND PRINTS NOTHING. | |
# | |
# - Works correctly if your .nvmrc file contains something relaxed/generic, | |
# like "4" or "v12.0" or "stable". |
# This is for ElasticBeanstalk with Amazon Linux 2023. For previous Linux 2 or Linux 1, see revisions for ideas | |
packages: | |
yum: | |
cups-libs: [] | |
libdrm: [] | |
libXdamage: [] | |
libXfixes: [] | |
libXrandr: [] | |
mesa-libgbm: [] | |
libxkbcommon: [] |
// Ignore those pesky styles | |
require('ignore-styles'); | |
// Set up babel to do its thing... env for the latest toys, react-app for CRA | |
require('babel-register')({ | |
ignore: /\/(build|node_modules)\//, | |
presets: ['env', 'react-app'] | |
}); | |
// Now that the nonsense is over... load up the server entry point |
{ | |
"bracketSpacing": true, | |
"jsxBracketSameLine": true, | |
"parser": "babylon", | |
"printWidth": 70, | |
"semi": false, | |
"singleQuote": true, | |
"tabWidth": 2, | |
"trailingComma": "none", | |
"useTabs": false, |
$('body').on('click', '#messages-view a', (event) => { | |
event.preventDefault(); | |
let link = event.target.href; | |
require("electron").shell.openExternal(link); | |
}); |
NOTE: This guide is ONLY for devs who don't want to edit their
yarn.lock
file by hand. If you don't care about that please carry on.
So you've pulled the latest master
git checkout master
git pull
.rounded-corners-gradient-borders { | |
width: 300px; | |
height: 80px; | |
border: double 4px transparent; | |
border-radius: 80px; | |
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff); | |
background-origin: border-box; | |
background-clip: padding-box, border-box; | |
} |
var walk = require('walk'); | |
var fs = require('fs'); | |
var classesOrIds = []; | |
var viewsAndTemplates = [] | |
var walkers = []; | |
var maybeUnusedClassesOrIds = []; | |
var compleWalkersCount = 0; | |
var classesToFileMap = {} | |
// Calback Function every time a walker ends |
var words = (function(){ | |
var sWords = document.body.innerText.toLowerCase().trim().replace(/[,;.]/g,'').split(/[\s\/]+/g).sort(); | |
var iWordsCount = sWords.length; // count w/ duplicates | |
// array of words to ignore | |
var ignore = ['and','the','to','a','of','for','as','i','with','it','is','on','that','this','can','in','be','has','if']; | |
ignore = (function(){ | |
var o = {}; // object prop checking > in array checking | |
var iCount = ignore.length; |