This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location / { | |
rewrite "^/htxg/amp/(.*)/(.*)/(\?.*)??" "/priv/doc?sign=https://www.pinterest.com/amp/$1/$2/" break; | |
proxy_pass http://localhost:8080; | |
include /etc/nginx/conf.d/proxy.conf; | |
set $upstream_name localhost:8080; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<testsuite name="flow-annotation-check" timestamp="2017-06-11T23:03:59.736Z" time="0" hostname="undefined" tests="32" failures="3" errors="0"> | |
<testcase classname="src/__tests__/cli-test.js" name="HasFlowStatus" time="0" /> | |
<testcase classname="src/__tests__/core-test.js" name="HasFlowStatus" time="0" /> | |
<testcase classname="src/__tests__/fixtures/comment-blocks-09.flow.js" name="HasFlowStatus" time="0" /> | |
<testcase classname="src/__tests__/fixtures/comment-blocks-10.js" name="HasFlowStatus" time="0"><failure type="HasNoneStatus">File has status no flow</failure></testcase> | |
<testcase classname="src/__tests__/fixtures/comment-single-block-09.flow.js" name="HasFlowStatus" time="0" /> | |
<testcase classname="src/__tests__/fixtures/comment-single-block-10.flow.js" name="HasFlowStatus" time="0" /> | |
<testcase classname="src/__tests__/fixtures/comment-statement-09.flow.js" name="HasFlowStatus" time="0" /> | |
<testcase classname="src/__tests__/fixtures/comment-statement-10.js" name="HasFlowStatus" time="0"><failure type="Ha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
pr() { | |
for j in {1..20}; do | |
echo $j | |
done | |
} | |
main() { | |
pr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// some module that might not be loaded on the page right away. | |
var Something = { | |
handleClick: function(e) { | |
console.log(+new Date(), 'click handled', e); | |
} | |
}; | |
// (fake) fancy dynamic bootloader to get modules on the fly | |
var Bootloader = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* jshint node:true */ | |
'use strict'; | |
var gulp = require('gulp'); | |
var source = require('vinyl-source-stream'); | |
var browserify = require('gulp-browatchify'); | |
var reactify = require('reactify'); // reactify transform | |
var rework = require('gulp-rework'); | |
var at2x = require('rework-plugin-at2x'); | |
var csso = require('gulp-csso'); | |
var vars = require('rework-vars'); |