This file contains 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
#!/bin/bash | |
# | |
# Shell script usable as web "server" | |
# Code mostly copied from web, my contribution was to add the sanitation. | |
# | |
### | |
### PARSE THE REQUEST | |
### |
This file contains 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.robspassky = window.robspassky || {}; | |
/** | |
* I've found finite state machines to be very helpful for managing the | |
* complexity of a web UI. This short function generates a FSM given a | |
* set of states. | |
* | |
* Each state has optional "entry" and "exit" functions and must contain | |
* a "transitions" object, whose property names are event names, and whose | |
* property values are functions that operate on the arguments of the |
This file contains 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
""" | |
ladder.py | |
words3.txt was created by the following: | |
$ egrep '^[a-z][a-z][a-z]$' /etc/dictionaries-common/words > words3.txt | |
algorithm: |
This file contains 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
#!/bin/sh | |
wget http://github.com/robspassky/gists/abc -o /tmp/bootstrap.sh | |
sh /tmp/bootstrap.sh |
This file contains 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
# neovim | |
# tmux | |
# zsh | |
# git | |
# sdkman - java, gradle, maven, kotlin | |
# | |
sudo apt update | |
sudo apt install build-essential curl file git tmux zsh unzip zip ca-certificates-java | |
sudo apt upgrade |