Skip to content

Instantly share code, notes, and snippets.

View SerkZex's full-sized avatar

Mujtaba Aldebes SerkZex

View GitHub Profile
@kumanan-c
kumanan-c / rpi-barcode-reader.py
Created March 4, 2016 07:05 — forked from john-e/rpi-barcode-reader.py
Display barcode using camera - Raspberry PI
##############################
#
# RPI bar code reader
# @author github.com/john-e
#
# @lib
# zbar - https://github.com/npinchot/zbar
##############################
import sys
@graymouser
graymouser / hb_all_books_dl.js
Created February 28, 2016 14:09
Humble bundle book bundles - download all books at once
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
*/
$('a').each(function(i){
if ($.trim($(this).text()) == 'MOBI') {
$('body').append('<iframe id="dl_iframe_'+i+'" style="display:none;">');
document.getElementById('dl_iframe_'+i).src = $(this).data('web');
}
});