Skip to content

Instantly share code, notes, and snippets.

View T-Spoon's full-sized avatar

Oisin O'Neill T-Spoon

  • Stylefruits
  • Munich, Germany
View GitHub Profile
@T-Spoon
T-Spoon / gist:5a7cca7ea11c45b63c139da009c1a036
Created November 23, 2016 10:16 — forked from liclac/gist:9956023
Never use OpenCart

OpenCart Issue #1286

This is the full version of the thread for opencart#1286, archived from notification emails.
The discussion has since been deleted almost entirely by OpenCart's developer.
Everyone who posted in it has also been blocked from the OpenCart repo.


Damian Bushong

@T-Spoon
T-Spoon / ExifUtil.java
Last active September 11, 2015 21:39 — forked from 9re/ExifUtil.java
Update to ExifUtils.java - Don't use Reflection & use constants instead of magic numbers
public class ExifUtils {
public static Bitmap rotateBitmapForExifData(String src, Bitmap bitmap) {
try {
ExifInterface ei = new ExifInterface(src);
int orientation = ei.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_NORMAL);
if (orientation == 1) {
return bitmap;