This file contains hidden or 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
| -module(editor). | |
| -export([edits/2, edit/2]). | |
| -type command() :: delete | skip | {add, char()} | {replace, char()} | { insert, char() }. | |
| %-spec edit(From :: string(), [command()]) -> string | |
| edit(From, []) -> | |
| From; |
This file contains hidden or 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/php | |
| <?php | |
| /** | |
| * Zabbix notification script, used to send zabbix notifications via pushover | |
| * to smartphones like an SMS. | |
| * | |
| * Usage: sendPushoverNotification <pushover-user-key> <subject> <message> | |
| * @author Marijn Koesen | |
| * @version 0.1 |
This file contains hidden or 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 | |
| # | |
| # This script converts a directory with flacs files to a new directory with | |
| # the same structure, but transcoded to mp3s | |
| # | |
| # Installation: apt-get install id3 flac lame | |
| # | |
| # Usage: flac2mp3 <INPUT flac-directory> <OUTPUT mp3-directory> | |
| # | |
| # Credits: https://wiki.archlinux.org/index.php/Convert_Flac_to_Mp3 |
This file contains hidden or 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
| 698 alias liebdich { | |
| 699 /say 5 | |
| 700 ./timer 1 1 /say 4 | |
| 701 ./timer 1 2 /say 3 | |
| 702 ./timer 1 3 /say 2 | |
| 703 ./timer 1 4 /say 1 | |
| 704 ./timer 1 5 /say ^C4Start! | |
| 705 | |
| 706 ./timer -m 1 14500 /say Ich ziehe durch die Strassen bis nach Mitternacht | |
| 707 ./timer -m 1 17000 /say Ich hab' das frueher auch gern gemacht |
This file contains hidden or 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
| <?php | |
| /** | |
| * Debug helper function for logging and restoring requests. Do not use in | |
| * production environments. | |
| * | |
| * - Logs the URL and all request data (_POST, _GET, _SESSION, _COOKIE etc). | |
| * - With __STATE_DEBUGGER__ parameter in the URL it displays a listing | |
| * of logged requests. | |
| * - Clicking an item in that listing, re-creates that request. |
NewerOlder