Skip to content
View controllers.js
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;
}).
View controllers.js
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:
//
View chalkers.json
{
"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",
View tab-dash.html
<ion-view view-title="Badges">
<ion-content class="padding">
</ion-content>
</ion-view>
View tab-dash.html
<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>
View f.txt.js
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
View 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:

View gist:7818873
"intensity" : "20",
"vectors" : "1",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "2,2",
"thread-concurrency" : "24000",
"shaders" : "0,0",
"gpu-engine" : "0-1085",
"gpu-fan" : "0-100",
"gpu-memclock" : "1375",
View basic_library.ino
#include <DigitalPin.h>
DigitalPin forward(13);
DigitalPin backward(12);
void setup(){
}
void loop() {
backward.off();
View gist:1435273
//Have a UIImage *image
NSDictionary *detectorOptions = [[NSDictionary alloc] initWithObjectsAndKeys:CIDetectorAccuracyHigh, CIDetectorAccuracy, nil];
CIDetector *faceDetector = [CIDetector detectorOfType:CIDetectorTypeFace context:nil options:detectorOptions];
CIImage *ciImage = [CIImage imageWithCGImage:[image CGImage]];
NSArray *features = [faceDetector featuresInImage:ciImage];
Something went wrong with that request. Please try again.