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
@(require "graphviz.rkt") | |
@(require scriblib/figure) | |
@graphviz-figure["foo-bar" "Overview of Foo Bar"]{ | |
digraph G { | |
foo -> bar | |
bar -> baz | |
baz -> quux | |
quux -> foo | |
} |
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
#lang racket/base | |
;; Roughly based on the PLaneT package by Dave Herman, | |
;; Originally released under MIT license. | |
;; edited: Matthias, organization in preparation for pretty-print | |
;; ----------------------------------------------------------------------------- | |
;; SERVICES |
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 | |
if [[ -z "$1" ]]; then | |
echo "usage: $0 <key>" | |
exit 1 | |
fi | |
curl -X POST -d "key=$1" https://yubi-expire.herokuapp.com/ | |
echo |
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
<html> | |
<body> | |
<a href="javascript:(function(v){if (v) {var r = prompt('Playback rate?');var f = parseFloat(r);v.playbackRate = f;}})(document.querySelector('video'))">Video Speedup</a> | |
</body> | |
</html> |
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
### ==================================================================== | |
### @Awk-file{ | |
### author = "Nelson H. F. Beebe", | |
### version = "1.06", | |
### date = "24 October 1997", | |
### time = "21:34:34 MDT", | |
### filename = "man2html.awk", | |
### address = "Center for Scientific Computing | |
### University of Utah | |
### Department of Mathematics, 105 JWB |
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
/** | |
* soklevel.c: dirt simple sokoban ASCII > sokobon.c compatible | |
* level editor. | |
* | |
* Copyright 2017: Andrew Gwozdziewycz <[email protected]> | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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
package main | |
import ( | |
"flag" | |
"image" | |
"image/color" | |
"image/draw" | |
_ "image/jpeg" | |
png "image/png" | |
"log" |
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 | |
# capturing delay | |
SCROT_DELAY=0.5 | |
# delay in gif | |
GIF_DELAY=10 | |
# clean tmp directory | |
ctrlc() { | |
echo "\nStop capturing" |
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 | |
URL=$(curl -sT $1 chunk.io) | |
if [ -n "$DISPLAY" ]; then | |
echo -n $URL | xclip | |
echo $URL "copied to the clipboard" | |
else | |
echo $URL | |
fi |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"os" | |
"golang.org/x/crypto/bcrypt" | |
) |