Skip to content

Instantly share code, notes, and snippets.

View pseudoClone's full-sized avatar
🐎
moving..

pseudoClone

🐎
moving..
View GitHub Profile
@pseudoClone
pseudoClone / up.sh
Created September 19, 2023 03:37
Simple file upload
#!/bin/bash
set -xe
url='0x0.st'
fname=$1
tempax='tempa'
touch $tempax && cat $fname > $tempax
ext=$(cut -d '.' -f2 <<< $fname)
rm -rf $tempax
if [[ "$ext" == "pdf" ]]; then
@pseudoClone
pseudoClone / lissajous.go
Last active October 2, 2023 14:46
Lissajous figures: 2nd Order from gopl
package main
import (
"os"
"image"
"image/color"
"image/gif"
"io"
"math"
"math/rand" //Todo: PRNG
)