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
#!/usr/bin/env perl | |
# Gopher2Html - Gophermap parser | |
# v1.0 (c) 2021 by Tobija Žuntar | |
use warnings; | |
use strict; | |
use feature qw(switch); | |
no warnings qw(experimental::smartmatch); | |
sub parse_line { | |
my ($line) = @_; |
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/bash | |
if ! command -v curl &> /dev/null; then | |
echo "This script needs curl. Please install curl." | |
exit -1 | |
fi | |
if ! command -v jq &> /dev/null; then | |
echo "This script needs jq. Please install jq." | |
exit -1 |
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
<svg viewbox="0 0 255 255" id="svg_canvas" width="512" height="512" style="border: 1px solid black;"> | |
</svg> | |
Click to add points. | |
<form id="form"> | |
<input type="range" id="ppos__slider" min="0" max="0"><input type="text" id="ppos" enabled=false><label for="ppos">Point</label><br> | |
<input type="range" id="xpos__slider" min="0" max="255"><input type="text" id="xpos" enabled=false><label for="xpos">X</label><br> | |
<input type="range" id="ypos__slider" min="0" max="255"><input type="text" id="ypos" enabled=false><label for="ypos">Y</label><br> | |
<input type="range" id="cpos__slider" min="-32" max="32" value="0"><input type="text" id="cpos" enabled=false><label for="cpos">Curvature</label><br> | |
<input type="text" id="image" value=monalisa.jpg><label for="image">Image</label><br> | |
<input type="text" id="offsetx" value=0><label for="offsetx">X Offset</label><br> |
OlderNewer