Skip to content

Instantly share code, notes, and snippets.

View hugot's full-sized avatar

Hugo hugot

View GitHub Profile
#!/bin/bash
##
# print a SIT banner to a terminal :)
printStuff() {
while read -r line; do
for ((i = 0; i < ${#line}; i++)) ; do
sleep 0.01
echo -n "${line:$i:1}"
done
@hugot
hugot / tree
Last active April 20, 2018 12:26
Little script to build software using basher as dependency manager
#!/bin/bash
##
# Build software with basher.
read -rd '' HELP <<'EOF'
tree - Build software from custom build scripts, into a directory tree of your choosing.
USAGE: tree COMMAND [ AUTHOR/REPO ] [ OPTIONS ]
COMMANDS:
new : Initialize a new tree project. Respects --dir argument if given.
@hugot
hugot / route-to-ip.bash
Created April 30, 2022 13:00
Make a linux system act as a NAT router for another node
#!/bin/bash
if [[ $# -ne 1 ]]; then
echo 'Usage: '"$0"' IP_ADDRESS' >&2
exit 1
fi
ip="$1"
set -x

I haven't used phpinspect.el before. It looks like good software for working with PHP.

Thanks! IMO It is good software for working with PHP, I use it every day at my dayjob. I'll be the first to admit that it still needs work though, and is not yet competitive with the commercial offerings available on many fronts.

Would you tell us a bit about how this splay tree library is hooked into the incremental parser? e.g. if the user inserts a single character, what chain of operations does that set off?