Skip to content

Instantly share code, notes, and snippets.

@mirkonasato
mirkonasato / signalign
Last active Apr 23, 2020
Sign and align an Android APK
View signalign
#!/bin/sh
#
# Automates signing and aligning Android APKs as per
# http://developer.android.com/tools/publishing/app-signing.html#signing-manually
#
# USAGE: signalign platforms/android/build/outputs/apk/android-release-unsigned.apk
#
set -e
# configure the next two properties for your own certificate
@warenhaus
warenhaus / qtranslate_hooks.php
Last active May 25, 2017
qtranslate with the new Visual editor in Wordpress 3.9
View qtranslate_hooks.php
<?php // encoding: utf-8
/*Copyright 2008Qian Qin(email : mail@qianqin.de)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@tlync
tlync / jquery-outer.js
Created Jun 9, 2011
jquery outer width/height plugin - Set the outer width/height of each element in the set of matched elements.
View jquery-outer.js
//TODO: refactoring
(function($){
var origOuterWidth = $.fn.outerWidth,
origOuterHeight = $.fn.outerHeight;
/**
* Get the current outer width for the first element in the set of matched elements.
* or set the outer width of each element in the set of matched elements.
*
You can’t perform that action at this time.