Skip to content

Instantly share code, notes, and snippets.

View devoncarew's full-sized avatar

Devon Carew devoncarew

View GitHub Profile
@devoncarew
devoncarew / gist:6893556
Last active December 25, 2015 01:18 — forked from gaurave/gist:6893461
library git;
import 'dart:async';
import 'dart:html';
import 'dart:js' as js;
import 'package:chrome/app.dart' as chrome;
import 'lib/utils.dart';
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must hamster my life.
Without me gist is useless.
Without gist, I am useless.
<div id="score" class="score"></div>
<canvas id="myCanvas" width="500" height="500"></canvas>
@devoncarew
devoncarew / .metadata.json
Last active May 31, 2018 18:22 — forked from anonymous/.metadata.json
Spirodraw
{
"origin": "dartlab.org",
"url": "http://dartlab.org/#:gistId",
"history": []
}
@devoncarew
devoncarew / 0_reuse_code.js
Last active August 29, 2015 14:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@devoncarew
devoncarew / main.dart
Created May 26, 2015 18:21 — forked from anonymous/main.dart
foo foo bar
void main() {
for (int i = 0; i < 5; i++) {
print('hello ${i + 1}');
print('hello ${i + 1}');
print('hello ${i + 1}');
print('hello ${i + 1}');
print('hello ${i + 1}');
}
}
{
"origin": "dartlab.org",
"url": "http://dartlab.org/#:gistId",
"history": [
"bf1af9b3c187997b573c"
]
}
@devoncarew
devoncarew / index.html
Last active August 29, 2015 14:25
Remove elements: todo with delete
<!-- Copyright (c) 2012, the Dart project authors. Please see the
AUTHORS file for details. All rights reserved. Use of this
source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!DOCTYPE html>
<html>
<head>
@devoncarew
devoncarew / dart-dev.json
Last active October 23, 2015 19:56 — forked from guillermooo/updateDartManifestForScoop.ps1
Update Dart manifest for Scoop
{
"version": "1.13.0-dev.7.3",
"license": "BSD",
"homepage": "https://www.dartlang.org/",
"extract_dir": "dart-sdk",
"env_add_path": [
"bin"
],
"architecture": {
"64bit": {
@devoncarew
devoncarew / main.dart
Last active April 10, 2019 15:34 — forked from RedBrogdon/hint.txt
First Flutter gist
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Title!'),
),
body: Text('Center me!'),
),