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
| =head1 NAME | |
| randtime.pl - prints datetime randomly | |
| =head1 SYNOPSIS | |
| randtime.pl <options> | |
| # randtime.pl -n 20 | |
| # randtime.pl --date=2014-03-01 -n 20 |
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
| [1] (1.0000000000000000, 1.0000000000000000): 0 | |
| [2] (1.4142135623730951, 1.4142135623730951): 0 | |
| [3] (1.7320508075688772, 1.7320508075688772): 0 | |
| [4] (2.0000000000000000, 2.0000000000000022): 2.220446049250313e-15 | |
| [5] (2.2360679774997898, 2.2360679774997898): 0 | |
| [6] (2.4494897427831779, 2.4494897427831779): 0 | |
| [7] (2.6457513110645907, 2.6457513110645907): 0 | |
| [8] (2.8284271247461903, 2.8284271247461903): 0 | |
| [9] (3.0000000000000000, 3.0000000000000000): 0 | |
| [10] (3.1622776601683795, 3.1622776601683795): 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
| PASS | |
| f("I am learning Go!") = | |
| map[string]int{"I":1, "am":1, "learning":1, "Go!":1} | |
| PASS | |
| f("The quick brown fox jumped over the lazy dog.") = | |
| map[string]int{"dog.":1, "brown":1, "over":1, "lazy":1, "jumped":1, "the":1, "The":1, "quick":1, "fox":1} | |
| PASS | |
| f("I ate a donut. Then I ate another donut.") = | |
| map[string]int{"I":2, "ate":2, "a":1, "donut.":2, "Then":1, "another":1} | |
| PASS |
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
| 0 | |
| 1 | |
| 1 | |
| 2 | |
| 3 | |
| 5 | |
| 8 | |
| 13 | |
| 21 | |
| 34 |
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
| 1 (1+0i) (1+0i) | |
| 2 (1.2599210498948732+0i) (2+0i) | |
| 3 (1.4422495703074083+0i) (3+0i) | |
| 4 (1.5874010519681994+0i) (3.999999999999999+0i) | |
| 5 (1.709975946676697+0i) (5.000000000000001+0i) | |
| 6 (1.8171205928321397+0i) (6+0i) | |
| 7 (1.9129311827723892+0i) (7.000000000000001+0i) | |
| 8 (2+0i) (8+0i) | |
| 9 (2.080083823051904+0i) (9+0i) | |
| 10 (2.154434690031884+0i) (10.000000000000002+0i) |
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
| class Foobar | |
| list: null | |
| constructor: -> | |
| @list = ko.observableArray([ | |
| { text: 'aaa' } | |
| ]) | |
| removeItem: (data, ev) => # <- これ! | |
| @list.remove(data) |
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
| Dropzone.prototype.handleFiles = (files) -> | |
| return unless files[0]? | |
| [_file, _files...] = files | |
| @addFile(_file) | |
| setTimeout( | |
| => | |
| @handleFiles(_files) | |
| 0 | |
| ) |
OlderNewer


