Skip to content

Instantly share code, notes, and snippets.

View samigehi's full-sized avatar
🎯
Focusing

Sumeet Kumar samigehi

🎯
Focusing
View GitHub Profile
@samigehi
samigehi / UIImage+Orientation.swift
Last active January 4, 2018 10:38 — forked from nRewik/UIImage+Orientation.swift
UIImage fix orientation ( rotate pixel rather than relying on exif )
//
// UIImage+Orientation.swift
// DrCloudPatient
//
// Created by DW78 on 8/21/15.
// Copyright (c) 2015 DW78. All rights reserved.
//
// swift 3.2
import UIKit
@samigehi
samigehi / Android Studio .gitignore
Created August 30, 2016 10:04 — forked from iainconnor/Android Studio .gitignore
A .gitignore for use in Android Studio
# Built application files
/*/build/
# Crashlytics configuations
com_crashlytics_export_strings.xml
# Local configuration file (sdk path, etc)
local.properties
# Gradle generated files
@samigehi
samigehi / colors_material.xml
Created February 12, 2016 05:01
Material Design Colors ( Resources )
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Material Design Colors -->
<color name="md_red_50">#ffffebee</color>
<color name="md_red_100">#ffffcdd2</color>
<color name="md_red_200">#ffef9a9a</color>
<color name="md_red_300">#ffe57373</color>
<color name="md_red_400">#ffef5350</color>
@samigehi
samigehi / GifDecoder.java
Created February 10, 2016 04:53 — forked from devunwired/GifDecoder.java
An optimized implementation of GifDecoder for Android devices.
/**
* Copyright (c) 2013 Xcellent Creations, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions: