Skip to content

Instantly share code, notes, and snippets.

View dervondenbergen's full-sized avatar
🍕

Felix De Montis dervondenbergen

🍕
View GitHub Profile
@dervondenbergen
dervondenbergen / orm-de-layer.user.js
Last active December 22, 2020 20:51
OpenRailwayMap extra layer from OpenStreetMap.de
// ==UserScript==
// @name Add OpenStreetMap.de Layer to OpenRailwayMap
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author Felix De Montis
// @match https://*.openrailwaymap.org/*
// @grant none
// ==/UserScript==
@dervondenbergen
dervondenbergen / index.html
Last active October 23, 2020 19:02
blur hash as css background, just download as zip and do "npm run start"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BlurHash Background</title>
</head>
<body>
<img src="" data-src="https://unsplash.com/photos/Z6blsCKpl1I/download?w=640" data-hash="U47.Hb?@00ogaOx[tQa#4VRRxtRQRjWBafWB" height="959" width="640">
<style>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dervondenbergen
dervondenbergen / 100m.csv
Last active August 7, 2016 21:34 — forked from Haroenv/100m.csv
All olympic 100m times up to 2008
time year medal name country
12.6 1896 BRONZE Francis Lane USA
12.6 1896 BRONZE Alajos Szokolyi HUN
12.2 1896 SILVER Fritz Hofmann DEU
12.0 1896 GOLD Tom Burke USA
11.3 1906 SILVER Fay Moulton USA
11.3 1906 BRONZE Nigel Barker AUS
11.2 1906 GOLD Archie Hahn USA
11.2 1904 SILVER Nate Cartmell USA
11.2 1904 BRONZE Bill Hogenson USA
@dervondenbergen
dervondenbergen / cipher.js
Created February 25, 2015 23:18
smaller cipher
i=prompt('Please write the text to cipher:');
s=prompt('Steps to shift:');
t='';
var a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
for (var l = 0; l < i.length; l++) {
n = a.indexOf(i[l].toUpperCase())
f=100
if (n>-1)
f=n+Math.floor(s)
if (f > 25)
@dervondenbergen
dervondenbergen / cipher.js
Created February 24, 2015 21:06
Caeser Verschlüsselung
var alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
function cipherText () {
// leeren Text definieren
var ciphered = '';
// shiftlength ist die Anzahl, um wie viel die Buchstaben verschoben sind
var shiftlength = shift.value;
// inputtext ist der Text in einem Textfeld, der verschlüsselt gehört
@dervondenbergen
dervondenbergen / dabblet.css
Created January 13, 2015 15:55 — forked from Daniel-Hug/dabblet.css
Pure CSS aspect ratio with no spacer images or js! :)
/*
* Pure CSS aspect ratio with no spacer images or js! :)
*/
div.lala {
width: 100%;
max-width: 380px;
}
div.stretchy-wrapper {
@dervondenbergen
dervondenbergen / README.md
Last active August 29, 2015 14:01
WILF search

We Love Icon Fonts search

The search on We Love Icon Fonts is a long requested issue.

To use the search, just drag'n'drop the js file (minfied or unminified) in the bookmarks bar.

You can watch an installation video here: https://vimeo.com/94447449.

Keybase proof

I hereby claim:

  • I am dervondenbergen on github.
  • I am dervondenbergen (https://keybase.io/dervondenbergen) on keybase.
  • I have a public key whose fingerprint is 9207 870E 293D 9F7E 2559 C6B4 EC2C 0583 355D 9DE6

To claim this, I am signing this object:

@dervondenbergen
dervondenbergen / HOWTO.md
Last active August 29, 2015 13:57
Small node.js file server

Run this command to get a view of the parent directory on 0.0.0.0:1337:

$ node fileserver.js 1337 '../'