Skip to content

Instantly share code, notes, and snippets.

@crissdev
crissdev / rx-dom.d.ts
Last active September 20, 2017 10:34
Typescript definition file for RxJS-DOM
///<reference path="../rx/rx.d.ts"/>
declare module Rx {
declare module DOM {
export interface AjaxSettings {
async?: boolean;
body?: string;
// This options does not seem to be used in the code yet
// contentType?: string;
crossDomain?: boolean;
@crissdev
crissdev / .editorconfig
Created March 1, 2015 20:33
.editorconfig - node.js and JavaScript development
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
@crissdev
crissdev / index.js
Created November 13, 2014 16:01
4 lines dev web server
var express = require('express');
var app = express();
app.use(express.static(__dirname));
app.listen(3000);
@crissdev
crissdev / .jshintrc.coffee
Created October 8, 2014 09:56 — forked from nkbt/.jshintrc
.jshintrc for node.js written in CoffeeScript
# -----------------
# --------------------------------------------------------------------
# JSHint Configuration, Strict Edition
# --------------------------------------------------------------------
#
# This is a options template for [JSHint][1], using [JSHint example][2]
# and [Ory Band's example][3] as basis and setting config values to
# be most strict:
#
# * set all enforcing options to true
<!doctype html>
<html ng-app='APP'>
<head>
<meta name="description" content="Angular Nested recursive directives" />
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script>
</head>
<body>
<div ng-controller="IndexCtrl">
<collection collection='tasks'></collection>
</div>