assert(os.path.basename(os.getcwd()) == path.basename(process.cwd()));
![python.js](https://cdn-ak-scissors.b.st-hatena.com/image/square/c3e6ffb737aa61b017c8acd52b1913aedd9e9343/height=288;version=1;width=512/https%3A%2F%2Fstatic-production.npmjs.com%2F338e4905a2684ca96e08c7780fc68412.png)
発端 React+Fluxのアプリのテストをするのに、requireのモックが必要だった。 だけどJest使いたくない。 そこでこれを使う。 github.com 簡単な使い方 something.js module.exports = 'music'; love.js var something = require('./something.js'); console.log('I love ' + something + '!'); index.js var proxyquire = require('proxyquire'); require('./love.js');// => I love music! proxyquire('./love.js', { './something.js': 'shit' });// => I love shit! require('./somet
class: center, middle # Working with `Array`s and `Object`s in modern JavaScript --- # About Me <img width="100px" src="https://avatars2.githubusercontent.com/u/543633?v=3&s=460"> ### Mohsen Azimi #### Software Engineer @Apigee * Github: [`@mohsen1`](https://github.com/mohsen1) * Twitter: [`@mohsen____`](https://twitter.com/mohsen____) * Website: [`azimi.me`](http://azimi.me) --- # `Array` ### ES5
cURL as DSL¶ github repository Target: Curl Command: Generate Code Reset Result code is printed here. Usage¶ Select target envirionment and type curl command in above text box. You get source code that works as same as curl command. Enjoy! Supported Options¶ It doens’t support fully options of cURL. It supports only options for http 1.x in the following list: [supported options:] --basic Use HTTP
$200K 1 10th birthday 4 abusive ads 1 abusive notifications 2 accessibility 3 ad blockers 1 ad blocking 2 advanced capabilities 1 android 2 anti abuse 1 anti-deception 1 background periodic sync 1 badging 1 benchmarks 1 beta 83 better ads standards 1 billing 1 birthday 4 blink 2 browser 2 browser interoperability 1 bundles 1 capabilities 6 capable web 1 cds 1 cds18 2 cds2018 1 chrome 35 chrome 81
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く