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/sh | |
# | |
# Split a wav file or similar accoring to the given cue sheet. | |
# | |
# Usage: | |
# splitcue mycue.cue mywav.wav | |
# | |
cat $1|shnsplit -o flac -t "%n - %t" $2 |
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
// ==UserScript== | |
// @name Fix input fields | |
// @namespace snake66 | |
// @description Fix input fields with unreadable text | |
// @include http://*/* | |
// @include https://*/* | |
// @version 2 | |
// @grant none | |
// ==/UserScript== |
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
// Simple test for using std::function with inheritance | |
#include <functional> | |
#include <iostream> | |
class Base | |
{ | |
public: | |
virtual void do_it(const std::string & s) | |
{ | |
std::cout << "Doing " << s << std::endl; |
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
; 99 bottles of beer program for Viua VM Assembler | |
; Copyright (C) 2015 Harald Eilertsen | |
; | |
; This program is free software: you can redistribute it and/or modify | |
; it under the terms of the GNU General Public License as published by | |
; the Free Software Foundation, either version 3 of the License, or | |
; (at your option) any later version. | |
; | |
; This program is distributed in the hope that it will be useful, | |
; but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
# A simple filter to mould the csv from nordea into | |
# something that can be swallowed by gnucash. | |
BEGIN { | |
FS = ";"; | |
RS = "\n"; | |
OFS = ";"; | |
ORS = "\n"; | |
# Regex for matching a date |