Skip to content

Instantly share code, notes, and snippets.

View piscisaureus's full-sized avatar
🦕

Bert Belder piscisaureus

🦕
View GitHub Profile
D:\sl-release>npm install --production --save --rollback false strong-agent
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No readme data.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
:: Start collecting events into output.etl
logman start node -ow -p {77754E9B-264B-4D8D-B981-E4135C1ECB0C} -ets -o output.etl
:: Do stuff with node. All node processes are traced.
node myscript.js
:: Stop collecting events.
logman stop node -ets
:: Convert the log from binary format to xml. You can also do this while the collector is running.
tracerpt output.etl -o output.xml
/*
* Enable or disable blocking mode for a stream.
*
* When blocking mode is enables all writes complete synchronously. The
* interface remains unchanged otherwise, e.g. completion or failure of the
* operation will still be reported through a callback which is made
* asychronously.
*
* Relying too much on this API is not recommended. It is likely to change
* significantly in the future.
var fs = require('fs');
var path = require('path');
var files = process.argv.slice(2);
console.log(files);
nextFile();
function nextFile() {
Status Code: 500
Exception: java.lang.NullPointerException
Stacktrace:
javax.servlet.ServletException: java.lang.NullPointerException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
:: Created by npm, please don't edit manually.
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\.\node_modules\npm\bin\npm-cli.js" %*
) ELSE (
node "%~dp0\.\node_modules\npm\bin\npm-cli.js" %*
)
@piscisaureus
piscisaureus / bla.c
Last active December 17, 2015 03:19
int process_read_last_line(process_info_t *p,
char * buffer,
size_t buffer_len) {
DWORD size, read, start;
OVERLAPPED overlapped;
assert(buffer_len > 0);
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.17 (MingW32)
mQENBE/pEkoBCACtr5WCAklniyuawn8jLoU7iE5RJ3KjgRpp9Jp7oYczCXgjK3ta
SQwACbjYHN6mO/mW7povj6bpYjwQbRriIGOOQbM5stsi1iSOgl7M7LRQWEkOCFuI
pjnL/LEgrcO2fVskINf86MyXgBTfTW3szDp+WDDGHoXFis17B17wRkTNJMm6sJ+L
INLTsjLo++6aHjHmCYmY5jmP2kMfI3kiYkGMG6r3RaOEqq9TJc1cGFqNEdg46Gio
4NUkeiOE1lPoe1h0x0PIXn2AJmJt0bfuqVFAD4/5i9cfg990Ly3MnnydKV3ALuLQ
n2rwyY4DtnkDY7LONt1qDW/NzjAZz3DW7lTxABEBAAG0IkJlcnQgQmVsZGVyIDxi
ZXJ0YmVsZGVyQGdtYWlsLmNvbT6JATUEEwECAB8FAk/pEkoCGwMGCwkIBwMCBBUC
HTTP/1.1 204 No Content
Server: GitHub.com
Date: Fri, 12 Apr 2013 21:59:21 GMT
Connection: keep-alive
Status: 204 No Content
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-OAuth-Scopes, X-Accepted-OAuth-Scopes
Access-Control-Max-Age: 86400
Access-Control-Allow-Headers: Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-Requested-With
Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE
echo Windows binary / installer downloads
grep "node-v0.10.0-x86.msi" nodejs.access_log | wc -l
grep "node-v0.10.0-x64.msi" nodejs.access_log | wc -l
grep "0.10.0/node.exe" nodejs.access_log | wc -l
grep "0.10.0/x64/node.exe" nodejs.access_log | wc -l