This file contains hidden or 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
| #!/usr/bin/env bash | |
| ## | |
| # Bootstrap | |
| ## | |
| # export HOMEBREW_CASK_OPTS="--appdir=${HOME}/Applications" | |
| # XCode Select | |
| sudo xcode-select --install |
This file contains hidden or 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
| # Pacman init Arch | |
| sudo pacman-key --init | |
| sudo pacman-key --populate | |
| # Pacman list installed packages | |
| sudo pacman -Q | |
| # Pacman clean repository | |
| # sudo pacman -Scc --noconfirm |
This file contains hidden or 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
| hdiutil create -o /tmp/macOS -size 8900m -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/Catalina.dmg -noverify -mountpoint /Volumes/Catalina | |
| sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Catalina --nointeraction | |
| hdiutil convert /tmp/Catalina.dmg -format UDTO -o ~/Downloads/Catalina | |
| mv ~/Downloads/Catalina.cdr ~/Downloads/Catalina.iso |
This file contains hidden or 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
| @model EPiServer.Core.ContentReference | |
| @if (Model != null) | |
| { | |
| <picture> | |
| <source | |
| srcset=" | |
| @Url.ContentUrl(Model)?w=400&format=webp 400w, | |
| @Url.ContentUrl(Model)?w=800&format=webp 800w, | |
| @Url.ContentUrl(Model)?w=1000&format=webp 1000w, | |
| @Url.ContentUrl(Model)?w=2000&format=webp 2000w" |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <configuration> | |
| <system.webServer> | |
| <!-- GZip static file content. Overrides the server default which only compresses static files over 2700 bytes --> | |
| <httpCompression directory="%SystemDrive%\websites\_compressed" minFileSizeForComp="1024"> | |
| <scheme dll="%Windir%\system32\inetsrv\gzip.dll" name="gzip"/> | |
| <staticTypes> | |
| <add enabled="true" mimeType="text/*"/> | |
| <add enabled="true" mimeType="message/*"/> | |
| <add enabled="true" mimeType="application/javascript"/> |
This file contains hidden or 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
| # WSL Update | |
| # wsl --install | |
| # Install Power Toys | |
| winget install Microsoft.Powertoys | |
| # Install Git | |
| # winget install Git.Git | |
| # Install Mise |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| ## | |
| # Bootstrap RasPi | |
| ## | |
| cd Media/ | |
| sudo fdisk /dev/sdX | |
| sudo mkfs.vfat /dev/sdX1 | |
| mkdir boot |
This file contains hidden or 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
| window.bootstrap = function (scripts) { | |
| var src, script, | |
| pendingScripts = [], | |
| firstScript = document.scripts[0], | |
| // Watch scripts load in IE | |
| stateChange = function() { | |
| // Execute as many scripts in order as we can | |
| var pendingScript | |
| while (pendingScripts[0] && pendingScripts[0].readyState == 'loaded') { |