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
@model dynamic | |
@{ | |
ViewBag.Title = "Inline Edit"; | |
} | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.3.2/ckeditor.js"></script> | |
<h2>Inline Edit</h2> |
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 combinedTask = Task.WhenAll(instructorSummaries | |
.Select(instructorSummary => | |
_instructorTable | |
.ExecuteAsync(TableOperation.InsertOrReplace(instructorSummary)))) | |
.ConfigureAwait(false); | |
var evaluationTask = _evaluationTable.ExecuteAsync(TableOperation.InsertOrReplace(overallSummary)).ConfigureAwait(false); | |
var result = new EvaluationTableResult | |
{ |
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 props = base.WriteEntity(operationContext); | |
props.Remove(SplitProperty); | |
for (int i = 0; i <= Summary.Length / SplitSize; i++) | |
{ | |
props.Add(SplitProperty + i, new EntityProperty(Summary.Skip(i).Take(SplitSize).ToArray())); | |
} | |
return props; |
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 geocode = result.data; | |
if (geocode.results.length > 0) { | |
var address = geocode.results[0].address_components; | |
if (address.length > 1 & address[0].types.indexOf('street_number') !== -1 && address[1].types.indexOf('route') !== -1 ){ //want street and route | |
$scope.spec.address = address[0].long_name + ' ' + address[1].long_name; | |
} else { | |
$scope.spec.address = geocode.results[0].formatted_address; | |
} | |
} |
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: [ |
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
<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
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
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
AppDelegate.MapController = UIStoryboard.FromName ("MainStoryboard", null).InstantiateViewController ("MapController") as MapController; |
OlderNewer