start new:
tmux
start new with session name:
tmux new -s myname
Picking the right architecture = Picking the right battles + Managing trade-offs
import tensorflow as tf | |
import numpy as np | |
from google.protobuf import json_format | |
import json | |
np.random.seed(12345) | |
def tensorflow_get_weights(): | |
""" |
CREATE EXTENSION btree_gist; | |
CREATE TABLE room_reservations ( | |
room_id integer, | |
reserved_at timestamptz, | |
reserved_until timestamptz, | |
canceled boolean DEFAULT false, | |
EXCLUDE USING gist ( | |
room_id WITH =, tstzrange(reserved_at, reserved_until) WITH && | |
) WHERE (not canceled) |
Ember.js currently doesn't have baked in support for Service Worker. They want this and there's an ember-cli RFCS thread discussing strategies however a number of tooling efforts exist to help fill in this gap today.
Note: you can of course just write vanilla Service Worker code for your Ember.js apps and that will work just fine. This doc tracks tooling and libraries that lower the friction for getting this setup
These static resource precaching and runtime caching libraries are lower-level than Broccoli, but can be used directly
function getSelectionString(el, win) { | |
win = win || window; | |
var doc = win.document, sel, range, prevRange, selString; | |
if (win.getSelection && doc.createRange) { | |
sel = win.getSelection(); | |
if (sel.rangeCount) { | |
prevRange = sel.getRangeAt(0); | |
} | |
range = doc.createRange(); | |
range.selectNodeContents(el); |
FROM ensogo/passenger-ruby23:0.9.18 | |
MAINTAINER [email protected] | |
ENV HOME /root | |
CMD ["/sbin/my_init"] | |
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN apt-get update | |
# Upgrade Passenger |
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).
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |