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 | |
| sudo hdiutil create -o /tmp/Monterey -size 16g -volname Monterey -layout SPUD -fs HFS+J | |
| sudo hdiutil attach /tmp/Monterey.dmg -noverify -mountpoint /Volumes/Monterey | |
| sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey --nointeraction | |
| hdiutil eject -force /Volumes/Install\ macOS\ Monterey | |
| hdiutil convert /tmp/Monterey.dmg -format UDTO -o ~/Downloads/Monterey | |
| mv -v ~/Downloads/Monterey.cdr ~/Downloads/Monterey.iso | |
| sudo rm -fv /tmp/Monterey.dmg |
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
| import ol from 'openlayers'; | |
| // View used to sync google maps with ol map | |
| class GmapSyncView extends ol.View { | |
| constructor(gmap, options) { | |
| super(options); | |
| this._gmap = gmap; | |
| this._gmapInit(); |
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
| // If "git remote -v" doesn't show you any remotes you can simply add a remote using: | |
| // Replace https://username@stash/scm/PROJECT/repo.git with your repo URL | |
| git remote add origin https://username@stash/scm/PROJECT/repo.git |