Skip to content

Instantly share code, notes, and snippets.

View chalkers's full-sized avatar

Andrew Chalkley chalkers

  • Portland, OR, USA
View GitHub Profile
@chalkers
chalkers / keybase.md
Last active August 29, 2015 13:57
keybase.md

Keybase proof

I hereby claim:

  • I am chalkers on github.
  • I am chalkers (https://keybase.io/chalkers) on keybase.
  • I have a public key whose fingerprint is 2600 A73C 2253 C3BE 9C90 7094 BE17 FA88 1D1E C04D

To claim this, I am signing this object:

if (!window.mraid) {document.write('\x3cdiv class="GoogleActiveViewClass" ' +'id="DfaVisibilityIdentifier_478586480"\x3e');}document.write('\x3ca target\x3d\x22_blank\x22 href\x3d\x22https://adclick.g.doubleclick.net/pcs/click?xai\x3dAKAOjsvciLIOhzt3rV6L1-aGilSkVgZDCK7tuoje7SvcsRgyoB5N1JhHO-mQsZpoY4-GY6gGchadRHr7PL-AaI5cWhKfpn_52IuJBKLBr6spSRb3EoEZ\x26amp;sig\x3dCg0ArKJSzJuO9DTx0UGF\x26amp;adurl\x3dhttps://2975c.v.fwmrm.net/ad/l/1%3Fs%3Da035%26n%3D10613%253B91559%253B10886%253B48747%253B93644%253B103126%253B168234%253B187827%253B188286%253B375524%253B375600%253B375613%253B375617%253B375620%253B376342%253B377624%253B378491%253B379152%253B379536%253B382283%253B382314%253B382315%26t%3D1424418293771072003%26f%26r%3D91559%26adid%3D8939103%26reid%3D3647924%26arid%3D0%26auid%26cn%3DdefaultClick%26et%3Dc%26_cc%26tpos%26sr%3D0%26cr%3D%253Bord%253D1873932655%253F%26clickTAG%3Dhttps%25253A%25252F%25252F2975c.v.fwmrm.net%25252Fad%25252Fl%25252F1%25253Fs%25253Da035%252526n%25253D10613%2525253B91559%2525253B10886%2525253B4
<ion-view view-title="Dashboard">
<ion-content class="padding">
<div class="list card">
<div class="item item-divider">Recent Updates</div>
<div class="item item-body">
<div>
There is a fire in <b>sector 3</b>
</div>
</div>
</div>
<ion-view view-title="Badges">
<ion-content class="padding">
</ion-content>
</ion-view>
{
"name": "Andrew Chalkley",
"profile_name": "chalkers",
"profile_url": "http://teamtreehouse.com/chalkers",
"gravatar_url": "https://uploads.teamtreehouse.com/production/profile-photos/26170/thumb_TeacherShoot-Andrew.jpg",
"gravatar_hash": "7139178cce7d4441b3ea43af22600e8b",
"badges": [
{
"id": 49,
"name": "Newbie",
angular.module('starter.controllers', [])
.controller('DashCtrl', function($scope) {})
.controller('ChatsCtrl', function($scope, Chats) {
// With the new view caching in Ionic, Controllers are only called
// when they are recreated or on app start, instead of every page change.
// To listen for when this page is active (for example, to refresh data),
// listen for the $ionicView.enter event:
//
angular.module('starter.controllers', [])
.controller('DashCtrl', function($scope, $http) {
//Get profile information
$http.get('https://teamtreehouse.com/chalkers.json').
success(function(data, status, headers, config) {
// this callback will be called asynchronously
// when the response is available
$scope.badges = data.badges;
}).
if (!navigator.geolocation) {
navigator.geolocation = (function (window) {
function reloadGeoIP(callback) {
// NOTE: for some reason, chaging the url is *allowed* with this service. Useful, but random
var geourl = 'http://j.maxmind.com/app/geoip.js_' + Math.random(),
iframe = document.createElement('iframe'),
doc, win;
iframe.style.display = 'none';
Scenario: Create valid User
Given I have no users
And I am on the users page
When I follow "New User"
And I fill in "First Name" with "Paul"
And I fill in "Last Name" with "Ketelle"
And I fill in "Username" with "ketellep"
And I fill in "Email" with "paul@white-agency.co.uk"
And I fill in "Password" with "pk1"
And I fill in "Password Confirmation" with "pk1"
And I unselect "Evolution" from "Tags"