Skip to content

Instantly share code, notes, and snippets.

var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
@SagarDep
SagarDep / RealPathUtil.java
Created December 19, 2017 18:58 — forked from tatocaster/RealPathUtil.java
Real Path Utility class for Android, works for all API
public class RealPathUtil {
public static String getRealPath(Context context, Uri fileUri) {
String realPath;
// SDK < API11
if (Build.VERSION.SDK_INT < 11) {
realPath = RealPathUtil.getRealPathFromURI_BelowAPI11(context, fileUri);
}
// SDK >= 11 && SDK < 19
else if (Build.VERSION.SDK_INT < 19) {
@SagarDep
SagarDep / RealPathUtil.java
Created December 19, 2017 18:58 — forked from tatocaster/RealPathUtil.java
Real Path Utility class for Android, works for all API
public class RealPathUtil {
public static String getRealPath(Context context, Uri fileUri) {
String realPath;
// SDK < API11
if (Build.VERSION.SDK_INT < 11) {
realPath = RealPathUtil.getRealPathFromURI_BelowAPI11(context, fileUri);
}
// SDK >= 11 && SDK < 19
else if (Build.VERSION.SDK_INT < 19) {
@SagarDep
SagarDep / genymotionwithplay.md
Created December 7, 2017 06:54 — forked from udev/genymotionwithplay.md
Genymotion with Google Play Services

#Download the following ZIPs: ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)

#Download the correct GApps for your Android version: Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip) Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip) Google Apps for Android 4.2 (https://www.androidfilehost.com/?fid=23060877490000128 - gapps-jb-20130812-signed.zip)

@SagarDep
SagarDep / as
Created December 2, 2017 17:57
http://gfxfull.net/mobile/codecanyon-dooble-ios-universal-game-board-template-swift.html
http://gfxzone.net/app-mobile/events-ios-universal-events-app-template-swift.html
http://vmi12227.carttuning.com/page/135.html
http://nulled-warez.download/shoppy-ios-universal-ecommerce-app-template-swift-full-applications-nulled/
https://nullforest.com/woopy-ios-universal-listings-chat-app-template-swift/
http://nulled-themes-download.blogspot.in/2016/05/chatty-ios-89-universal-chat-app.html
http://nulled-scripts.club/p27054/shoppy-ios-universal-ecommerce-app-template-swift/
http://forestnull.com/shoppy-ios-universal-ecommerce-app-template-swift.html
https://nl-shared01.knownsrv.com/~downlo20/cat-full-applications/download-shoppy-ios-universal-ecommerce-app-template-swift-nulled.php
http://www.nulled.cloud/shoppy-ios-universal-ecommerce-app-template-swift/