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
| #!/bin/bash | |
| cd .. | |
| dart tool/hop_runner.dart analyze --verbose |
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
| library hop_runner; | |
| import 'dart:async'; | |
| import 'dart:io'; | |
| import 'package:hop/hop.dart'; | |
| import 'package:hop/hop_tasks.dart'; | |
| void main(){ | |
| final String out = "out/"; |
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
| display date(c(current_date),"DMY") |
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
| gen mydate = clock("30Apr2013 00:00:00","DMYhms") | |
| display dofc(mydate) |
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
| library hop_runner; | |
| import 'dart:async'; | |
| import 'dart:io'; | |
| import 'package:hop/hop.dart'; | |
| import 'package:hop/hop_tasks.dart'; | |
| void main() { | |
| final String out = "out"; |
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
| var statemap = { | |
| "hide":"icon-double-angle-up icon-1x", | |
| "show":"icon-double-angle-down icon-1x" | |
| }; | |
| var itr = statemap.keys; | |
| var value = "hide"; | |
| value = itr.singleWhere((e){ | |
| return e != value; | |
| }); | |
| print(value); // show |
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
| compass clean |
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
| void main() { | |
| var a = 0; | |
| var b = 2; | |
| var c = | |
| a == 0 ? | |
| b == 0 ? 0 : 1 | |
| : 2; | |
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
| pwd | tr -d '\n' | pbcopy |
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 | |
| 1 PASS Expectation: text says Click Me!. | |
| All 1 tests passed |
OlderNewer