Skip to content

Instantly share code, notes, and snippets.

View serin113's full-sized avatar

Simon Clemente serin113

  • Philippines
  • 10:06 (UTC +08:00)
View GitHub Profile
@serin113
serin113 / history_navigation.js
Created July 27, 2012 04:57 — forked from tobitailor/history_navigation.js
A simple JavaScript that lets you use your browser's back/forward buttons for in-page navigation by adding custom 'next' and 'previous' events to the window object.
/*
* Lets you use your browser's back/forward buttons for in-page navigation by
* adding custom 'next' and 'previous' events to the window object.
*
* Copyright (c) 2011 Tobias Schneider <schneider@jancona.com>
* This script is freely distributable under the terms of the MIT license.
*
* Example:
*
* window.addEventListener('next', function(){
@serin113
serin113 / get_barcode_from_image.js
Created July 27, 2012 04:55 — forked from wmelton/get_barcode_from_image.js
Barcode recognition with JavaScript - Demo: http://bit.ly/djvUoy
/*
* Copyright (c) 2010 Tobias Schneider
* This script is freely distributable under the terms of the MIT license.
*/
(function(){
var UPC_SET = {
"3211": '0',
"2221": '1',
"2122": '2',