-
... der('Content-Type', 'text/html; charset=UTF-8') res.setHeader('Content-Length', String(Buffer.byteLength(body, 'utf-8'))) res.end(body, 'utf-8') }) ``` ### Encode a URL for use in a header field ```js var encodeUrl = require('encodeurl') va ...
-
... w.new(columns, Rect(0, 0, 10, 20)); StaticText.new(columns, Rect(0, 0, 60, 20)).string_(textRow[0]) .palette_(QPalette.dark); StaticText.new(columns, Rect(0, 0, 400, 20)).string_(textRow[1]) .palette_(QPalette.dark); }); SGME_GUIShortcuts.m ...
-
... lowing global variables: ~name: (symbol) name of the spatializer ~description: (string) a short description ~function: the actual definition of the plugin ~setup: optional function that will set up the plugin before server boots It should n ...
-
... taticText(d.win, Rect(i * 100, 0, 96, 20)) .background_(Color.yellow).align_(0).string_(name); }; w = SkipJack({ "...".postln; [\a, \b].do { |name, i| d.views[i].string_(name ++ ":" + d[name]) } }, 0.5, { d.win.isClosed }, "showdict" ); ) d ...
-
... //--gui var plateButtons= List.new; var externalButtons= List.new; var infoTextString; var win= Window("sKeyCpad", winRect); win.layout= HLayout( GridLayout.rows( *plate.collect{|arr| arr.collect{|number| plateButtons.add(Button().states_( ...
-
... s 10fps (10 generations per second). Doing Some Task (optional) setRule (argRuleString) Sets the rule for the CA system. The notation for the rule is the same used in Mirek's Cellebration. It is a string in the format x/y where x and y are ...
-
... or . labelFontColor = c . labelMargin . labelMargin = value . labelX . labelX = string . labelY . labelY = string . levels ( x , y ) . linear ( x , y ) . lines ( x , y ) . pfilled ( x , y , radius ) . plines ( x , y , radius ) . plotBounds ...
-
... + OSSIA { *palette { if (palette.isNil) { palette = QPalette.auto(Color.fromHexString("#222222"), Color.fromHexString("#1d1c1a")); palette.setColor(Color.fromHexString("#c0c0c0c0"), 'windowText'); palette.setColor(Color.fromHexString("#e0b ...
-
... ew Create an ActionQSubMenu Arguments: name The submenu Title items An Array of String , Association (\key->function), MenuAction , or ActionQSubMenu . MenuAction will give you the most customizability. Returns: an ActionMenu Inherited clas ...
-
... t has to be the following: /client set time 6DOF<1> ... 6DOF<n> the used format String (explained in SETObject ) is then ' _ixyzuvw' *new(netaddr, setoClass) netaddr a netaddr, default nil; listening to all. setoClass the Class of the creat ...