---------- Forwarded message ----------
From: Mark S. Miller <erights@google.com>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: javascript-standard@google.com
// Generated by dart2js, the Dart to JavaScript compiler version: 1.24.2. | |
// The code supports the following hooks: | |
// dartPrint(message): | |
// if this function is defined it is called instead of the Dart [print] | |
// method. | |
// | |
// dartMainRunner(main, args): | |
// if this function is defined, the Dart [main] method will not be invoked | |
// directly. Instead, a closure that will invoke [main], and its arguments | |
// [args] is passed to [dartMainRunner]. |
---------- Forwarded message ----------
From: Mark S. Miller <erights@google.com>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: javascript-standard@google.com
function Format-Razor() | |
{ | |
<# | |
.SYNOPSIS | |
Formats a set of objects using the Razor Engine. | |
.DESCRIPTION | |
The Format-Razor function formats a set of objects using a supplied template using the Razor Engine created for ASP.NET. | |
.NOTES | |
Author: Danny Tuppeny (DanTup) | |
.LINK |
PI_REPO="https://DanTup@github.com/DanTup/Pi.git" | |
# Danny's Pi Setup script | |
# | |
# This script is intended to be run from a newly set up Raspbian install. It just clones my | |
# (private) Pi repo which contains further scripts and executes them. It will prompt for a | |
# GitHub access key during the clone because the repo is private. | |
# | |
# Run with: | |
# bash <(curl -sSL https://gist.github.com/DanTup/bcdf20cb300e40c628e8/raw/Setup) |
let [<Given>] ``something`` () = () | |
let [<Given>] ``something else`` () = () | |
--- | |
Scenario: TestStuff | |
Given something | |
and something else | |
---- |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/> | |
</head> | |
<frameset rows="70,*"> | |
<frame src="about:blank"> | |
<frameset cols="165,*"> | |
<frame src="about:blank"> | |
<frame src="settings.htm"> |
<# | |
.SYNOPSIS | |
Script to sync a GitHub repo to Kiln to allw GitHub contributions without using Git (use Hg on your Kiln repos!). | |
.DESCRIPTION | |
Create a branch repo in Kiln specifically for for the GitHub sync and run this PS script periodically (PoSh v3 | |
scheduled jobs make this easy). | |
Merge the GitHub branch repo (using Hg!) into your main repo periodically, then push back to the GitHub branch | |
once done. This will be sync'd back to GitHub when the script next runs. |
namespace StructureMapBugRepro | |
{ | |
using System; | |
using StructureMap; | |
using StructureMapBugRepo.NS1; | |
using StructureMapBugRepo.NS2; | |
public class Program | |
{ | |
static void Main(string[] args) |
function Get-ProjectReferences | |
{ | |
param( | |
[Parameter(Mandatory)] | |
[string]$rootFolder, | |
[string[]]$excludeProjectsContaining | |
) | |
dir $rootFolder -Filter *.csproj -Recurse | |
import 'dart:convert'; | |
import 'package:smoke/smoke.dart' as smoke; | |
@MirrorsUsed(targets: const [SimpleWithMirrors, Simple], override: '*') | |
import 'dart:mirrors'; | |
abstract class Serializable { | |
static fromJson(Type t, Map json) { | |
var typeMirror = reflectType(t); | |
T obj = typeMirror.newInstance(new Symbol(""), const[]).reflectee; |