Skip to content

Instantly share code, notes, and snippets.

View devoncarew's full-sized avatar

Devon Carew devoncarew

View GitHub Profile
@devoncarew
devoncarew / main.dart
Last active September 16, 2023 04:08
helloworld
// 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.
void main() {
for (int i = 0; i < 4; i++) {
print('hello ${i}');
}
}
anonymous
anonymous / .metadata.json
Created January 1, 2015 21:07
Sunflower
{
"origin": "dartlab.org",
"url": "http://dartlab.org/#:gistId",
"history": [
"cacbc451489a9d4bf940"
]
}
@guillermooo
guillermooo / updateDartManifestForScoop.ps1
Last active October 23, 2015 19:55
Update Dart manifest for Scoop
# TODO(guillermooo): add dartium manifest
function getManifest {
param($url)
invoke-restmethod $url
}
function getLatestVersion {
param($manifest)
invoke-restmethod $manifest.checkver.url | select -expandproperty version