This file contains hidden or 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> | |
<head> | |
<title>credit-alerts</title> | |
</head> | |
<body> | |
<h2>My Credit Alerts (styles are scoped)</h2> | |
<array-credit-alerts-v2 apiUrl="https://dev.array.io" appKey="45D337EB-F6D4-425B-97A1-308657CDC06E" sandbox="true" userToken="03CE56A8-4C0E-43C0-8F25-29835D9E51F4" /> |
This file contains hidden or 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
# Represents Locations within the API | |
class Location | |
include DataMapper::Resource | |
# @return [Integer] The id of the location | |
property :id, Serial | |
# @return [String] The owner of the api key | |
property :geom, PostGISGeometry, :required => true | |
def latitude |
This file contains hidden or 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
'use strict'; | |
angular.module('CACMobile') | |
.directive('fileUpload', function ($parse) { | |
var linker = function ($scope, element, attributes) { | |
// onChange, push the file to the object in ngModel | |
element.bind('change', function (event) { | |
var model = $parse(attributes.ngModel) | |
var file = event.target.files[0]; |
This file contains hidden or 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
require 'sinatra/base' | |
require 'openssl' | |
require 'webrick' | |
require 'webrick/https' | |
class App1 < Sinatra::Base | |
get '/' do | |
'app1' | |
end | |
end |
This file contains hidden or 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
$ git push https://github.com/lukenorman/avalancheca-user.git | |
warning: push.default is unset; its implicit value is changing in | |
Git 2.0 from 'matching' to 'simple'. To squelch this message | |
and maintain the current behavior after the default changes, use: | |
git config --global push.default matching | |
To squelch this message and adopt the new behavior now, use: | |
git config --global push.default simple |