This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"appName": "Joe's", | |
"isPremium": false, | |
"styles": { | |
"backgroundColor": "#fefcfa", | |
"promoTitleColor": "#1b1b1b", | |
"tabBarColor": "#fefcfa", | |
"categoryTitleColor": "#fefcfa", | |
"descriptionColor": "", | |
"rightWidgetColor": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ContentProperty(nameof(Source))] | |
public class ImageResourceExtension : IMarkupExtension | |
{ | |
public string Source { get; set; } | |
public object ProvideValue(IServiceProvider serviceProvider) | |
{ | |
if (Source == null) | |
{ | |
return null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public bool ValidateAppSignature(Android.Content.Context context) | |
{ | |
PackageInfo packageInfo = context.PackageManager.GetPackageInfo(context.PackageName, PackageInfoFlags.Signatures); | |
//note sample just checks the first signature | |
foreach (Signature signature in packageInfo.Signatures) { | |
// SHA1 the signature | |
String sha1 = GetSHA1(signature.ToByteArray()); | |
// check is matches hardcoded value | |
return APP_SIGNATURE.Equals(sha1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Leaflet.Instagram 2014-06-26 */ | |
L.Instagram = L.FeatureGroup.extend({ | |
options: { | |
icon: { | |
iconSize: [40, 40], | |
className: "leaflet-marker-instagram" | |
}, | |
popup: { | |
className: "leaflet-popup-instagram" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Leaflet.markercluster, Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps. | |
https://github.com/Leaflet/Leaflet.markercluster | |
(c) 2012-2013, Dave Leaver, smartrak | |
*/ | |
! function(t, e) { | |
L.MarkerClusterGroup = L.FeatureGroup.extend({ | |
options: { | |
maxClusterRadius: 80, | |
iconCreateFunction: null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body, #map { | |
margin: 0; height: 100%; background: #fff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Skip to content | |
This repository | |
Search | |
Pull requests | |
Issues | |
Marketplace | |
Explore | |
@aimore | |
Sign out | |
6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UIKit; | |
using CoreGraphics; | |
using CoreAnimation; | |
namespace Coverflow | |
{ | |
public class CoverFlowLayout : UICollectionViewFlowLayout | |
{ | |
private const int ACTIVE_DISTANCE = 200; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Swift meetup 15:03.1026 | |
import Cocoa | |
/*var int: Int=3 | |
print(int) | |
var letter: [String] = ["a", "b", "c", "d", "e"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// BullsEye | |
// | |
// Created by Aimoré Sá on 17.11.15. | |
// Copyright © 2015 Aimoré Sá. All rights reserved. | |
// | |
import UIKit |