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 Module = (function(self){ | |
function bindElements(){ | |
// wire up references to elements | |
} | |
function bindEvents(){ | |
} | |
function init(){ |
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 Http = (function ($, storage, self) { | |
var _contentType = 'application/json; charset=utf-8', | |
_dataType = 'json', | |
_key = 'token'; | |
function getToken() { | |
return storage.getItem(_key); | |
} | |
function setAuthHeader(xhr) { |
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() { |
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
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
[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
// | |
// 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
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 |