Comments? [email protected]
- Emacs learning curve?
- Mix of Emacs geeks skewed towards people who’ve been using this for a while (after all, takes a certain commitment to come all the way to an Emacs conference!)
Comments? [email protected]
Created from the plain text reference card on orgmode.org Download this file, and open it in Emacs org-mode!
| -- drop table bleh; | |
| create table bleh (id char(2) Primary Key, | |
| parent_id char(2) ); | |
| insert into bleh VALUES ('A1', null); | |
| insert into bleh VALUES ('A2', 'A1'); | |
| insert into bleh VALUES ('A3', 'A2'); | |
| insert into bleh VALUES ('A4', 'A3'); | |
| insert into bleh VALUES ('B1', null); |
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).
| require "rubygems" | |
| require "zipruby" # gem install zipruby | |
| require "rexml/document" | |
| require "fileutils" | |
| class Zip::Archive | |
| def index | |
| i = 0 | |
| each do |f| | |
| if yield f |
| #!/bin/bash | |
| # Use this to send and receive files | |
| # Dependencies: | |
| # SSH-Keys setup for root users. I recommend using agent forwarding for this. | |
| # mbuffer installed in /opt/local/bin/mbuffer. Adjust to reality. | |
| # | |
| # This script presumes: | |
| # zsnapper is installed. Comment out the two lines where it is referenced if you don't use it | |
| DATE=$(date +%Y%m%d%H%M) |
| require 'selenium-webdriver' | |
| require 'pp' | |
| profile = Selenium::WebDriver::Firefox::Profile.new | |
| profile.add_extension 'JSErrorCollector.xpi' # https://github.com/mguillem/JSErrorCollector/raw/master/dist/JSErrorCollector.xpi | |
| driver = Selenium::WebDriver.for :firefox, :profile => profile | |
| # do stuff |
| require 'formula' | |
| class TmuxIterm2 < Formula | |
| url 'http://iterm2.googlecode.com/files/iTerm2-1_0_0_20130122.zip' | |
| sha1 'a5f55b545500ebcb97e842f65ea9c90dd457f228' | |
| head 'git://tmux.git.sourceforge.net/gitroot/tmux/tmux' | |
| depends_on 'pkg-config' => :build | |
| depends_on 'libevent' |