PID | COMMAND | %CPU | TIME | #PORTS | MEM |
---|---|---|---|---|---|
35084 | node | 2.2 | 19:55.75 | 29 | 73M+ |
'use strict';
#!/bin/bash | |
# Example usage | |
# cat modules | while LINE='$\n' read -r LINE; do ./valid.sh $LINE; done; | |
MODULE=$1 | |
if [ -z "$MODULE" ]; then | |
MODULE=$(tee); | |
fi | |
SITE=$(curl -s https://www.npmjs.com/package/${MODULE} | pup 'body > div.container.content > div.sidebar > ul:nth-child(3) > li:nth-child(2) > strong text{}') |
# HELP http_requests_total The total number of HTTP requests. | |
# TYPE http_requests_total counter | |
http_requests_total{method="post",code="200"} 1027 1395066363000 | |
http_requests_total{method="post",code="400"} 3 1395066363000 | |
# Escaping in label values: | |
msdos_file_access_time_seconds{path="C:\\DIR\\FILE.TXT",error="Cannot find file:\n\"FILE.TXT\""} 1.458255915e9 | |
# Minimalistic line: | |
metric_without_timestamp_and_labels 12.47 |
'use strict'; | |
function Mule (obj, ...args) { | |
const mule = new Proxy({}, { | |
get: function (target, prop, receiver) { | |
const topKeys = Object.keys(target); | |
if (topKeys.includes(prop)) { | |
return target[prop]; | |
} |
until curl https://github.com/nodejs/node/releases/tag/v5.0.0 -f -s; do sleep 60; done; open http://imagesmtv-a.akamaihd.net/uri/mgid:file:http:shared:mtv.com/news/wp-content/uploads/2015/06/yas-gif-1435361093.gif |
/* Copyright (c) 2010-2015 Richard Rodger, MIT License */ | |
'use strict' | |
var _ = require('lodash') | |
var Jsonic = require('jsonic') | |
var Common = require('./common') | |
var internals = {} |
`.,:;:,`` | |
,'''''''''''';` | |
`;''''''''''''''''', | |
;'''''''''''''''''''. | |
.''''''''''''''''''''; | |
;' |
var Http = require('http'); | |
var Fs = require('fs'); | |
var Url = require('url'); | |
var server = Http.createServer(function (req, res) { | |
res.writeHead(200); | |
res.end(); | |
}); |