Some links to point people to when they misinterpret PATENTS clause or spread false claims.
https://code.facebook.com/license-faq
https://wptavern.com/automattic-will-continue-to-use-react-js-in-calypso-despite-patent-clause
Some links to point people to when they misinterpret PATENTS clause or spread false claims.
https://code.facebook.com/license-faq
https://wptavern.com/automattic-will-continue-to-use-react-js-in-calypso-despite-patent-clause
| #!/bin/sh | |
| #------------------------------------------------------------------------------- | |
| # download/unpack componentry for N|Solid into ~/nsolid | |
| #------------------------------------------------------------------------------- | |
| # directories | |
| DIR_DOWN=~/Downloads | |
| DIR_INST=~/nsolid |
| var jade = require('jade') | |
| , data = require('./data.json') | |
| ; | |
| var header = new Buffer('HTTP/1.1 200 OK\r\n\r\n'); | |
| var server = require('net').createServer(function(conn) { | |
| conn.write(header); | |
| conn.close(); | |
| }).listen(8000); |
This is a really simple implementation of a bloom filter using Redis 2.6's lua scripting facility.
Though it "works", it's just a proof of concept. The choice and implementation of hashing functions leave something to be desired (I'm sure it's a fine implementation of CRC32 that I borrowed, but it's in pure lua, and, well, CRC32 is not the best function to use for a bloom filter).
Caveat Emptor, no refunds, etc. MIT License.
| // A module published to a private registry would optionally have a "registry" | |
| // property that is a reference to the registry where this module is published. | |
| // | |
| // A `npm publish` would publish to the registry in the registry property. | |
| // | |
| // Otherwise, `npm --registry http://private.me:5984/registry/_design/app/_rewrite publish` | |
| // | |
| { | |
| "name": "foo", |
| /** | |
| * A quick little thingy that takes a Stream instance and makes | |
| * it emit 'line' events when a newline is encountered. | |
| * | |
| * Usage: | |
| * ‾‾‾‾‾ | |
| * emitLines(process.stdin) | |
| * process.stdin.resume() | |
| * process.stdin.setEncoding('utf8') | |
| * process.stdin.on('line', function (line) { |
| #!/usr/bin/env node | |
| var os = require('os'); | |
| var WebSocketClient = require('websocket').client; | |
| var count = 0; | |
| function recursion() { | |
| var client = new WebSocketClient(); | |
| client.on('connectFailed', function(error) { |
| // Target API: | |
| // | |
| // var s = require('net').createStream(25, 'smtp.example.com'); | |
| // s.on('connect', function() { | |
| // require('starttls')(s, options, function() { | |
| // if (!s.authorized) { | |
| // s.destroy(); | |
| // return; | |
| // } | |
| // |
| // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| // Simple test program invoked with an option to eagerly | |
| // compile all code that is loaded in the isolate. | |
| // VMOptions=--compile_all | |
| class HelloDartTest { | |
| static testMain() { | |
| print("Hello, Darter!"); |