Skip to content

Instantly share code, notes, and snippets.

View YewTreeWeb's full-sized avatar
💭
"Write code every day." - John Resig

Mathew Teague YewTreeWeb

💭
"Write code every day." - John Resig
View GitHub Profile
@YewTreeWeb
YewTreeWeb / getNodeLTS.sh
Created March 8, 2024 22:50 — forked from mKeRix/getNodeLTS.sh
Downloads the latest LTS version and installs it into /opt/nodejs. Supports armv6l for e.g. the Pi Zero W.
#!/bin/bash
# Took the good bits from sdesalas/node-pi-zero/
# Switches to unofficial repo since armv6 was removed from main downloads
#
PI_ARM_VERSION=$(
uname -a |
egrep 'armv[0-9]+l' -o
);
### Aliases
# Open specified files in Sublime Text
# "s ." will open the current directory in Sublime
alias subl='open -a "Sublime Text"'
alias phpini='cd /usr/local/etc/php/7.1; subl php.ini'
# Color LS
/*
Streamlined Shopify theme development.
NOTE: depends on module gulp-shopify-theme
npm install --save-dev yargs gulp gulp-sass gulp-changed gulp-sourcemaps gulp-autoprefixer gulp-uglify gulp-concat gulp-replace gulp-plumber gulp-babel browser-sync gulp-if del gulp-add-src gulp-rename gulp-yaml gulp-shopify-theme
Highlights:
- https proxying via BrowserSync
@YewTreeWeb
YewTreeWeb / npm-debug.log
Created August 21, 2016 16:50
Missing script: serve
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "serve"
npm ERR! node v4.4.7
npm ERR! npm v3.10.6
npm ERR! missing script: serve
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>