Skip to content

Instantly share code, notes, and snippets.

View pritamworld's full-sized avatar
🦁
Available

Pritesh Patel pritamworld

🦁
Available
  • Toronto, ON, Canada
View GitHub Profile
@pritamworld
pritamworld / 1MarkerAnimation.java
Created February 24, 2016 20:20 — forked from broady/1MarkerAnimation.java
Animating Markers
/* Copyright 2013 Google Inc.
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html */
package com.example.latlnginterpolation;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.os.Build;
package com.adesa.interview.tabviewpagerexample.Parallax;
import android.annotation.SuppressLint;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Handler;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
@pritamworld
pritamworld / Android Studio .gitignore
Created September 12, 2016 17:34 — forked from boxme/Android Studio .gitignore
Android Studio Project .gitignore gist
*.iml
# generated files
bin/
gen/
# Ignore gradle files
.gradle
build/
@pritamworld
pritamworld / iOS_device_types.txt
Created May 3, 2018 17:24 — forked from adamawolf/Apple_mobile_device_types.txt
List of iOS device codes types a.k.a. machine ids (e.g. iPhone1,1) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
iPhone5,1 : iPhone 5 (GSM)
@pritamworld
pritamworld / ReadPlist.swift
Created March 13, 2019 00:23
Read Plist file
if let bundlePath = Bundle.main.path(forResource: "Employee", ofType: "plist") {
let dictionary = NSMutableDictionary(contentsOfFile: bundlePath)
print(dictionary!.description)
}