Skip to content

Instantly share code, notes, and snippets.

View TK009's full-sized avatar
😼

Tuomas Keyriläinen TK009

😼
View GitHub Profile
@TK009
TK009 / trello-progress.user.js
Created June 20, 2016 08:19
Add a thin progress bar to trello cards that have a checklist
// ==UserScript==
// @name Trello card progress
// @namespace trello
// @author Tuomas Kinnunen
// @description Add a thin progress bar to trello cards that have a checklist
// @include https://trello.com/b/*
// @version 1
// @grant none
// ==/UserScript==
window.addEventListener ("load", Greasemonkey_main, false);
@TK009
TK009 / haskelltool-color
Last active August 18, 2016 11:06
Add terminal colors to output messages of ghc, cabal, hlint, etc. This is just a fun little regex hackathon... so if someone likes this and wants to help improve or maintain it, leave comment below
#!/bin/perl -lp
# -w # Note: throws some warnings about using uninitialized vars
#
# Author: Tuomas Kinnunen
#
# Description: colorizes terminal output of some haskell tools: ghc, cabal, hlint
# This script comes without warranty of any kind. Bugs in this script might hide parts of compiler errors.
#
#
# Usage: pipe stdout and stderr to haskelltool-color
@TK009
TK009 / aalto_auto_login.user.js
Last active October 28, 2020 11:37
login with (firefox) remembered aalto account data automatically, also a+ ultimate destination fix
// ==UserScript==
// @name aalto auto login
// @namespace tkscripts
// @description login with (firefox) remembered aalto account data automatically, also a+ ultimate destination fix
// @include https://idp.aalto.fi/idp/Authn/*
// @include https://noppa.aalto.fi/noppa/app
// @include https://oodi.aalto.fi/a/*
// @include https://plus.cs.hut.fi/
// @include https://plus.cs.hut.fi/accounts/login/?*
// @include https://plus.cs.aalto.fi/
@TK009
TK009 / mal-autologin.user.js
Created October 5, 2014 01:10
login with (firefox) remembered mal account data automatically, also ultimate destination for animelist.
// ==UserScript==
// @name mal_auto_login
// @namespace tkscripts
// @description login with (firefox) remembered mal account data automatically, also ultimate destination for animelist
// @include http://myanimelist.net/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// @version 1.1
// @grant none
// ==/UserScript==
@TK009
TK009 / updateHtmlCal.sh
Last active August 29, 2015 14:06
Generate monospace ascii html file from `remind` reminders.
#!/usr/bin/sh
# author: Tuomas Kinnunen
# last update: Mon 22 Sep 17:29:03 EEST 2014
# ------------------------------------------------------------------------------
# Generates monospace ascii html file from `remind` reminders.
# usage: just call this script daily to update the static html file, $DESTINATION
# Source of reminders
REMINDERS=$HOME/.reminders