Skip to content

Instantly share code, notes, and snippets.

View s-panferov's full-sized avatar

Stanislav Panferov s-panferov

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.docker.vmnetd</string>
<key>Program</key>
<string>/Library/PrivilegedHelperTools/com.docker.vmnetd</string>
<key>ProgramArguments</key>
<array>
declare module "react-redux" {
import React from "react";
import * as redux from "redux";
interface ProviderProps {
store: redux.Store<any, any>;
}
interface ProviderState {
store: redux.Store<any, any>;
import * as Immutable from 'immutable';
import {
Profile,
User,
} from './models';
export {
Profile,
User,
webpackJsonp([0],[
/* 0 */
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(1);
/***/ },
/* 1 */
/***/ function(module, exports) {
var webpack = require('webpack');
var path = require("path");
var fs = require("fs");
var nodeModules = {};
fs.readdirSync('node_modules')
.filter(function (x) {
return ['.bin'].indexOf(x) === -1;
})
.forEach(function (mod) {
{
"version": "1.5.0-beta",
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"jsx": "react",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
@s-panferov
s-panferov / chat.ts
Created June 19, 2015 05:38
Immutable models in TS
import invariant from '../lib/invariant';
import * as models from './index';
import { Record, Map, Set, List } from 'immutable';
import { Option, Some, None } from 'opty';
export enum ChatType {
Dialog = <any>'dialog',
Room = <any>'room'
}
{
block : 'form-field',
name : 'documentUrgency',
mods : { theme : 'alfa', bkg : 'color' },
content : [
{ tag : 'br' },
{ tag : 'br' },
{ tag : 'br' },
{
block : 'checkbox',
modules.define('madison',
['log', 'config', 'utils', 'router', 'bank__auth', 'bank__customers', 'page'],
function(provide, log, config, utils, router, bankAuth, bankCustomers, page) {
var vow = require('vow'),
express = require('express'),
path = require('path'),
cookies = require('cookie-parser'),
session = require('express-session'),
body = require('body-parser');