This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.gitignore.io/api/ | |
node, | |
linux, | |
macos, | |
windows, | |
craftcms, | |
phpstorm, | |
notepadpp, | |
phpstorm+iml, | |
phpstorm+all, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 . . |