In React's terminology, there are five core types that are important to distinguish:
React Elements
| 'use strict'; | |
| var React = require('react-native'); | |
| var { | |
| Bundler, | |
| StyleSheet, | |
| Text, | |
| TouchableHighlight, | |
| View, | |
| ScrollView, |
| --- elasticbeanstalk/hooks/appdeploy/pre/04run.sh 2014-12-12 11:07:47.000000000 -0800 | |
| +++ elasticbeanstalk/hooks/appdeploy/pre/04run.sh-new 2014-12-17 15:31:45.000000000 -0800 | |
| @@ -65,6 +65,14 @@ | |
| EB_CONFIG_DOCKER_ENV_ARGS+=(--env "$ENV_VAR") | |
| done < <($EB_SUPPORT_FILES/generate_env) | |
| +# build --env-file arguments for docker | |
| + | |
| +EB_CONFIG_DOCKER_ENVFILE=() | |
| + |
In React's terminology, there are five core types that are important to distinguish:
React Elements
| import numpy as np | |
| def loadSparseMatrix(filename): | |
| """ | |
| Loads the sparse matrix in text file `filename` assuming the | |
| Matlab format. | |
| Each row of the file should specify the non-zero value | |
| at a particular location, using 1 based indexes, formatted as follows: |
A list of Sketch plugins hosted at GitHub, in no particular order.
| group :production do | |
| gem 'unicorn' | |
| # Enable gzip compression on heroku, but don't compress images. | |
| gem 'heroku-deflater' | |
| # Heroku injects it if it's not in there already | |
| gem 'rails_12factor' | |
| end |
| var express = require("express"); | |
| var app = express(); | |
| app.get("/restricted", function(req, res, next){ | |
| // Grab the "Authorization" header. | |
| var auth = req.get("authorization"); | |
| // On the first request, the "Authorization" header won't exist, so we'll set a Response | |
| // header that prompts the browser to ask for a username and password. |
| require_relative 'customer.rb' | |
| require_relative 'contact.rb' | |
| require_relative 'agent.rb' | |
| module Api | |
| module V1 | |
| module Entities | |
| class Ticket < Grape::Entity | |
| expose :id |
NOTE: This post now lives (and kept up to date) on my blog: http://hakunin.com/rails3-load-paths
Do nothing. All files in this dir are eager loaded in production and lazy loaded in development by default.