@import '../variables.less';
.MyComponent {
background: @primary-color;
&-list {
max-width: @max-content-width;
Before upgrading, make sure you are allowing insecure registry access, or your newer docker won't be able to talk to the Deis registry:
sudo bash -c 'mkdir -p /etc/systemd/system/docker.service.d/; cat <<EOF > /etc/systemd/system/docker.service.d/50-insecure-registry.conf
[Service]
Environment="DOCKER_OPTS=--insecure-registry 10.0.0.0/8 --insecure-registry 172.16.0.0/12 --insecure-registry 192.168.0.0/16"
EOF
'
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
#cloud-config | |
coreos: | |
etcd: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new | |
discovery: https://discovery.etcd.io/<token> | |
# multi-region deployments, multi-cloud deployments, and droplets without | |
# private networking need to use $public_ipv4 | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 |
- Официальные видео:
- старое, Tom Dale объясняет материал подробнее и поэтому его легче смотреть новичкам https://www.youtube.com/watch?v=Ga99hMi7wfY
- новое. В нем Том затрагивает чуть больше материала https://www.youtube.com/watch?v=1QHrlFlaXdI
- Toran Billups записал очень хорошие базовые видео:
- здесь он рассказывает, как работают конвенции https://www.dropbox.com/s/w2yrlm5ckl1d57a/emberjsrc1.mp4?dl=0
- а здесь показывает, как од на Эмбер можно тестировать https://www.dropbox.com/s/6okovchqls8k6ao/QUnitTesting.mp4?dl=0
- Архитектура:
- Tom Dale о URL-driven приложениях http://vimeo.com/68390483
- Brandon Hays об Ember с точки зрения backend-разработчика https://www.youtube.com/watch?v=PdqbG71Dr84
- Yehuda Katz об MVC на клиенте https://www.youtube.com/watch?v=s1dhXamEAKQ
#Nginx Load Balancer Service For Core OS
Create a directory to manage using fleetctl for this service:
$ mkdir static
Create this file in static/nginx_lb.service
// assertions/compareScreenshot.js | |
var resemble = require('resemble'), | |
fs = require('fs'); | |
exports.assertion = function(filename, expected) { | |
var screenshotPath = 'test/screenshots/', | |
baselinePath = screenshotPath + 'baseline/' + filename, | |
resultPath = screenshotPath + 'results/' + filename, | |
diffPath = screenshotPath + 'diffs/' + filename; |
#!/bin/bash | |
# Clones as usual but creates local tracking branches for all remote branches. | |
# To use, copy this file into the same directory your git binaries are (git, git-flow, git-subtree, etc) | |
clone_output=$((git clone "$@" ) 2>&1) | |
retval=$? | |
echo $clone_output | |
if [[ $retval != 0 ]] ; then | |
exit 1 |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545