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 python | |
# vim:fileencoding=utf-8 | |
""" | |
(c) 2014, Mario César Señoranis Ayala <mariocesar.c50@gmail.com> | |
TODO: | |
- Enforce version | |
- Support for --local argument | |
- Support build parameters |
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
diff -u -r nginx/auto/options nginx-patched/auto/options | |
--- nginx/auto/options 2017-09-28 04:50:45.308000000 -0400 | |
+++ nginx-patched/auto/options 2017-09-28 05:00:28.352000000 -0400 | |
@@ -44,7 +44,7 @@ | |
USE_THREADS=NO | |
NGX_FILE_AIO=NO | |
- | |
+NGX_TPROXY=NO | |
HTTP=YES |
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
class test { | |
async main(i = 0){ | |
const timer = this._timer | |
const signal = () => { | |
return new Promise(cb => setImmediate(() => cb(i))) | |
} | |
const otherFunc = async () => { | |
if(timer === this._timer) this._timer = setTimeout(()=>this.main(++i), 0) | |
} | |
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
const otherFunc = async (timer, t, i) => { | |
if(timer === t._timer) { | |
t._timer = setTimeout((t)=>t.main(++i), 0, t) | |
} | |
} | |
class test { | |
async main(i = 0){ | |
const timer = this._timer |
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
const otherFunc = async (timer, t, i) => { | |
if(timer === t._timer) { | |
t._timer = setTimeout(()=>t.main(++i), 0) | |
} | |
} | |
class test { | |
async main(i = 0){ | |
const timer = this._timer |
OlderNewer