building parsec (responsive themes) - joe casabona
-
sketch
- have an idea of what it'll look like
-
style tile
- essentially a style guide / mockup
-
view how everything looks
sketch
style tile
view how everything looks
a lotta initials here. This is me wrangling resources related to WMS NCIP service until I can actually get it to work.
document.addEventListener('keydown', function(ev) { | |
var audio = document.getElementById('audioplayer') | |
, okayKeys = [32, 37, 39] | |
; | |
if (okayKeys.indexOf(ev.keyCode) > -1) { | |
ev.preventDefault(); | |
} | |
// space (pause) |
// > console.teen("omg so kewl!") | |
// OmG sO kEwL! | |
console.teen = function() { | |
var input = [].slice.call(arguments).join(' '), yay = true, i = 0, out = '', l | |
if (!input.length) return; | |
for(;i<input.length;i++) { | |
l = input[i] | |
if (/[a-z]/i.test(l)) { | |
out += yay ? l.toUpperCase() : l |
NCIP.prototype.lookupUser = function(userPrincipalID, opts, cb) { | |
var fieldPossibilities = ['LoanedItems', 'AccountDetails', 'RequestedItems']; | |
var fieldsDefaults = { | |
LoanedItems: { | |
_el: { | |
value: 'Loaned Items', | |
element: 'ElementType' | |
}, | |
start: { | |
value: 1, |
function emptyLinkReport () { | |
var collection = [] | |
var emptyLinks = document.querySelectorAll('a[href="#"]') | |
Array.prototype.forEach.call(emptyLinks, function (a) { collection.push([a.innerText, a]) }) | |
// report total | |
console.log('%d empty links found!', collection.length) | |
collection.forEach(function (pair,idx) { | |
// link text |
module.exports = [ | |
'', | |
' ________________', | |
' | |_____ __', | |
' | I Love You! | |__| |_________', | |
' |________________| |::| | /', | |
' /\\**/\\ | \\.____|::|__| <', | |
' ( o_o )_ | \\::/ \\._______\\', | |
' (u--u \\_) |', | |
' (||___ )==\\', |
This famous linguist once said that of all the phrases in the English language, of all the endless combinations of words in all of history, that "cellar door" is the most beautiful.
(Drew Barrymore in Donnie Darko)
I honestly have no idea how the phrase "cellar door" popped into my head, but that it did really does speak to that quote. Like (so I'm learning) many new-ish code-slingers, I'm always at a loss of what projects to work on when learning a/my language; all of the ideas I have are too huge or too dull to keep my interest long enough to follow them through. So the epiphany I had this morning was exciting enough to try and bang out in a short period of time: build a Twitter bot that breaks up the last phrase tweeted and uses the new WordsAPI to build a new tweet out of synonyms. A game of Whisper Down the Lane (aka C
OCLC API | Scope code |
---|---|
WMS Acquisitions API | WMS_ACQ |
WMS Availabilty | WMS_Availability |
WMS Circulation API | WMS_CIRCULATION |
WMS Collection Management API | WMS_COLLECTION_MANAGEMENT |
License Manager API | WMS_LMAN |
WMS NCIP Service | WMS_NCIP |
WMS Vendor Information Center API | WMS_VIC |
Article Exchange | articleExchange |
var WSKey = require('oclc-wskey') | |
var https = require('https') | |
var fs = require('fs') | |
var wskey = { | |
public: 'give me a public key!', | |
secret: 'give me a secret key!' | |
} | |
var key = new WSKey(wskey.public, wskey.secret); |