Also see the discussion about global ajax settings:
Add support for a global ajaxConfig > Thus far we've just gone for having a base model and base collection in every project.
| var casper = require('casper').create({ | |
| viewportSize: { width: 1024, height: 768 } | |
| }); | |
| var rootUrl = 'http://drywall.herokuapp.com/'; | |
| casper.start(rootUrl, function() { | |
| this.evaluate(function(){ | |
| $('code').remove(); | |
| }); |
| lab.experiment('kittens', function () { | |
| var resultsOfAsync; | |
| lab.before(function (done) { | |
| // set the value | |
| resultsOfAsync = 'awesome stuff'; | |
| // Wait 1 second |
| // example using the raf module from npm. try changing some values! | |
| var requestAnimationFrame = require("raf") | |
| var canvas = document.createElement("canvas") | |
| canvas.width = 500 | |
| canvas.height = 500 | |
| document.body.appendChild(canvas) | |
| var context = canvas.getContext("2d") |
| var Model = require('ampersand-model'); | |
| var Foo = Model.extend({ | |
| props: { | |
| keys: { | |
| type: 'object', | |
| default: function () {return {};} | |
| } | |
| }, | |
| echo: function () { |
Also see the discussion about global ajax settings:
Add support for a global ajaxConfig > Thus far we've just gone for having a base model and base collection in every project.
| function delegate (child) { | |
| // make it happen | |
| return function inner () { | |
| var self = this; | |
| var func = Object.getOwnPropertyNames(this).filter(function (prop) { | |
| return inner === self[prop]; | |
| }).pop(); | |
| return this[child][func].apply(this[child], arguments); |
| /* global window */ | |
| var React = require('react/addons'); | |
| var ReactRouter = require('react-router'); | |
| var Routes = require('./Routes.react'); | |
| var MeStore = require('../../stores/Me'); | |
| var MeActions = require('../../actions/Me'); | |
| var RedirectActions = require('../../actions/Redirect'); | |
| var HistoryLocation = ReactRouter.HistoryLocation; |
The current font distribution seems to be missing some emojis.
https://github.com/mozilla/fxemoji/blob/gh-pages/dist/all/all.ttf
This is on the first smiley tab. I don't see an emoji on my mac, just the ascii smiley.
I'm using a RPi2 Model B and my primary computer is a Linux machine. I bought this kit from Amazon.
I like to start with a minimal base and build up as needed. I also like to work from my laptop, accessing the RPi remotely. This means I can work with the RPi without a dedicated keyboard, monitor and mouse. This is known as headless setup. Later, we can connect to the RPi via SSH for terminal access (or VNC if we had an X-server running).
These are just my reference notes. The official docs cover Windows, Mac and Linux in detail.