Skip to content

Instantly share code, notes, and snippets.

View RohovDmytro's full-sized avatar
🏠
Working from home

rohovdmytro RohovDmytro

🏠
Working from home
View GitHub Profile
@mxriverlynn
mxriverlynn / marionette.gauntlet.js
Last active September 25, 2018 18:13
Marionette.Gauntlet - an event based "state machine" of sorts, used for building wizard, breadcrumb and tab UI and navigation systems
// Marionette.Gauntlet v0.0.0
// --------------------------
//
// Build wizard-style workflows with an event-emitting state machine
// Requires Backbone.Picky (http://github.com/derickbailey/backbone.picky)
//
// Copyright (C) 2012 Muted Solutions, LLC.
// Distributed under MIT license
Marionette.Gauntlet = (function(Backbone, Picky, Marionette, $, _){
@mitsuoka
mitsuoka / TimerIsolateLibrary.dart
Last active September 25, 2022 21:04
Dart code sample of a precision timer isolate.
/*
Dart code sample : Timer Isolate
Function timerIsolate provides your application with accurate timings with
+/- few mS accuracy depending on your pc's performance.
note : Windows Vista, Windows Server 2008, Windows 7 or later required for this code.
To try this sample:
1. Put these codes into the holder named TimerIsolateSample.
@jmibanez
jmibanez / gist:2140974
Created March 20, 2012 20:29
Using restify with connect
// Restify server config here
var server = restify.createServer({
name: 'restify-test',
version: '1.0.0',
});
// ...
// Connect config here
var connectApp = connect()