Skip to content

Instantly share code, notes, and snippets.

View serin113's full-sized avatar

Simon Clemente serin113

  • Philippines
  • 11:37 (UTC +08:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am serin113 on github.
  • I am simclem (https://keybase.io/simclem) on keybase.
  • I have a public key whose fingerprint is 2155 44AD 09CA 3661 703B F73A B83C 83A6 F6C4 FA2A

To claim this, I am signing this object:

@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',
@serin113
serin113 / popUp.js
Created July 20, 2012 16:00
javascript code for easily creating user-prompted popups
function popUp(t, m, pp){
// intialization of return value
var ret;
/*
var m is the message in the popup (required)
var t is the type of popup (required)
var pp sets a placeholder for the input (prompt only)