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
var newPosition = newMarker.Spec.GeoPoint; | |
var camera = mapView.Camera; | |
mapView.CameraPositionIdle += MapAnimateForSwipeComplete; | |
CATransaction.Begin (); | |
CATransaction.AnimationDuration = 2.0; | |
mapView.Animate (CameraUpdate.SetTarget (newPosition.ToCLLocationCoordinate2D (), camera.Zoom - 1)); | |
CATransaction.Commit (); |
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
//addtl info at https://github.com/johncadengo/JCWindowShade/blob/master/JCWindowShade/JCViewController.m#L137 | |
var dragging = false; | |
contentView.AddGestureRecognizer (new UIPanGestureRecognizer ((pan) => { | |
if (dragging){ | |
var origin = pan.LocationInView(View); | |
Console.WriteLine ("dragging at {0}", origin); | |
var translated = pan.TranslationInView(contentView); | |
var cf = contentView.Frame; |
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
{ | |
"version": 3, | |
"status": "ok", | |
"response": { | |
"data": [ | |
{ | |
"address": "1131 Folsom St", | |
"category_ids": [ | |
358, | |
348, |
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
AppDelegate.MapController = UIStoryboard.FromName ("MainStoryboard", null).InstantiateViewController ("MapController") as MapController; |
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
select * from OPENQUERY(AIS_STAGE, ' | |
select * from | |
(select UTL_MATCH.JARO_WINKLER_SIMILARITY(last_name || '','' || first_name, ''kirkland,scott'') NameDiff,last_name, first_name from entity | |
order by NameDiff desc) | |
where rownum < 10 | |
') | |
select * from OPENQUERY(AIS_STAGE, ' | |
select email.email_address, telephone.telephone_number from entity | |
join email on email.id_number = entity.id_number |
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
NavigationController.PopToRootViewController(false); | |
tabController.SelectedIndex = 1; |
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
<rewrite> | |
<rules> | |
<rule name="HTTP to HTTPS redirect" stopProcessing="true"> | |
<match url="(.*)" /> | |
<conditions> | |
<add input="{HTTP_HOST}" pattern="site.ucdavis.edu" ignoreCase="true" /> | |
<add input="{HTTPS}" pattern="off" ignoreCase="true" /> | |
</conditions> | |
<action type="Redirect" redirectType="Found" url="https://site.ucdavis.edu/{R:1}" /> | |
</rule> |
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
[Export("initWithStyle:reuseIdentifier:")] | |
public MyCustomCell(UITableViewCellStyle style, NSString cellIdentifier) | |
: base(SomeConstantValue, UITableViewCellStyle.Value1, cellIdentifier) | |
{ | |
} |
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
{ | |
_shards: { | |
Total: 1, | |
Successful: 1, | |
Failed: 0 | |
}, | |
hits: { | |
total: 1, | |
max_score: 1, | |
hits: [ |