I hereby claim:
- I am michaelchadwick on github.
- I am michaelchadwick (https://keybase.io/michaelchadwick) on keybase.
- I have a public key ASAERnh7ODVR9NHo3la-BRDflXdKJjEGX633I6A_ivMWcgo
To claim this, I am signing this object:
| // src/app/service.ts | |
| import { Injectable } from '@angular/core'; | |
| import { Headers, Http } from '@angular/http'; | |
| import 'rxjs/add/operator/toPromise'; | |
| @Injectable() | |
| export class MyService { | |
| private headers = new Headers({'Content-Type': 'application/json'}); | |
| private apiUrl = 'http://localhost:8000'; // URL to web api |
| // dynamically size elements based on tallest one | |
| equalheight = function(container) { | |
| var currentTallest = 0, | |
| currentRowStart = 0, | |
| rowDivs = new Array(), | |
| $el, | |
| topPostion = 0; | |
| $(container).each(function() { | |
| $el = $(this); |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| require 'io/console' | |
| class SaveLoad | |
| SAVE_DATA_FILE = 'save.conf' | |
| attr_accessor :data_changed | |
| def initialize | |
| self.data_changed = false |
| // SoundCloud API INITIALIZE | |
| SC.initialize({ | |
| client_id: 'CLIENT_ID', | |
| redirect_uri: 'REDIRECT_URI' | |
| }); | |
| $(document).ready(function() { | |
| // grab the connect click, get info and track embeds | |
| $('a.connect').click(function(e) { |