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
oakmac@oakmac-desktop:~$ node puzzle.js | |
75 total option objects | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
Mon: George Bixby, Marketing, Apple | |
Tue: Michael Crawford, Finance, Windows | |
Wed: John Maxwell, Customer Service, Apple | |
Thu: Elliot Almond, Manufacturing, Windows | |
Fri: Harvey Grace, Engineering, Windows | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
2373046875 total option combinations |
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
<!doctype html> | |
<html lang="en-us"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta content="IE=edge" http-equiv="X-UA-Compatible" /> | |
<title>z-index Layering Example</title> | |
<style> | |
* { | |
margin: 0; | |
padding: 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
```in | |
(defn foo [x] | |
(bar) ;; comment1 | |
(baz) ;; comment2 | |
``` | |
```out | |
(defn foo [x] | |
(bar) ;; comment1 | |
(baz)) ;; comment2 |
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
;; this input | |
(defn foo | |
([x] (foo x nil)) | |
([x y] | |
(bar x (if y y {})))) | |
;; produces this output when ran through parinfer | |
(defn foo | |
([x] (foo x nil)) | |
([x y |
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
atom-text-editor::shadow { | |
span.meta.symbol.clojure { | |
font-style: italic; | |
} | |
} |
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
Running Indent Mode tests... | |
Test 7 was a success. | |
Test 21 was a success. | |
Test 35 was a success. | |
Test 49 was a success. | |
Test 63 was a success. | |
Test 87 was a success. | |
Test 97 was a success. | |
Test 111 was a success. | |
Test 121 was a success. |
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
oakmac@oakmac-desktop:~/parinfer.py$ python tests.py | |
.. | |
---------------------------------------------------------------------- | |
Ran 2 tests in 0.073s | |
OK | |
oakmac@oakmac-desktop:~/parinfer.py$ |
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
oakmac@oakmac-desktop:~/parinfer.py$ python perf.py | |
Testing file with 2864 lines | |
Indent Mode: 1.288776 s | |
Paren Mode: 1.374673 s | |
oakmac@oakmac-desktop:~/parinfer.py$ python perf.py | |
Testing file with 2864 lines | |
Indent Mode: 1.3307 s | |
Paren Mode: 1.394969 s | |
oakmac@oakmac-desktop:~/parinfer.py$ python perf.py | |
Testing file with 2864 lines |
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
(def people [ | |
{ | |
:first-name "Phil" | |
:last-name "Gambling" | |
:age 31 | |
} | |
{ | |
:first-name "Chris" | |
:last-name "Pounds" | |
:age 26 |
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
var people = [ | |
{ | |
firstName: 'Phil', | |
lastname: 'Gambling', | |
age: 31 | |
}, | |
{ | |
firstName: 'Chris', | |
lastName: 'Pounds', | |
age: 26 |
OlderNewer