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
/*
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
### 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
@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
);