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
| $set(_unwantedchars,[’`'”\\-/\\\\\\|;:\\*\\?!&\\[\\]\\{\\}<>\\\,\\.\$]) | |
| $set(_releaseartist,$replace($rreplace($if($or($eq(%musicbrainz_albumartistid%,89ad4ac3-39f7-470e-963a-56509c546377),$inmulti(%releasetype%,compilation),$inmulti(%releasetype%,dj-mix),$ne(%djmixer%,)),%albumartist%,%artist%),%_unwantedchars%,), ,_)) | |
| $set(_releasealbum,$replace($rreplace(%album%,%_unwantedchars%,), ,_)) | |
| $set(_releasetracknum,$if($gt(%totaldiscs%,1),%discnumber%-,)$num(%tracknumber%,$if($gt(%totaltracks%,99),3,2))) | |
| $set(_releasetrack,$replace($rreplace(%title%,%_unwantedchars%,), ,_)) | |
| %_releaseartist%/ | |
| %_releaseartist%-%date%-%_releasealbum%/ | |
| %_releasetracknum%-%_releasetrack% |
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
| # usage: datediffs 1915-2145 1400-2000 915-1400 | |
| function datediffs() { | |
| for arg | |
| do | |
| # datediff ${(s:-:)arg} -f%H:%0M | |
| for words in $arg; do | |
| # echo arg: $arg | |
| DDRANGE=$(echo ${(s:-:)arg}) | |
| # echo dd: $DDRANGE | |
| DDRANGE2=$(sed -e 's/./&:/7;s/./&:/2' <<< $DDRANGE) |
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
| ``` | |
| ... | |
| Searching covers: 1%|▍ | 3/511 [00:09<35:43, 4.22s/ covers, ok=0, errors=0, no result found=3]) = 171 | |
| close(101) = 0 | |
| close(108) = 0 | |
| recvfrom(70, "\361H\262y\214l\220z\24\334\322oM\23\220\7\301 \26; \300G\27\3\3\5\205\232\253\253J"..., 262144, 0, NULL, NULL) = 1418 | |
| epoll_wait(3, [{EPOLLIN, {u32=73, u64=139844135157833}}], 52, 0) = 1 | |
| fcntl(23, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 | |
| fcntl(23, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741826, l_len=510}) = 0 | |
| fcntl(23, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 |
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
| div.header a img { display: none; } | |
| div.header h2 { top: 12px; } | |
| div.header h2 small { display: none; } | |
| div.project-header { background-color: #458131; border-bottom: 0;} | |
| header { padding: 0px 10px !important; height: 3em; } | |
| body { background-color: rgb(81, 152, 57) !important } |
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
| data:text/html;base64,PHRpdGxlPkRvSlM8L3RpdGxlPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+I2V7Zm9udC1zaXplOiAxNnB4OyBwb3NpdGlvbjphYnNvbHV0ZTt0b3A6MDtyaWdodDowO2JvdHRvbTowO2xlZnQ6MDt9PC9zdHlsZT48ZGl2IGlkPSJlIj48L2Rpdj48c2NyaXB0IHNyYz0iaHR0cHM6Ly9yYXdnaXRodWIuY29tL2FqYXhvcmcvYWNlLWJ1aWxkcy9tYXN0ZXIvc3JjLW1pbi1ub2NvbmZsaWN0L2FjZS5qcyIgdHlwZT0idGV4dC9qYXZhc2NyaXB0IiBjaGFyc2V0PSJ1dGYtOCI+PC9zY3JpcHQ+PHNjcmlwdCBzcmM9Imh0dHBzOi8vcmF3Z2l0aHViLmNvbS9hamF4b3JnL2FjZS1idWlsZHMvbWFzdGVyL3NyYy1taW4tbm9jb25mbGljdC9rZXliaW5kaW5nLXZpbS5qcyIgdHlwZT0idGV4dC9qYXZhc2NyaXB0IiBjaGFyc2V0PSJ1dGYtOCI+PC9zY3JpcHQ+PHNjcmlwdD52YXIgZT1hY2UuZWRpdCgiZSIpO2Uuc2V0VGhlbWUoImFjZS90aGVtZS9tb25va2FpIik7ZS5zZXRLZXlib2FyZEhhbmRsZXIoYWNlLnJlcXVpcmUoImFjZS9rZXlib2FyZC92aW0iKS5oYW5kbGVyKTtlLmdldFNlc3Npb24oKS5zZXRNb2RlKCJhY2UvbW9kZS9qYXZhc2NyaXB0Iik7PC9zY3JpcHQ+ |
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/env bash | |
| echo -e "n\n\n\n\n+512M\n n\n\n\n\n+1G\n n\n\n\n\n\n a\n1\n t\n2\n82\nw\n"|fdisk /dev/vda |
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 Trello List Column Colours | |
| // @description Highlight certain columns in Trello. | |
| // @include https://trello.com/b/AdniCH2y/to-do | |
| // @require https://code.jquery.com/jquery-1.11.0.min.js | |
| // @version 2.1 | |
| // @copyright 2014, Gareth J M Saunders | |
| // ==/UserScript== | |
| $(document).ready(function() { |
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
| # Maintainer: Your Name <milk on freenode> | |
| pkgname=milk-meta | |
| pkgver=0.1 | |
| pkgrel=1 | |
| epoch= | |
| pkgdesc="Package bootstrap" | |
| arch=('x86_64') | |
| url="" | |
| license=('GPL') | |
| groups=() |
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/env python | |
| # m_ctrl.py - mididings things | |
| # scene_1 maps s/m/r buttons to seq64 pattern grid | |
| # scene_2 to map control to a channel strip | |
| # http://dsacre.github.io/mididings/doc/genindex.html | |
| from mididings import * | |
| # for sending LED scene changes |
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/env python | |
| # m_ctrl.py - mididings things | |
| # scene_1 maps s/m/r buttons to seq64 pattern grid | |
| # scene_2 to map control to a channel strip | |
| # http://dsacre.github.io/mididings/doc/genindex.html | |
| from mididings import * | |
| # for sending LED scene changes |