Speaker: @stuartrunyan
Venue: San Diego JS
Date: Decemeber 2nd
- Clean Room
- Determining If You Have a Memory Leak
// ./Gruntfile.js | |
module.exports = function(grunt) { | |
grunt.loadTasks('hoge'); | |
}; |
# @see http://getgrav.org/blog/mac-os-x-apache-setup-multiple-php-versions | |
# Symlinked /etc/apache2/httpd.conf to this repo httpd.conf | |
# sphp cli to switch PHP versions maintained by brew | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> |
"The difference between the two is how they change. `props` can be thought of as the input | |
from the outside world. It’s set from the parameters your component is called with, and | |
its values should be treated as immutable. `State`, on the other hand, is the data that’s | |
owned by your component. You update it via the `setState` method, and no one else should | |
be changing it on you." | |
-- http://www.crashlytics.com/blog/building-user-interfaces-with-react/ |
"use strict" | |
/** | |
* Meetup API Events Request | |
* Requests the next 3 SDJS upcoming events and returns an array of event objects | |
* @see http://www.meetup.com/meetup_api/ | |
* | |
* Go here to get your API_KEY | |
* @see https://secure.meetup.com/meetup_api/key/ | |
*/ |
// The settings here override the "Default/Preferences.sublime-settings" | |
// Settings may also be placed in file type specific options files, for | |
// example, in Packages/Python/Python.sublime-settings for python files. | |
{ | |
// Sets the colors used within the text area | |
"color_scheme": "Packages/Seti_UI/Scheme/Seti.tmTheme", | |
// Note that the font_face and font_size are overridden in the platform | |
// specific settings file, for example, "Preferences (Linux).sublime-settings". |
'use strict' | |
let promise = new Promise(function (resolve, reject) { | |
// Do shiz | |
if (false) { | |
reject(new Error('fucked up')) | |
} else { | |
resolve('true') | |
} | |
}) |
var proto = { | |
test: "test" | |
}; | |
var Factory = function (proto) { | |
return Object.create(proto); | |
}; | |
var instance = Factory(proto); |