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
$(function () { | |
var all_classes = ""; | |
var timer = undefined; | |
$.each($('li', '.social-class'), function (index, element) { | |
all_classes += " btn-" + $(element).data("code"); | |
}); | |
$('li', '.social-class').mouseenter(function () { | |
var icon_name = $(this).data("code"); | |
if ($(this).data("icon")) { | |
icon_name = $(this).data("icon"); |
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 |
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
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
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
/* | |
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
/*! 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
Areas Abbreviation Capital | |
New South Wales NSW Sydney | |
Queensland QLD Brisbane | |
South Australia SA Adelaide | |
Tasmania TAS Hobart | |
Victoria VIC Melbourne | |
Western Australia WA Perth | |
► Work Health and Safety Act 2011 |
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); |
OlderNewer