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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Testing IE Compatibility Mode</title> | |
<script src="ieUserAgent.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="results">Results:</div> | |
<script type="text/javascript"> | |
var val = "IE" + ieUserAgent.version; |
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() { | |
'use strict'; | |
angular | |
.module('geoDemo', []) | |
.factory('geoService', geoService); | |
geoService.$inject = ['$rootScope', '$window', '$log']; | |
function geoService($rootScope, $window, $log) { |
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
/* | |
Converts A class to a dictionary, used for serializing dictionaries to JSON | |
Supported objects: | |
- Serializable derived classes | |
- Arrays of Serializable | |
- NSData | |
- String, Numeric, and all other NSJSONSerialization supported objects |
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 resultSearchController = UISearchController() | |
self.resultSearchController = ({ | |
let controller = UISearchController(searchResultsController: nil) | |
controller.dimsBackgroundDuringPresentation = false | |
controller.hidesNavigationBarDuringPresentation = true | |
controller.searchBar.sizeToFit() | |
self.navigationController?.view = controller.searchBar | |
self.tableView.contentOffset = CGPointMake(0, CGRectGetHeight(controller.searchBar.frame)); | |
return controller |
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
// | |
// FileManager.swift | |
// picturepay | |
// | |
// Created by Nate on 3/3/15. | |
// Copyright (c) 2015 alliedpayment. All rights reserved. | |
// | |
import Foundation |
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
[user] | |
name = TODO | |
email = TODO | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true |
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
span>{{model.amount | currency:'USD':true:'1.2-2'}}</span> |
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
#!/bin/sh | |
# Require Jira Ticket in commit message | |
KEY="ABP-" | |
WARNING="Jira ticket reference NOT FOUND but is required!" | |
MESSAGE=$(<$1) | |
case "$MESSAGE" in | |
$KEY*) | |
exit 0; | |
;; |
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
/* jshint esversion:6*/ | |
class Scraper { | |
constructor(keys) { | |
this.count = 0; | |
this.output = '\n\n'; | |
this.keys = keys; | |
} | |
scrape() { |
OlderNewer