Skip to content

Instantly share code, notes, and snippets.

@jg1uaa
jg1uaa / mkboot-rockpis.sh
Created September 11, 2021 11:38
OpenBSD Installation for the Rock Pi S, inspired by https://gist.github.com/moritzbuhl/4c83582e71b5654c1a20a01bf6959e84
#!/bin/sh
fetch_url=https://mild.embarrassm.net/~jonathan/rockpis/
idb_file=idbloader.img
uboot_file=uboot.img
atf_file=trust.img
dtb_file=rk3308-rock-pi-s.dtb
fetch_and_write() {
ftp $fetch_url/$1
@jg1uaa
jg1uaa / play_radiko.sh
Last active September 27, 2015 08:08 — forked from matchy256/rec_radiko.sh
簡易Radiko再生スクリプト
#!/usr/bin/env bash
LANG=ja_JP.UTF-8
pid=$$
date=`date '+%Y-%m-%d-%H_%M'`
playerurl=http://radiko.jp/player/swf/player_4.1.0.00.swf
playerfile="/tmp/player.swf"
keyfile="/tmp/authkey.jpg"