-
... ` property may not be there or may not be a string, and `toString` may not be a function and instead a string or other user input. [Learn about the anatomy of an HTTP transaction in Node.js](https://nodejs.org/en/docs/guides/anatomy-of-an-h ...
-
... ttp = require('http') var send = require('send') var server = http.createServer(function onRequest (req, res) { send(req, '/path/to/index.html') .pipe(res) }) server.listen(3000) ``` ### Serve all files from a directory This simple example ...
-
/* Functional Reactive Programming based on reactive-core http://www.reactive-web.co.cc/ //////////////////////////////////////////////////////////////////////////////////////////////////////// Original license: https://github.com/nafg/reac ...
-
... oreIDs * bstores * dstoreIDs * dstores * indexArr * info * loadBPreset ( name , function ) * loadDPreset ( name ) * loadPreset ( name , function ) * removeAt ( index ) * removeBStores * removeDStores * removeStores * saveBPreset ( name ) * ...
-
... www.gnu.org/licenses/>. It is possible to add more type instances by adding the functions directly to the dict from the initClass function of the class that one wants to make an instance of some type class. Memory tests: ~consume = { |xs| 0 ...
-
... er of syntax shortcuts featured in wslib shortcuts documented here: Synth:sched Function:render SCWindow:decorate ( margin, gap ) Env:kr ( doneAction, gate, mul, add, timeScale ) Array:fft ( imag ), Array:ifft ( imag ) String:spth / String. ...
-
deltaStream a small collection of Instr functions that create Patterns for beat deltas. ( Pbind ( \dur , Instr ( "deltaStream.geomHesitate" ).value([ -4 , 6, 0, 3 , 2 ]) ).play; ) ( p = Instr ( "deltaStream.geomHesitateAndWander" ); // retu ...
-
// SETODictObj is an object where you can set custom functions for each classID: SETODictObj.setAction(1, {|me| "%: Hello, I'm a first class object\n".postf(me)} ); // It is also possible to set the same function for a range of classIDs SET ...
-
... this.doInval({|item| array = array.add(item); }, inval); ^array } doInval { arg function, inval; var item, i=0; while { item = this.next(inval); item.notNil }{ function.value(item, i); i = i + 1; inval = item; }; ^inval } } */
-
... aybe there already is something like this // somewhere in the lib? histDo { arg function; var i=0; // use // [...].histDo({ |item, prevItem, i| ... }); while ({ i < this.size }, { function.value(this[i], this[i-1], i); i = i + 1; }) } clump ...