Skip to content

Instantly share code, notes, and snippets.

View ruslanchek's full-sized avatar
🎯
Focusing

Mike Burton ruslanchek

🎯
Focusing
View GitHub Profile
@ruslanchek
ruslanchek / AppDispatcher.ts
Last active April 23, 2016 10:40 — forked from tgroshon/AppDispatcher.js
A Flux Dispatcher with an Action Queue sitting on top to allow dispatching actions at any time.
import {Dispatcher} from 'flux';
const DELAY_TIME = 100;
export class QDispatcher {
private dispatcher:Dispatcher = null;
private isProcessing:boolean = false;
private actionQueue:any[] = [];
constructor() {
@ruslanchek
ruslanchek / text-sprite.ts
Created June 10, 2016 07:32
TextSprite for Three.js
import * as THREE from 'three';
const FONT_FAMILY:string = 'Open Sans';
export enum TextAlign {
NONE,
START,
END,
LEFT,
CENTER,
export interface Browser {
name:string,
version:any,
osversion:string,
tablet:boolean,
mobile:boolean,
opera:boolean,
chromeBook:boolean,
chrome:boolean,
yandexbrowser:boolean,
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
import time
from datetime import date, timedelta
import numpy as np
import threading
from threading import Lock
def alarm():
import os