Skip to content

Instantly share code, notes, and snippets.

View 314eter's full-sized avatar

Pieter Goetschalckx 314eter

View GitHub Profile
@314eter
314eter / PKGBUILD
Created March 11, 2019 14:33
fx_cast
pkgname=fx_cast
pkgver=0.0.2
pkgrel=1
pkgdesc="Implementation of the Chrome Sender API (Chromecast) within Firefox"
arch=('x86_64')
url="https://hensm.github.io/fx_cast/"
license=('MIT')
depends=('nodejs')
makedepends=('npm')
source=(
@314eter
314eter / keybase.md
Last active February 19, 2021 10:35

Keybase proof

I hereby claim:

  • I am 314eter on github.
  • I am 314eter (https://keybase.io/314eter) on keybase.
  • I have a public key whose fingerprint is AE3B B2FD E13E 0484 B330 28DE 9AC8 1030 EE3B FB36

To claim this, I am signing this object:

@314eter
314eter / horspool.ml
Last active June 2, 2016 13:49
OCaml string searching algorithms
let init pattern m =
let table = Array.make 256 m in
for j = 0 to m - 1 do
table.(int_of_char pattern.[j]) <- (m - j)
done;
table
let rec search pattern m text n table j k =
if j = -1 then
Some k
@314eter
314eter / googlelogo.user.js
Last active August 18, 2016 12:50
Google Logo
// ==UserScript==
// @name Google Logo
// @namespace local
// @match *://www.google.com/*
// @match *://www.google.be/*
// @grant none
// @version 1
// ==/UserScript==
var hplogo = document.getElementById('hplogo');