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
# Linux keyring file (login.keyring) contained a lot of dead entries with black passwords | |
# Update the application siganture (chrome-6391234) from an entry | |
# Additional/Alternative search items could be added | |
import keyring | |
keys = keyring.get_keyring() | |
for k in keys.backends: | |
if isinstance(k, keyring.backends.SecretService.Keyring): | |
collection = k.get_preferred_collection() |
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
export class ProductService { | |
constructor(private authHttp: AuthHttp) {} | |
get(): Observable<any> { | |
this.products = []; | |
return this.authHttp.get('/api/products', {search: {limit: 100}}) | |
// Take information from first response and make subsequent responses | |
// Response body contains: {hasMore: (boolean), nextOffset: (int), data: (array)} | |
.expand((response) => { | |
let obj = response.json(); |