- Let's start by creating a project
npm help
mkdir random-wombat-facts; and cd random-wombat-facts
npm init
- explain each line
vim index.js
- generate basic list of facts (fact1, fact2, etc)
- console.log one of them
- search for
random array
on npmjs.com
- pick
random-item
Hi JS Meetup Organizers!
The JSConf team is doing a bit of research about JavaScript-focused meetup groups around the country.
We're curious to know what meetups look like in cities around the US - if you've got a moment, we'd love it if you could fill out a small survey!
Of greatest interest to us is what kind of talks have been given at your meetup in 2014. We want to know what talks were given and who gave those talks. I realize this might be a bit of a hassle to put together, so at a minimum, if you have a link we can look into it directly :)
As a bonus, we're raffling off a JSConf ticket, which will go to one lucky organizer (but you'll only be entered if you fill out a form ;-)). To be part of the raffle, please let us know about your meetup group by March 15, 2015. (If you win the free ticket and already purchased a ticket, JSConf will refund you! Or you can transfer it to a friend!)
assert.js:92 | |
throw new assert.AssertionError({ | |
^ | |
AssertionError: path must be a string | |
at Module.require (module.js:362:3) | |
at require (module.js:380:17) | |
at internals.Pack._createCache (/Users/rockbot/npm-inc/newww/node_modules/hapi/lib/pack.js:87:36) | |
at new module.exports.internals.Pack (/Users/rockbot/npm-inc/newww/node_modules/hapi/lib/pack.js:53:18) | |
at new module.exports.internals.Server (/Users/rockbot/npm-inc/newww/node_modules/hapi/lib/server.js:129:21) | |
at Object.<anonymous> (/Users/rockbot/npm-inc/newww/server.js:6:14) |
I hereby claim:
- I am rockbot on github.
- I am rockbot (https://keybase.io/rockbot) on keybase.
- I have a public key ASCVWD_5cur80cTPz40cey0hUkHODzEzyPOEd1mJJXNdPAo
To claim this, I am signing this object:
{ | |
"fields": [ "name", "keywords", "description", "author", "version", | |
"stars" ], | |
"query": { | |
"function_score": { | |
"query": { | |
"multi_match": { | |
"query": "underscore", | |
"fields": [ "name^4", "keywords", "description", "readme" ] | |
} |
# By default up/down are bound to previous-history | |
# and next-history respectively. The following does the | |
# same but gives the extra functionality where if you | |
# type any text (or more accurately, if there is any text | |
# between the start of the line and the cursor), | |
# the subset of the history starting with that text | |
# is searched (like 4dos for e.g.). | |
# Note to get rid of a line just Ctrl-C | |
"\e[B": history-search-forward | |
"\e[A": history-search-backward |
rockbot@rocksauce:Hacking$ hoodie new test | |
.d$b. .d$b. .d$$$$$$b. .d$$$$$$b. .d$$$$$$b. .d$b..d$$$$$$$$b. | |
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P' | |
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b. | |
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P' | |
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b. | |
'Q$P' 'Q$P' 'Q$$$$$$P' 'Q$$$$$$P' 'Q$$$$$$$P 'Q$P''Q$$$$$$$$P' | |
Version: 0.2.7 (node v0.10.13, npm 1.3.11, platform: darwin) |
rockbot@rocksauce:appium$ node server.js | |
info: Welcome to Appium v0.9.1 (REV 6868e3e70f1d56319f48fd771444d70f1d15fa97) | |
info: Appium REST http interface listener started on 0.0.0.0:4723 | |
info - socket.io started | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"Android","device":"Android","platform":"Mac","version":"6.1","app":"/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","app-package":"com.example.android.apis","app-activity":".ApiDemos","javascriptEnabled":true}} | |
info: Using local app from desiredCaps: /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
info: Creating new appium session bfa951c7-e68d-4397-9a8e-16aebff71402 | |
info: Starting android appium | |
debug: Using fast reset? true |
WINDOW MANAGER LAST ANR (dumpsys window lastanr) | |
<no ANR has occurred since boot> | |
WINDOW MANAGER POLICY STATE (dumpsys window policy) | |
mSafeMode=false mSystemReady=true mSystemBooted=true | |
mLidState=-1 mLidOpenRotation=-1 mHdmiPlugged=false | |
mLastSystemUiFlags=0xe00008 mResettingSystemUiFlags=0x0 mForceClearedSystemUiFlags=0x0 | |
mUiMode=1 mDockMode=0 mCarDockRotation=-1 mDeskDockRotation=-1 | |
mUserRotationMode=0 mUserRotation=0 mAllowAllRotations=-1 |
rockbot@rocksauce:appium$ node server.js --udid 015d3fbace3c0813 -p 4730 -dp 4726 | |
info: Welcome to Appium v0.8.5 (REV ec3895f283e7b1702fd6a2f4d1310a4d851eafdd) | |
info: Appium REST http interface listener started on 0.0.0.0:4730 | |
info - socket.io started | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"Android","device":"Android","platform":"Mac","version":"6.0","app":"/Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk","app-package":"com.example.android.apis","app-activity":".ApiDemos","javascriptEnabled":true}} | |
info: Using local app from desiredCaps: /Users/rockbot/dev/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk | |
info: Creating new appium session 6be986a3-703d-49dc-b703-9f29a9a45abc | |
info: Starting android appium | |
debug: Using fast reset? true |