Proof of concept setup for Wordpress running under PHP-FPM with an Nginx frontend
Build a copy of this image:
git clone git://github.com/d9206eacb5a0ff5d6be0.git docker-nginx-fpm
cd docker-nginx-fpm
docker build -t nginx-fpm .
import Ember from 'ember'; | |
export default Ember.ObjectController.extend({ | |
queryParams: ['page'], | |
page: 1, | |
comments: Ember.K(), | |
paginationObserver: function() { | |
var id = this.get('id'), | |
page = this.get('page'), |
# Template composition with inclusion | |
Every template language I have seen provides some mechanism for one template to include another, thus supporting the reuse of repeated elements like headers and footers. The included templates are called partials in Mustache parlance: | |
```html | |
<!-- home.hbs --> | |
<html> | |
<body> | |
{{> header}} | |
<p> HOME </p> | |
{{> footer}} |
machine: | |
node: | |
version: 0.10.28 | |
dependencies: | |
pre: | |
- npm install -g bower | |
override: | |
- npm i | |
- bower i | |
deployment: |
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install
will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
<?php | |
use Illuminate\Support\MessageBag, | |
Illuminate\Validation\Factory; | |
/** | |
* A simple wrapper for Laravel's native validator. Allows | |
* validation rules to be modified pre-validation based on | |
* input and can be used to throw an exception with the | |
* input and validation failures |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
Data Down / Actions Up
Plain JSBin's
Ember Version Base JSBin's
{ | |
"phone" : "all and (max-width: 603px)", | |
"desktop": "all and (min-width: 1025px)", | |
"tablet" : "all and (min-width: 604px) and (max-width: 1024px)" | |
} |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.