- Browser
- Proxy
- Gateway
TODO Difference between proxy and gateway caches.
ACTIVE_ATTRIBUTES: 35721 | |
ACTIVE_ATTRIBUTE_MAX_LENGTH: 35722 | |
ACTIVE_TEXTURE: 34016 | |
ACTIVE_UNIFORMS: 35718 | |
ACTIVE_UNIFORM_MAX_LENGTH: 35719 | |
ALIASED_LINE_WIDTH_RANGE: 33902 | |
ALIASED_POINT_SIZE_RANGE: 33901 | |
ALPHA: 6406 | |
ALPHA_BITS: 3413 | |
ALWAYS: 519 |
-# Don't display new assets on form redisplay | |
- unless (form.object.new_record? && form.object.data.dirty?) | |
%li | |
= form.object.name if form.object.data? | |
= form.file_field :data if form.object.new_record? | |
= form.text_field :title | |
= remove_link(form, t('assets.actions.remove')).html_safe! |
var util = require('util'), | |
express = require('express'), | |
httpProxy = require('http-proxy'); | |
var app = express.createServer(), | |
proxy = new httpProxy.HttpProxy(); | |
app.configure(function() { | |
app.use(express.static(__dirname + "/public")); | |
}); |
var SimplePeer = require('simple-peer') | |
// get video/voice stream | |
navigator.getUserMedia({ video: true, audio: true }, gotMedia, function () {}) | |
function gotMedia (stream) { | |
var peer1 = new SimplePeer({ initiator: true }) | |
var peer2 = new SimplePeer({ stream: stream }) | |
peer1.on('signal', function (data) { |
.clearfix { | |
display: block; | |
zoom: 1; | |
} | |
.clearfix::after { | |
clear: both; | |
content: "."; | |
display: block; | |
font-size: 0; |
I hereby claim:
To claim this, I am signing this object:
This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
require "xpath" # XPath is a separate gem now | |
module Cucumber | |
module Rails | |
module CapybaraSelectDatesAndTimes | |
def select_date(field, options = {}) | |
date = Date.parse(options[:with]) | |
selector = %Q{.//fieldset[contains(./legend, "#{field}")]} | |
within(:xpath, selector) do | |
find(:xpath, '//select[contains(@id, "_1i")]').find(:xpath, ::XPath::HTML.option(date.year.to_s)).select_option |
brew install gnupg, pinentry-mac
(this includes gpg-agent and pinentry)
Generate a key: $ gpg --gen-key
Take the defaults. Whatevs
Tell gpg-agent to use pinentry-mac:
$ vim ~/.gnupg/gpg-agent.conf