Skip to content

Instantly share code, notes, and snippets.

View thykka's full-sized avatar
🛠️

Moses Holmström thykka

🛠️
View GitHub Profile
@thykka
thykka / tables.lua
Last active May 4, 2021 20:17
tables.lua
--[[ Table helper functions --
join(tbl)
shuffle(a)
sort(t, a, b)
t_filter(tbl, filter_fn)
t_find_i(tbl, find_fn) -- find_fn optional, defaults to matching equality with find_fn
t_find(tbl, find_fn) -- find_fn optional, -"-
t_flat(tbl)
t_map(tbl, map_fn)
// ==UserScript==
// @name Stage / Draft mode indicator
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Replaces the admin-mode favicon with a more distinguishable icon
// @author Mosse
// @match https://*.stage.crasman.fi/*
// @match https://*.stage.crasman.cloud/*
// @grant none
// @updateURL https://gist.github.com/thykka/3c924861bf7db32e29638f4964c9d975/raw/draft-mode-indicator.user.js
@thykka
thykka / README.md
Last active November 19, 2020 02:29
SCRIPT-8
@thykka
thykka / README.md
Last active September 20, 2020 11:08
SCRIPT-8
@thykka
thykka / README.md
Last active September 8, 2020 20:33
SCRIPT-8
@thykka
thykka / README.md
Last active September 9, 2020 12:32
SCRIPT-8
@thykka
thykka / README.md
Last active September 5, 2020 23:16
SCRIPT-8
@thykka
thykka / README.md
Last active September 5, 2020 15:23
SCRIPT-8
@thykka
thykka / tmpbli.js
Last active August 25, 2020 11:35
/tmp/bli
i18next.init({
lng: Vue.params.i18nextLanguage,
resources: {
en: {
translation: {
'why collaborate with us': 'Why collaborate with us?',
'our experience, our mood, our skills': `Our experience, our mood and our multiple expertise:
we design and produce cross-channel strategies in an Agile manner
to optimize your profitability.`
),
@thykka
thykka / README.md
Created July 25, 2020 20:55
SCRIPT-8