Skip to content

Instantly share code, notes, and snippets.

View syntholly's full-sized avatar
Focusing

Holly Woodward syntholly

Focusing
  • Full Stack Web Developer
  • Perth, Australia
View GitHub Profile
@syntholly
syntholly / Configuration.h
Last active February 17, 2018 12:13
Midna (Anet A8 Marlin Configuration)
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@syntholly
syntholly / gist:d6b161d8c28810ba30dcce8fb6617490
Last active December 11, 2019 06:07
Generic gitignore.io Settings
https://www.gitignore.io/api/
node,
linux,
macos,
windows,
craftcms,
phpstorm,
notepadpp,
phpstorm+iml,
phpstorm+all,
@syntholly
syntholly / script.sh
Last active December 18, 2019 03:19
Backup MacOS
# Ideally you could put this in your crontab, maybe for once a day.
cd ~/Desktop && brew list > brew-list.txt && (brew cask list > brew-cask-list.txt & code --list-extensions > code-list-extensions.txt & pip list > pip-list.txt & crontab -l > crontab-l.txt & gem list > gem-list.txt & command ls -lAh /Applications/ > ls-applications.txt & npm -g list > npm-g-list.txt & yarn global list > yarn-global-list.txt) && zip macos-backup-$(date +"%m-%d-%y").zip -9 -v -T -ll -m brew-list.txt brew-cask-list.txt crontab-l.txt gem-list.txt ls-applications.txt npm-g-list.txt yarn-global-list.txt code-list-extensions.txt && cd -1
mkdir -p settings tools generic elements objects components utilities
cd settings && touch _settings.scss && echo "/** Main Settings Loader */\n" > _settings.scss && cd ..
cd tools && touch _tools.scss && echo "/** Main Tools Loader */\n" > _tools.scss && cd ..
cd generic && touch _generic.scss && echo "/** Main Generic Loader */\n" > _generic.scss && cd ..
cd elements && touch _elements.scss && echo "/** Main Elements Loader */\n" > _elements.scss && cd ..
cd objects && touch _objects.scss && echo "/** Main Objects Loader */\n" > _objects.scss && cd ..
cd components && touch _components.scss && echo "/** Main Components Loader */\n" > _components.scss && cd ..
cd utilities && touch _utilities.scss && echo "/** Main Utilities Loader */\n" > _utilities.scss && cd ..
echo "/** Main SCSS Loader */\n\n@import 'settings/_settings.scss'; // variables only - frequently updated early in the project.\n@import 'tools/_tools.scss'; // mixins, functions only - rarely expanded.\n@import 'generic/_generic.scss'; // reset,
@syntholly
syntholly / create-node-template.sh
Last active October 12, 2020 12:06
Create Simple Note Template
touch .babelrc .env .env.example .gitignore .prettierrc postcss.config.js .eslintrc.json webpack.config.js \
&& mkdir src tests \
&& touch tests/.gitkeep \
&& mkdir src/api src/config src/frontend src/jobs src/models src/services src/subscribers src/loaders \
&& touch src/app.js src/api/index.js src/config/.gitkeep src/loaders/index.js src/subscribers/.gitkeep src/jobs/.gitkeep src/models/.gitkeep src/services/.gitkeep \
&& mkdir src/middlewares src/routes \
&& touch src/middlewares/index.js src/routes/index.js \
&& mkdir src/frontend/assets \
&& mkdir src/frontend/assets/scss src/frontend/assets/js src/frontend/assets/static \
&& touch src/frontend/assets/scss/.gitkeep src/frontend/assets/js/.gitkeep \
@syntholly
syntholly / Dockerfile.dev
Last active December 12, 2022 04:08
Docker for Node.js
# Use the node:18 image as the base for the Docker image
FROM node:18
LABEL name="app-dev"
# Set the working directory for the app
WORKDIR /usr/src/app
# Copy the entire project directory to the Docker image
COPY . .