Two methods - either through WSL, or through SSH with cygwin/git bash/mingw.
Easiest so far to install is VcXsrv through chocolatey
- Install chocolatey https://chocolatey.org/install
- Install vcxsrv:
choco install vcxsrv -y
Two methods - either through WSL, or through SSH with cygwin/git bash/mingw.
Easiest so far to install is VcXsrv through chocolatey
choco install vcxsrv -y
Probably many people have written something like this, for converting those joke images purporting to contain L3E7 h4xx0R c0deZ
.
Data examples:
ascii-bits.txt
: taken from a random pic of a mini typewriter with a 1
and 0
keyboard.message.txt
: taken from a music video ad with an AI-type characterScript:
A pair of python3 scripts for importing. I wrote these to facilitate writing wrappers external commands, when replacing some shell scripts. There might be better ways to do it (including checking for libraries in lieu of commands) but in absence of that possibility (looking at you, docker-compose
!), these have made things much easier...!
The arguments.py
script allows loading a parser with some defaults, as well as passing your own argparse
definitions to it. It then returns a usable dicitonary in which to look up items.
The runner.sh
script provides a convenience set of functions for runnning external commands, as well as a dry run mode predicated on use of --dry-run
from the arguments.sh
script. It also accepts a simple dict mapping extra environment variables into the existing environment
import runner
This is a relatively simple JSON object traverser: feed it either a JSON string or a nested set of dicitonaries/lists and use a path notation to access individual items.
/
or any separator string you specify*
to iterate over multiple valuesname_with_array/0/property_of_zeroth_item
It is relatively naive, insomuch as it will create a new array in the output object for each wildcard used along the path. For example, here's an example of getting all subnet definitions on docker inspect <networks ...>
:
Vim creates temporary files with the *.swp
extension when editing files;
if the session is terminated or the computer reboots/crashes etc without
cleanly exiting, these stick around.
This script seqarches for such files, and allows the user to use vim
to
check that the file actually has the latest changes from the swap, then
offers to delete the swap file.
The script uses bash builder
syntax and inclusions, and can be run directly in bbrun
. It can also be
After rebuilding an image several times and retagging it the same, you can have a whole load of images with name/tag as <none>/<none>
.
THis script removes all stopped containers referencing those images, and then removes the images themselves, cleaning up your image and container lists.
A quick script and data file that allows a test of a non-secured mail server
Typically useful to check if a service is actually working, you'll need to activate non-login non-SSL on your server
For obvious reasons, do NOT leave your SMTP server in that state for too long on the open Internet!
Example use of command: