I hereby claim:
- I am kevmoo on github.
- I am kevmoo (https://keybase.io/kevmoo) on keybase.
- I have a public key whose fingerprint is 9355 AC2E 028E 65FC D971 3458 829C 1FBA D2A1 9840
To claim this, I am signing this object:
<!-- Copyright 2015 the Dart project authors. All rights reserved. | |
Use of this source code is governed by a BSD-style license | |
that can be found in the LICENSE file. --> | |
<h2>A WebSocket test using echo.websocket.org</h2> | |
<br> | |
<p>Enter text to echo:</p> |
diff --git a/index_2-dev-32.tree.json b/terry_chrome_fun.tree.json | |
index 49d9b3a..553260a 100644 | |
--- a/index_2-dev-32.tree.json | |
+++ b/terry_chrome_fun.tree.json | |
@@ -1491,6 +1491,14 @@ | |
"method: dart:core.Pattern.matchAsPrefix" | |
] | |
}, | |
+ { | |
+ "name": "class: dart:core.pragma", |
// Ran with http://www.cryptosys.net/pki/uuid-rfc4122.html | |
import 'dart:math' as m; | |
void main() { | |
for (var i = 0; i < 1000000; i++) { | |
var thing = getThing(); | |
print(thing); | |
print(thing.length); |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env dart | |
import 'dart:async'; | |
import 'dart:convert'; | |
import 'dart:io'; | |
const _splitter = const LineSplitter(); | |
const _waitDuration = const Duration(milliseconds: 250); | |
const _green = '\u001b[32m'; |
# Inspired by https://robots.thoughtbot.com/use-git-hooks-to-automate-annoying-tasks | |
dart_files=$(git diff --cached --name-only --diff-filter=ACM | grep '.dart$') | |
[ -z "$dart_files" ] && exit 0 | |
function checkfmt() { | |
unformatted=$(dartfmt -n $dart_files) | |
[ -z "$unformatted" ] && return 0 |
import 'dart:collection'; | |
void main() { | |
var list = new WatchList([1,2,3,4,5]); | |
var mapped = list.where((x) => x.isEven).map((x) => x*2); | |
// What is printed here? | |
print(list.accessCount); |
library mixin_library; | |
import 'dart:json' as json; | |
class MixinClass { | |
String bar() => json.stringify({'a':1}); | |
} |
#import('dart:html'); | |
#import('dart:isolate'); | |
SendPort sender; | |
ReceivePort receiver; | |
main(){ | |
CanvasElement canvas = document.query("#content"); | |
canvas.on.mouseMove.add(mouse); | |
canvas.on.mouseOut.add(mouse); |
# So this is completely gone now | |
# Moved to my own brew recipes collection at | |
# https://github.com/kevmoo/homebrew-kevmoo | |
# Run this: | |
# brew tap kevmoo/kevmoo | |
# and you'll be good to go! |