This file contains hidden or 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
| node_modules/typescript/bin/tsc --jsx 'react' -t 'ES6' -w | awk " | |
| /message TS6032/ { print \"$YELLOW\" \$0 \"$NORMAL\"; next } | |
| /message TS6042/ { print \"$GREEN\" \$0 \"$NORMAL\"; next } | |
| /error TS[0-9]+/ { print \"${BRIGHT}${RED}\" \$0 \"$NORMAL\"; next } | |
| { print \$0 } | |
| " |
This file contains hidden or 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
| (function() { | |
| 'use strict'; | |
| function aa() { | |
| return function() {} | |
| } | |
| function d(a) { | |
| return function(b) { | |
| this[a] = b |
This file contains hidden or 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
| #include <Windows.h> | |
| int main() { | |
| if (!OpenClipboard(NULL)) { | |
| __asm int 3 | |
| } | |
| HGLOBAL mem = GlobalAlloc(GMEM_MOVEABLE, 12); | |
| memcpy(GlobalLock(mem), "hello world", 12); | |
| GlobalUnlock(mem); |
This file contains hidden or 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
| (function (){ | |
| var True = true; | |
| var False = false; | |
| var require1 = (function (){ | |
| var $0 = require; | |
| return $0; | |
| } | |
| )(); | |
| var http = (function (){ | |
| var $1 = require1("http"); |
This file contains hidden or 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
| let require1 = _unsafe_js("require"); | |
| let http = require1("http"); | |
| let console = require1("console"); | |
| let PORT = 8080; | |
| fun handleRequest(request, response) { | |
| response.end("It Works!!"); // Path Hit: " + request.url); | |
| return (); |
This file contains hidden or 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
| https://babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&code=import%20{%20Component%20}%20from%20%22react%22%3B%0A%0Aexport%20var%20Enhance%20%3D%20ComposedComponent%20%3D%3E%20class%20extends%20Component%20{%0A%20%20constructor%28%29%20{%0A%20%20%20%20super%28%29%3B%0A%20%20%20%20this.state%20%3D%20{%20data%3A%20null%20}%3B%0A%20%20}%0A%20%20componentDidMount%28%29%20{%0A%20%20%20%20this.setState%28{%20data%3A%20%27Hello%27%20}%29%3B%0A%20%20}%0A%20%20render%28%29%20{%0A%20%20%20%20return%20%3CComposedComponent%20{...this.props}%20data%3D{this.state.data}%20%2F%3E%3B%0A%20%20}%0A}%3B&%20typeof%20v.then%20=%3D%3D%20%22function%22%3B%0A}%0A%0Alet%20q%20%3D%20%28...args%29%20%3D%3E%20{%20return%20z%28...args%29%3B%20}%0A%0Alet%20f%20%3D%20%28%29%20%3D%3E%20e.push%28%27hi%27%29%3B%0A%0Aclass%20ExtendableError%20extends%20Error%20{%0A%20%20constructor%28message%29%20{%0A%20%20%20%20super%28%29%3B%0A%20%20%20%20this.message%20%3D%20message%3B%20%0A%20%20%20%20this.stack%20%3D%20%28new%20Er |
This file contains hidden or 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
| multiApp :: Exp -> [Exp] -> Exp | |
| multiApp fn [] = error "Cannot apply zero arguments" | |
| multiApp fn [param] = AppE fn param | |
| multiApp fn params = AppE (multiApp fn $ init params) (last params) |
This file contains hidden or 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
| examples/basic/BasicTest.hs:7:5: | |
| Illegal variable name: ‘Equal’ | |
| When splicing a TH expression: | |
| \x_0 x_1 -> Battery.Test.assert' (['e', | |
| 'x', | |
| 'a', | |
| 'm', | |
| 'p', | |
| 'l', | |
| 'e', |
This file contains hidden or 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
| package abstracttest | |
| import ( | |
| "fmt" | |
| "testing" | |
| . "gopkg.in/check.v1" | |
| ) | |
| type MySuite struct { | |
| impl func()int |
This file contains hidden or 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
| package abstracttest | |
| import ( | |
| "testing" | |
| . "gopkg.in/check.v1" | |
| ) | |
| type MySuite struct { | |
| impl func()int | |
| } |