Cf. https://docs.npmjs.com/misc/config#environment-variables
Does not affect npm:
$ npm_config__foo_registry='http://localhost:4873' npm run print-env | grep localhost
# prints nothingWorks, as expected:
| 'use strict'; | |
| var pkg = require('./package.json'); | |
| var gulp = require('gulp'); | |
| var utils = require('gulp-util'); | |
| var source = require('vinyl-source-stream'); | |
| var isWatching = false; | |
| var isProduction = process.env.NODE_ENV === 'production'; |
Cf. https://docs.npmjs.com/misc/config#environment-variables
Does not affect npm:
$ npm_config__foo_registry='http://localhost:4873' npm run print-env | grep localhost
# prints nothingWorks, as expected:
| 172.17.42.1 - - [13/Jan/2015 11:13:16] "GET /static/ajax-loader.gif HTTP/1.0" 500 59 | |
| ---------------------------------------- | |
| Exception happened during processing of request from ('172.17.42.1', 43923) | |
| Traceback (most recent call last): | |
| File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock | |
| self.process_request(request, client_address) | |
| File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request | |
| self.finish_request(request, client_address) | |
| File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request | |
| self.RequestHandlerClass(request, client_address, self) |
| FROM busybox | |
| CMD ["docker", "--tlsverify", "ps"] |
| FROM ubuntu:precise | |
| # make sure system is up-to-date | |
| RUN apt-get update -qq && apt-get install apt-utils -y && apt-get upgrade -y | |
| # install BLAS libraries (needed by scipy) | |
| RUN apt-get install gfortran libopenblas-dev liblapack-dev -y | |
| # install scipy via apt, save build time | |
| RUN apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose -y |
| { | |
| "env": { | |
| "node": true | |
| }, | |
| "rules": { | |
| "global-strict": 1, | |
| "quotes": [2, "single"] | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object:
| <article class="flip" itemscope="" itemtype="http://schema.org/Thing" data-bada55="{ color: '#bada55', name: 'badass', likeUrl: 'http://bada55.io/like/137' }"> | |
| <div class="flip-card flipped"> | |
| <header class="card-face face-front flip-trigger" style="background-color:#bada55"> | |
| <div class="inner"> | |
| <h1 class="card-title" itemprop="name">#bada55</h1> | |
| <h2 class="card-subtitle" itemprop="alternateName">badass</h2> | |
| </div> | |
| </header> | |
| <div class="card-face face-back" style="background-color:#bada55"> | |
| handlebars template.hbs -c 'handlebars' | node -e 'process.stdin.on("data", function(d){ eval(String(d)); console.log(Handlebars.templates["template.hbs"]({ items: ["Node.js", "CSS maintenables", "Open Sky"] })) })' |
[code,javascript] ---- include::source.js[] ----
is rendered as…