- Bartender 2
- Brave
- Caret
- Gitify
- Gitter
- Hacker Menu
- Lighting
- Paw
- Screenhero
- Spotify Bluetooth Headset Listener
This file contains 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
{"lastUpload":"2021-01-19T17:55:51.022Z","extensionVersion":"v3.4.3"} |
This file contains 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
nvm ls-remote | tail -1 | sed -r 's/.*v(\S+).*/\1/' |
This file contains 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
git branch -D (git branch | grep -E -v 'develop|master' | tr -ds '\n' ' ' | sed 's/^[ \t]*//') |
This file contains 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
var Promise = require('bluebird'); | |
Bookshelf.transaction(Promise.coroutine(function*(t) { | |
const library = yield Library.forge({name: 'Old Books'}).save(null, {transacting: t}); | |
return yield Promise.map( | |
[ | |
{ title: 'Canterbury Tales' }, | |
{ title: 'Moby Dick' }, | |
{ title: 'Hamlet' } | |
], |
This file contains 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
const Promise = require('bluebird'); | |
Promise.series = (promiseArr) => Promise.each(promiseArr, (result) => result); | |
exports.up = function(knex) { | |
return Promise.series([ | |
knex.schema.renameTable('tomatoes', 'potatoes'), | |
knex.schema.table('potatoes', (table) => table.string('name')) | |
]); | |
}; |
This file contains 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
const Promise = require('bluebird'); | |
Promise.series = (promiseArr) => Promise.each(promiseArr, (result) => result); |
This file contains 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
const Promise = require('bluebird'); | |
exports.up = function(knex) { | |
return Promise.all([ | |
knex.schema.renameTable('tomatoes', 'potatoes'), | |
knex.schema.table('potatoes', (table) => table.string('name')) | |
]); | |
}; |
This file contains 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
const requestFromLinkInFile = Promise.coroutine(function*() { | |
const url = yield fs.readFile('link.txt'); | |
const response = yield request.get(url); | |
return response.body ? response.body : 'No body returned from request.'; | |
})(); |
This file contains 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
describe('GET potatoes', function() { | |
it('returns JSON with only authenticated robot\'s potatoes', function*() { | |
const glados = yield factory.create('robot'); | |
const gladosPotatoes = [ | |
yield factory.create('potato', { ownerId: glados.id }); | |
yield factory.create('potato', { ownerId: glados.id }); | |
]; | |
const wheatley = yield factory.create('robot'); | |
const wheatleyPotato = |
NewerOlder