Skip to content

Instantly share code, notes, and snippets.

View oskarrough's full-sized avatar
💭
██████

Oskar oskarrough

💭
██████
View GitHub Profile
@oskarrough
oskarrough / index.html
Created August 12, 2026 15:21 — forked from smontlouis/index.html
please don't sue me
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22><circle cx=%2232%22 cy=%2232%22 r=%2230%22 fill=%22%235b7fe5%22/><circle cx=%2224%22 cy=%2228%22 r=%225%22/><circle cx=%2240%22 cy=%2228%22 r=%225%22/></svg>"
/>

Keybase proof

I hereby claim:

  • I am oskarrough on github.
  • I am oskarr (https://keybase.io/oskarr) on keybase.
  • I have a public key ASC-EI4Sv7gToVrZzQ9UE85P9wwT3IfY2bSA1xekIVnhgQo

To claim this, I am signing this object:

@oskarrough
oskarrough / index.html
Created December 23, 2020 20:07
stwmap
<button onClick="generate()">Generate</button>
<slay-map rows="10" columns="6"></slay-map>
// numeronym('internationalisation')
// returns 'i18n'
function numeronym(text) {
return text[0] + (text.length - 2) + text[text.length - 1]
}
@oskarrough
oskarrough / lovefingers-org.html
Created June 22, 2019 09:15
backup, just in case..
<HTML>
<HEAD>
<TITLE>Lovefingers</TITLE>
</HEAD>
<BODY bgcolor="white" text="#999999" link="#339999" vlink="#339999">
<TABLE border="0" cellpadding = "14"><tr><td valign="top">

How to build a JSON API with Elixir & Phoenix

Welcome! In this guide we'll go step by step to build an API with Elixir and the Phoenix Framework.

Note, i wrote this around 2017/18 so things might have changed. Also it's incomplete. Hopefully still useful. Yadayada.

Here's the plan:

  • Install Elixir
  • Create a new Phoenix project

The ecosystem of Radio4000

This is community overview of projects related to Radio4000. Feel free to edit.

@oskarrough
oskarrough / useful-web-audio
Last active March 18, 2024 08:01
A list of useful audio tools and experiments for the web
## Packages
https://github.com/yoriiis/vlitejs
https://github.com/killercrush/music-tempo
https://github.com/goto-bus-stop/get-artist-title
https://github.com/internet4000/media-now
https://github.com/internet4000/media-url-parser/
https://github.com/exogen/graphbrainz-extension-discogs
https://nelson.glitch.me
https://glitch.com/~record-player
@oskarrough
oskarrough / index.html
Last active May 26, 2018 10:09
Standalone emergency player for Radio4000 --> http://jsbin.com/kiyudepuyo/edit?html,output
<div id="ytplayer"></div>
1. yarn add critical --dev
2. copy paste this npm script
```
"scripts": {
"critical-css": "cat dist/index.html | critical --base dist/ --inline --minify > index.tmp && mv index.tmp dist/index.html"
}
```