I hereby claim:
- I am atamanroman on github.
- I am atamanroman (https://keybase.io/atamanroman) on keybase.
- I have a public key whose fingerprint is D97C 9709 94BD FA86 4C05 15F3 7116 07F1 B0B7 2629
To claim this, I am signing this object:
describe('getBooks()', () => { | |
it('should return the whole list of books with an Observable', (done) => | |
inject([BookStaticAsyncDataService], (service: BookStaticAsyncDataService) => { | |
service.getBooks().subscribe(b => { | |
expect(b.length).toBe(3); | |
done(); | |
}); | |
})()); | |
}); |
I hereby claim:
To claim this, I am signing this object:
App.ApplicationController = Ember.Controller.extend({ | |
eventLinkActive: function() { | |
return this.get('currentPath').indexOf('events') !== -1); | |
}.property('currentPath') | |
}); | |
{{link-to 'events' active=eventLinkActive}} |
#! /usr/bin/ruby | |
## | |
# == remember: | |
# * insert your login and password at Line 100, and save this file. | |
# * of couse, be very carefull if you send this to a friend... REMOVE your credentials first! | |
# * if you are using Google Hosted for your Domain (Google Apps), your_login is something like: [email protected] | |
# * example: go = GoGmail.new($*[0], 'imap.gmail.com', 993, $*[1], '[email protected]', 'littlebird', $*[2]) | |
# | |
# == usage: |
@Singleton | |
public class Importer { | |
@EJBContext | |
private EJBContext ctx; | |
private ConcurrentLinkedQueue queue = new ... | |
private AtomicBoolean isRunning = false; | |
public void add(ImportItem itm) { | |
queue.offer(item); |