This is a literate text for jashkenas/coffeescript#3248
cs = 1 # this is the only line of real code
Now I want some code examples, not part of the coffee code
var js = 2;
js = 3;
<!-- | |
1) correct cssTransformStringUtils | |
angles: require('./angleUtils') // without .js | |
2) grunt.js : add urequire support | |
shell:{ | |
... | |
urequire: { | |
command: 'urequire UMD lib -o distUMD', | |
stdout: true |
# See http://www.traitsjs.org/tutorial.html | |
Trait = require('traits').Trait | |
EnumerableTrait = Trait | |
# the trait requires these properties | |
forEach: Trait.required | |
# the trait provides these properties: | |
map: (fun) -> |
This is a literate text for jashkenas/coffeescript#3248
cs = 1 # this is the only line of real code
Now I want some code examples, not part of the coffee code
var js = 2;
js = 3;
// See https://github.com/cujojs/when/issues/403 | |
// Generated by CoffeeScript 1.8.0 | |
var When, arrayItems, catchCount, esprima, expand, file, fileTxt, files, fs, i, jspath, path, readFileP, _i, _j, _len; | |
fs = require('fs'); | |
When = require('when'); | |
When.node = require('when/node'); |
12:15:16 anodynos : ~/temp/vmware-tools-992/vmware-tools-distrib | |
$ sudo ./vmware-install.pl | |
[sudo] password for anodynos: | |
A previous installation of VMware Tools has been detected. | |
The previous installation was made by the tar installer (version 4). | |
Keeping the tar4 installer database format. | |
You have a version of VMware Tools installed. Continuing this install will |
12:26:54 anodynos : ~/temp/vmware-tools-patches | |
$ ls | |
CHANGELOG.md downloads patches README.md untar-and-patch.sh | |
CONTRIBUTING.md download-tools.sh patch-module.sh untar-all-and-patch.sh VMwareTools-9.9.2-2496486.tar.gz | |
download-patches.sh LICENSE patch-modules.sh untar-and-patch-and-compile.sh | |
12:26:55 anodynos : ~/temp/vmware-tools-patches | |
$ git log HEAD | |
commit 19d5e2f68db4cdc835747102102d8661f8c670a9 | |
Author: Ross Smith II <[email protected]> |
12:56:47 anodynos : ~/temp/vmware-tools-patches | |
$ sudo ./untar-and-patch-and-compile.sh | |
[sudo] password for anodynos: | |
=== Patching ./VMwareTools-9.9.0-2304977.tar.gz ... | |
Uninstalling the tar installation of VMware Tools. | |
Stopping services for vmware-tools | |
vmware-tools stop/waiting |
13:02:35 anodynos : ~/temp/VMware Tools9.9/vmware-tools-distrib | |
$ sudo ./vmware-install.pl | |
[sudo] password for anodynos: | |
A previous installation of VMware Tools has been detected. | |
The previous installation was made by the tar installer (version 4). | |
Keeping the tar4 installer database format. | |
You have a version of VMware Tools installed. Continuing this install will |
A bug with "[email protected]" or our server / setup, prevents the Alsatian test runner from finishing. | |
Our initial idea was the express Server was not closing, a common nodejs scenario, which would prevent the tests from finishing. | |
But it seems it is not for sure the case, plus we can't reproduce the problem ouside our codebase - hence we can't open an issue on the Alsatian repo. | |
Things we've tried: | |
- Tried combination of above and most other tricks in [stackoverflow](https://stackoverflow.com/questions/14626636/how-do-i-shutdown-a-node-js-https-server-immediately?noredirect=1&lq=1). | |
- Tried manually keeping track & destroying open sockets (`server.on("connection", socket => // add to array` and `socket.on('close', => // remove from array )` and calling `socket.destroy` on remaining ones. | |
- Tried `setImmediate(() => this.server.emit('close'))` |