Prepare by switching out of bash from Homebrew:
chsh -s /bin/zsh
To clean my system and reinstall Homebrew:
rm -rf ~/.local && mkdir ~/.local
rm -rf ~/Library/Caches/pip
rm -rf ~/.pyenv
rm -rf ~/.yarn
Prepare by switching out of bash from Homebrew:
chsh -s /bin/zsh
To clean my system and reinstall Homebrew:
rm -rf ~/.local && mkdir ~/.local
rm -rf ~/Library/Caches/pip
rm -rf ~/.pyenv
rm -rf ~/.yarn
Install Synthwave ’84/Synthwave + Fluoromachine theme on VS Code (I used the Fluoromachine one)
Install Custom CSS and JS Loader
Command + Shift + P to open command palette > "Preferences: Open settings (JSON)"
| # Rsync to remove old files | |
| gsutil -m rsync -x '.git*' -c -d -r dist gs://bucket/ | |
| # Upload and gzip HTML, CSS and JavaScript | |
| gsutil -m cp -z "html,css,js" -r dist/** gs://bucket/ | |
| # Set expires headers (6 months) on JS and CSS assets | |
| gsutil -m setmeta -h "Cache-Control: public, max-age=15552000" gs://bucket/assets/** | |
| # Make sure there's no expiration headers on HTML files |
| // String utils | |
| // | |
| // resources: | |
| // -- mout, https://github.com/mout/mout/tree/master/src/string | |
| /** | |
| * "Safer" String.toLowerCase() | |
| */ | |
| function lowerCase(str) { | |
| return str.toLowerCase(); |
| /** | |
| * Changes XML to JSON | |
| * Modified version from here: http://davidwalsh.name/convert-xml-json | |
| * @param {string} xml XML DOM tree | |
| */ | |
| function xmlToJson(xml) { | |
| // Create the return object | |
| var obj = {}; | |
| if (xml.nodeType == 1) { |
| /* utility.scss */ | |
| /* margin (0px - 100px) */ | |
| .m-0 { | |
| margin: 0px !important; | |
| } | |
| .m-5 { | |
| margin: 5px !important; | |
| } |
| <!-- use a module script to detect modern browsers: --> | |
| <script type=module> | |
| self.modern = true | |
| </script> | |
| <!-- now use that flag to load modern VS legacy code: --> | |
| <script defer> | |
| addEventListener('load', function () { | |
| var s = document.createElement('script') | |
| if (self.modern) { |
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| javascript: (function() { | |
| var styleEl = document.getElementById('css-layout-hack'); | |
| if (styleEl) { | |
| styleEl.remove(); | |
| return; | |
| } | |
| styleEl = document.createElement('style'); | |
| styleEl.id = 'css-layout-hack'; |
| <?xml version="1.0" encoding="utf-8" standalone="yes" ?> | |
| <T3DataStructure> | |
| <meta type="array"> | |
| <langDisable>1</langDisable> | |
| </meta> | |
| <sheets> | |
| <general> | |
| <ROOT type="array"> | |
| <TCEforms> | |
| <sheetTitle>Einstellungen</sheetTitle> |