Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

@youpy
youpy /a.rb
CreatedJanuary 9, 2017 23:53
tape degradation sim (wip)
constc=newAudioContext();
constreq=newRequest('https://dl.dropboxusercontent.com/u/334064/tmp/wh.mp3');
constsource=c.createBufferSource();
constosc=c.createOscillator();
constgain=c.createGain();
osc.frequency.value=0.4;
gain.gain.value=0.0;
osc.connect(gain)
source.loop=true;

I hereby claim:

  • I am youpy on github.
  • I am youpy (https://keybase.io/youpy) on keybase.
  • I have a public key whose fingerprint is 6453 9125 2A28 2454 8A44 605A A414 3F1F D167 299F

To claim this, I am signing this object:

@youpy
youpy /toc.md
Last activeJune 15, 2017 15:45
Table of contents for The taxonomic studies of the genus Inocybe
  1. Subgenus Inosperma
    1. Section Dulcamarae
    2. Section Rimosae
    3. Section Cervicolors 22
  2. Subgenus Tenuicystidia 26
    1. Section Tenuicystidia 26
  3. Subgenus Leptocybe 27
  4. Section Leptocybe 28
vars=document.createElement('script');
s.setAttribute(
'src',
'https://youpy.github.io/Hoover.js/example/hoover.min.js'
);
s.addEventListener('load',function(){
varhoover=newHoover(newAudioContext());
varinterval=200;
constdouble THRESHOLD =64.0;// +2
// http://makers-with-myson.blog.so-net.ne.jp/2014-04-05
unsignedint on[] = {2552,2680,824,860,820,860,824,1892,852,1868,824,1896,824,1892,828,856,828,856,848,53728,2552,2672,828,860,824,856,824,1896,852,1864,824,1896,824,1896,852,828,828,856,828,53840,2560,2672,828,856,848,836,824,1892,824,1892,828,1892,852,1868,852,832,848,832,828};
unsignedint off[] = {2552,2676,852,832,824,1896,848,832,828,856,828,1892,824,856,852,1868,824,1892,852,53944,2556,2676,824,860,820,1896,828,856,828,852,848,1872,824,856,828,1896,824,1892,824,53844,2552,2676,852,832,824,1896,848,836,824,856,828,1892,824,860,820,1896,828,1888,848};
voidsetup() {
Serial.begin(115200);
pinMode(12, OUTPUT);
analogReference(INTERNAL);
#!/bin/sh
#
# required
# - scala
# - sbt (0.13.7 or higher)
# - Android SDK
set -e -x -u
target=$1
functiondoPost(request){
varsubject;
varcalendarName='gas_review';
if(request){
subject=request.parameters.text[0].replace(/done:*/,'');
}else{
subject='test subject';
}
require'coremidi'
require'nerpin'
micron=Nerpin::Micron(CoreMIDI::Destination.all[1])
micron.patch_cable_2_destination(76)
micron.patch_cable_4_source(17)
micron.patch_cable_4_destination(67)
micron.patch_cable_5_source(6)
micron.patch_cable_5_destination(2)
# coding: utf-8
require'mac-skype'
require'mac-skype/Ruby4Skype'
defmain
text,blob=ARGV
blank='​'
Skype.init
Skype.attach_wait
@youpy
youpy /echoHttpRequest.js
Last activeAugust 29, 2015 14:08— forked fromMarak/echoHttpRequest.js
Echo HTTP requests
module['exports']=functionechoHttp(hook){
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp