Skip to content

Instantly share code, notes, and snippets.

View ika18's full-sized avatar

Ika Wu ika18

View GitHub Profile
@avermeulen
avermeulen / 01-setup-new-typescript-project.md
Last active April 20, 2024 08:33
TypeScript basics with Mocha setup - learn how to use interfaces

Setup a new TypeScript project with Mocha support

Ensure you have TypeScript installed globally using this command:

npm install -g typescript

This outlines how to setup a new TypeScript project with mocha support.

@mikaelkaron
mikaelkaron / index.html
Created July 5, 2013 02:24
Multi context setup for troop
<!doctype html>
<html lang="en">
<body>
<script type="text/javascript">
"use strict";
var require = (function () {
/**
* Troopifies requirejs configuration
* @param {String} troopjs_location_default Default location of the trooplib (if not configured in packages)
*/