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/mididings -f | |
| from mididings import * | |
| config( | |
| out_ports = ['GM1', 'GM2'], | |
| ) | |
| def kf(sd, drumkit): | |
| s, d = sd | |
| d2 = drumkit[d] |
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
| UA-25EX | |
| JACK | |
| Buffer Size: 512 | |
| Periods/Buffer: 2 | |
| Input Latency: 0 frames | |
| Output Latency: 0 frames | |
| 2396.074 frames 54.333 ms total roundtrip latency | |
| extra loopback latency: 860 frames |
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
| from mididings import * | |
| config( | |
| out_ports = ['sampler'], | |
| ) | |
| drums = Velocity(curve=-2.5) >> [ | |
| KeyFilter(notes=[36]) >> Key(36), KeyFilter(notes=[37]) >> Key(37), | |
| KeyFilter(notes=[38]) >> Key(38), KeyFilter(notes=[39]) >> Key(39), | |
| KeyFilter(notes=[40]) >> Key(40), KeyFilter(notes=[41]) >> Key(41), |
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
| diff --git a/electrum b/electrum | |
| index b9ab196..2661de0 100755 | |
| --- a/electrum | |
| +++ b/electrum | |
| @@ -83,7 +83,7 @@ def check_imports(): | |
| except Exception: | |
| sys.exit("cannot import ecdsa.curve_secp256k1. You probably need to u | |
| # make sure that certificates are here | |
| - assert os.path.exists(requests.utils.DEFAULT_CA_BUNDLE_PATH) | |
| + #assert os.path.exists(requests.utils.DEFAULT_CA_BUNDLE_PATH) |
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
| onlynet=tor | |
| proxy=127.0.0.1:9050 | |
| externalip=ojszvqyjucfuyj7p.onion | |
| listen=1 | |
| #addnode=mainnet.z.cash | |
| addnode=fhsxfrwpyrtoxeal.onion | |
| addnode=w3dxku36wbp3lowx.onion | |
| addnode=zcash2iihed2wdux.onion | |
| addnode=zcash5adwfpxfuvf.onion | |
| addnode=zcasha3cmfrpy7b7.onion |
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
| [center][img]http://monacoin.org/img/monacoin.png[/img] | |
| [size=15pt]http://monacoin.org/en/[/size] | |
| [b][color=blue][size=15pt]Specifications[/size][/color][/b] | |
| Algorithm: Scrypt | |
| Premine: none | |
| Block reward: 50 MONA | |
| Block time: 1.5 minutes | |
| Retarget: 1 block (DigiShield difficulty algorithm. Hard Fork at block 140000) |
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
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "path" | |
| "strings" | |
| ) | |
| type Layer struct { |
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
| diff --git a/drmr.c b/drmr.c | |
| index 5b8cf81..7ec9644 100644 | |
| --- a/drmr.c | |
| +++ b/drmr.c | |
| @@ -260,6 +260,7 @@ if (ch < 0 || channel == ch) { | |
| nn = data[1]; | |
| nn-=baseNote; | |
| if (kit != NULL) nn = mod_nn(nn, kit->samples); | |
| +if (!drmr->samples[nn].active || drmr->samples[nn].offset > 10) { | |
| trigger_sample(drmr,nn,data); |
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
| FROM debian:jessie | |
| RUN apt-get update && \ | |
| apt-get install -y bittorrent && \ | |
| apt-get clean | |
| CMD bttrack --dfile dfile --port 6969 | |
| # docker build -t bttrack . | |
| # docker run -d -p 6969:6969 bttrack |
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
| FROM node | |
| RUN apt-get update && \ | |
| apt-get install -y xvfb libgtk2.0-0 libxtst-dev libxss-dev libgconf2-dev \ | |
| libnss3 libasound2-dev && \ | |
| apt-get clean | |
| RUN npm install webtorrent-hybrid -g | |
| RUN mkdir work | |
| WORKDIR work | |
| CMD webtorrent-hybrid download \ | |
| e14cef00945a8d99dc74d65cf52dcb892cf48ed1 \ |