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
\ -*- text -*- | |
\ A sometimes minimal FORTH compiler and tutorial for Linux / i386 systems. -*- asm -*- | |
\ By Richard W.M. Jones <[email protected]> http://annexia.org/forth | |
\ This is PUBLIC DOMAIN (see public domain release statement below). | |
\ $Id: jonesforth.f,v 1.17 2007/10/12 20:07:44 rich Exp $ | |
\ | |
\ The first part of this tutorial is in jonesforth.S. Get if from http://annexia.org/forth | |
\ | |
\ PUBLIC DOMAIN ---------------------------------------------------------------------- | |
\ |
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
command="/usr/bin/tmux -L binomage attach",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa |
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
curl -H "Content-Type: text/html; charset=utf-8" \ | |
--data-binary @FILE.html \ | |
https://validator.w3.org/nu/?out=gnu |
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
todo(){ cd ~/.todo||return 1&& l=$(ls -1t|head -n1)&&t=$(date +%Y%m%d);[[ "$1" == "last" ]]&&cp $l $t; ${EDITOR:-vi} $t;cd -;} |
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
xrandr --output LVDS1 --mode 1366x768 --output VGA1 --mode 1280x960 --same-as LVDS1 | |
xrandr --output LVDS1 --mode 1366x768 --output VGA1 --mode 1024x768i --same-as LVDS1 | |
xrandr --output LVDS1 --mode 1360x768 --output VGA1 --mode 1024x768i --same-as LVDS1 | |
xrandr --output LVDS1 --mode 1024x768 --output VGA1 --mode 1024x768i --same-as LVDS1 |
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 clean -nxd |
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
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 |
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
#!/bin/sh | |
git co gh-pages && git co source:_site -- . && git ci -m 'update site' && git push |
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 remote set-url --add origin [email protected]:... |
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
# Daily one-liner | |
find . -name *.png | parallel -n 1 'pngcrush -rem allb -brute -reduce {} {}.new | grep "filesize" && mv {}.new {}' |