- https://github.com/ozaki-r/arm-js
- https://github.com/ubercomp/jslm32
- https://github.com/s-macke/jor1k
- https://github.com/asmblah/jemul8
- https://github.com/codinguncut/jsbochs
- http://sourceforge.net/p/jsdosbox/home/Home/
- http://bellard.org/jslinux/
- http://jsmachines.net/ (PCjs)
- https://github.com/thibaultimbert/Intel8080
This file contains 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
powershell -Command "(new-object System.Net.WebClient).DownloadFile('http://az320820.vo.msecnd.net/downloads/nuget.exe', '.nuget\NuGet.exe')" |
This file contains 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
<%@ Application Language="C#" %> | |
<script runat="server"> | |
void Application_BeginRequest(object sender, EventArgs e) | |
{ | |
var context = HttpContext.Current; | |
var response = context.Response; | |
// enable CORS | |
response.AddHeader("Access-Control-Allow-Origin", "*"); |
This file contains 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
internal static class Extensions | |
{ | |
public static IEnumerable<T> Flatten<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> childSelector) | |
{ | |
foreach (var item in source) | |
{ | |
yield return item; | |
foreach (var d in childSelector(item).Flatten(childSelector)) | |
{ |
This file contains 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
<input class="form-control typeahead" name="team" type="text" | |
placeholder="NBA teams" | |
autocomplete="off" spellcheck="off" | |
data-source="nba"/> |
This file contains 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
Nba = new Meteor.Collection("nba"); | |
if (Meteor.isServer){ | |
Nba.insert({name:'Boston Celtics'}); | |
// fill Nba collection | |
} | |
Template.demo.nba = function(){ | |
return Nba.find().fetch().map(function(it){ return it.name; }); | |
}; |
This file contains 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
<input class="form-control typeahead" name="team" type="text" | |
placeholder="NBA and NHL teams" | |
autocomplete="off" spellcheck="off" | |
data-sets="teams"/> |
This file contains 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
Template.demo.teams = function(){ | |
return [ | |
{ | |
name: 'nba-teams', | |
local: function() { return Nba.find().fetch().map(function(it){ return it.name; }); }, | |
header: '<h3 class="league-name">NBA Teams</h3>' | |
}, | |
{ | |
name: 'nhl-teams', | |
local: function() { return Nhl.find().fetch().map(function(it){ return it.name; }); }, |
This file contains 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
<input class="form-control typeahead" name="repo" type="text" | |
placeholder="open source projects by Twitter" | |
autocomplete="off" spellcheck="off" | |
data-source="repos" data-template="repo"/> | |
<template name="repo"> | |
<p class="repo-language">{{language}}</p> | |
<p class="repo-name">{{name}}</p> | |
<p class="repo-description">{{description}}</p> | |
</template> |
This file contains 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
Repos = new Meteor.Collection("repos"); | |
if (Meteor.isServer){ | |
Meteor.startup(function(){ | |
Repos.remove({}); | |
// fill repos from private repos.json asset | |
JSON.parse(Assets.getText('repos.json')).forEach(function(it){ | |
Repos.insert(it); | |
}); | |
}); |
OlderNewer