Skip to content

Instantly share code, notes, and snippets.

View gseguin's full-sized avatar

Ghislain Seguin gseguin

  • Boulder, CO
  • 19:43 (UTC -06:00)
View GitHub Profile
@gseguin
gseguin / keybase.md
Created April 8, 2014 18:12
keybase.md

Keybase proof

I hereby claim:

  • I am gseguin on github.
  • I am ghislain (https://keybase.io/ghislain) on keybase.
  • I have a public key whose fingerprint is 9288 4063 A33C CCB7 1CED 4CDE 166E 72D3 ACC9 F833

To claim this, I am signing this object:

@gseguin
gseguin / jquery.mobile.vmouse.js
Last active December 10, 2020 07:13
Workaround Safari Mobile's bug with iframes and touch events described here: https://forum.jquery.com/topic/cannot-change-cursor-position-for-inputs-in-iframe
// This plugin is an experiment for abstracting away the touch and mouse
// events so that developers don't have to worry about which method of input
// the device their document is loaded on supports.
//
// The idea here is to allow the developer to register listeners for the
// basic mouse events, such as mousedown, mousemove, mouseup, and click,
// and the plugin will take care of registering the correct listeners
// behind the scenes to invoke the listener at the fastest possible time
// for that device, while still retaining the order of event firing in
// the traditional mouse environment, should multiple handlers be registered
@gseguin
gseguin / machine.js
Last active June 2, 2021 22:17
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions