mkdir -m 750 WKD-PATH
gpg-wks-server --directory WKD-PATH --install-key KEY-ID EMAIL-ADDRESS
Upload to https://example.com/.well-known/openpgpkey/
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
| git branch --merged origin/main | grep -vE "^\s*(\*|main|develop)" | xargs -n 1 git branch -d |
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
| DAYS = %w[Sunday Monday Tuesday Wednesday Thursday Friday Saturday].freeze | |
| def next_day(current_day) | |
| DAYS.at((DAYS.find_index(current_day) + 1) % DAYS.length) | |
| end |
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/perl | |
| use strict; | |
| use warning; | |
| use GD; | |
| $images = "/path/to/images"; | |
| $header = "Content-type: multipart/x-mixed-replace; boundary=ddc072ce-3b52-4704-9fef-abf661a13d43\n"; | |
| $boundary = "\n--ddc072ce-3b52-4704-9fef-abf661a13d43\n"; | |
| $giftype = "Content-type: image/gif\n\n"; |
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
| docker builder prune |
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
| const scripts = document.getElementsByTagName("script"), | |
| script_content = scripts[scripts.length - 1].innerHTML, | |
| enc = new TextEncoder(), | |
| data = enc.encode(script_content); | |
| crypto.subtle.digest('SHA-256', data).then(function(val) { | |
| const digest = ["sha256", _arrayBufferToBase64(val)].join("-"); | |
| console.log(`The digest for your script is: ${digest}`); | |
| }); |
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
| [sdl] | |
| autolock=true | |
| [dosbox] | |
| title=Windows 95 | |
| memsize=256 | |
| captures=capture | |
| [video] | |
| vmemsize=8 |
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
| [sdl] | |
| autolock=true | |
| [dosbox] | |
| title=Windows 98 | |
| memsize=256 | |
| captures=capture | |
| [video] | |
| vmemsize=8 |
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
| [sdl] | |
| autolock=true | |
| mouse emulation=integration | |
| [dosbox] | |
| title=Windows for Workgroups 3.11 | |
| memsize=256 | |
| captures=capture | |
| [dos] |
- Hold
⌘+Son startup mount -uw /(fsck -fyis not needed)launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist(or/System/Library/LaunchDaemons/com.apple.DirectoryServices.plistin 10.6)dscl . passwd /Users/username(without a trailing slash) and enter a new password. You can ignore the error aboutcom.apple.DirectoryServices.plist.reboot
NewerOlder