This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#-*- coding: utf-8 -*- | |
# Very simple tetris implementation | |
# | |
# Control keys: | |
# Down - Drop stone faster | |
# Left/Right - Move stone | |
# Up - Rotate Stone clockwise | |
# Escape - Quit game |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hide wikipedia donation nagscreen | |
// @description Wikimedia, I already give you money, leave me alone! | |
// @version 3 | |
// @grant GM.setValue | |
// @grant GM.getValue | |
// @match https://*.wikipedia.org/* | |
// ==/UserScript== | |
(async function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name YouTube minus autoplay and suggestions | |
// @description Removes suggestions in sidebar and end of video. Also disables autoplay. | |
// @version 1 | |
// @grant none | |
// @include https://www.youtube.com/watch* | |
// ==/UserScript== | |
(function() { | |
var styles = ` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name immobilienscout++ | |
// @namespace kch42 | |
// @include http://www.immobilienscout24.de/Suche/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
/* | |
* Immobilienscout24 Suche verbessern. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Warmmiete in Suche immowelt | |
// @namespace kch42 | |
// @include http://www.immowelt.de/immobilien/immoliste.aspx* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
function mkinfoelem(label, data) { | |
var info = document.createElement("div"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# gmail2opera.py | |
# Copyright (c) 2010 Kevin Chabowski | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Released under the WTFPL (wtfpl.org). | |
URL="http://www.ruthe.de" | |
toonid=`curl -s $URL | sed -n 's/^.*archiv\.php\?.*id=\([0-9]*\).*/\1/p' | sed 1q` | |
now=`date +%Y-%m-%dT%H:%M:%SZ` | |
echo -n "<?xml version=\"1.0\" encoding=\"utf-8\"?> | |
<feed xmlns=\"http://www.w3.org/2005/Atom\"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/* | |
This will repair the metadata of the packages in your repository. | |
Place it into the root directory of your reository and run it via the terminal (php fix.php). | |
If everything has worked, nothing will be printed. | |
You should delete this script after fixing the metadata. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# backup-bitcoins.sh - Easily create encrypted backups of your Bitcoin wallet | |
# You need this tools / programs to run backup-bitcoins.sh: | |
# * 7z (usually in the package 7zip) | |
# * uuidgen (usually already installed) | |
# | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# |
NewerOlder