A few notes and links from the Lunch & Learn.
-
Two Sentences About Getting Older and Working on the Web - Frank Chimero
Github is confusing, Git is confusinger, pretty much everything in a modern web stack no longer makes sense to me
A few notes and links from the Lunch & Learn.
Two Sentences About Getting Older and Working on the Web - Frank Chimero
Github is confusing, Git is confusinger, pretty much everything in a modern web stack no longer makes sense to me
-----> Fetching custom git buildpack... done | |
-----> Multipack app detected | |
=====> Downloading Buildpack: https://github.com/cantino/heroku-selectable-procfile.git | |
=====> Detected Framework: Selectable Procfile | |
-----> Using deployment/heroku/Procfile.heroku as Procfile | |
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git | |
=====> Detected Framework: Ruby | |
-----> Compiling Ruby/Rails | |
-----> Using Ruby version: ruby-2.0.0 | |
-----> Installing dependencies using 1.6.3 |
window.fluid.dockBadge = ''; | |
setTimeout(updateDockBadge, 1000); | |
setTimeout(updateDockBadge, 3000); | |
setInterval(updateDockBadge, 5000); | |
function updateDockBadge() { | |
window.fluid.dockBadge = document.querySelector('[title^="Inbox"]').title.match(/\d+/); | |
} |
~/C/W/c/server (style-guide-master *) node app.js | |
collection: activities | |
events.js:85 | |
throw er; // Unhandled 'error' event | |
^ | |
Error: listen EADDRINUSE | |
at exports._errnoException (util.js:746:11) | |
at Server._listen2 (net.js:1146:14) | |
at listen (net.js:1172:10) | |
at Server.listen (net.js:1257:5) |
<html> | |
<head> | |
<script src="https://spiceworks.github.io/spiceworks-js-sdk/dist/spiceworks-sdk.js" type="text/javascript"></script> | |
<script src="https://code.jquery.com/jquery-2.1.3.min.js" type="text/javascript"></script> | |
</head> | |
<body> | |
Hello World | |
<script> | |
var card = new SW.Card(); | |
card.services('helpdesk').on('showTicket', function(ticketId){ |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
value: 100, | |
actions: { | |
updateValue(val) { | |
this.set('value', val); | |
} | |
} | |
}); |
I hereby claim:
To claim this, I am signing this object:
let getCandidateByShortname = (candidates, shortName) => | |
candidates.find((candidate) => candidate.shortName === shortName); | |
let floatsToInts = (candidate) => ({ | |
...candidate, | |
lastTradePrice: round(candidate.lastTradePrice), | |
lastClosePrice: round(candidate.lastClosePrice), | |
}); | |
let round = (float) => Math.round(float * 100); |