Skip to content

Instantly share code, notes, and snippets.

View lorenzopolidori's full-sized avatar

Lorenzo Polidori lorenzopolidori

View GitHub Profile
@BryceCicada
BryceCicada / signit
Last active December 28, 2015 23:58
Resign an Player.apk
#!/bin/bash
ZIP_FILE=`echo $1 | sed 's/.apk/.zip/'`
KEYSTORE=~/workspace/we7-Android/Main/release.keystore
cp $1 $ZIP_FILE
zip -d $ZIP_FILE META-INF/*
mv $ZIP_FILE tmp.unsigned.apk
echo Resigning APK
@larscwallin
larscwallin / jquery.elementFromPoint
Created December 28, 2011 16:35
jquery.elementFromPoint
(function ($){
var check=false, isRelative=true;
$.elementFromPoint = function(x,y)
{
if(!document.elementFromPoint) return null;
if(!check)
{
var sl;