This was working on Vagrant 1.4.3 (Mac).
#HOST#
File: ~/.ssh/config
Host vagrant.*
ForwardAgent yes
File: Vagrantfile
| create table deps_saved_ddl | |
| ( | |
| deps_id serial primary key, | |
| deps_view_schema varchar(255), | |
| deps_view_name varchar(255), | |
| deps_ddl_to_run text | |
| ); | |
| create or replace function deps_save_and_drop_dependencies(p_view_schema varchar, p_view_name varchar) returns void as | |
| $$ |
This was working on Vagrant 1.4.3 (Mac).
#HOST#
File: ~/.ssh/config
Host vagrant.*
ForwardAgent yes
File: Vagrantfile
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.
| # Join multiple lines without new line | |
| value: > | |
| part 1 | |
| part 2 | |
| # Join with newline | |
| value2: | | |
| line 1 | |
| line 2 |
| #!/bin/sh | |
| # | |
| backupdir="./pg_backups" | |
| pgdump_args="-bF c" | |
| pgdumpall_globals_args="" | |
| pg_backup() { | |
| if [ ! -d ${backupdir} ]; then | |
| echo Creating $backupdir |
I'm tired of massive delay (500-1000 ms pings) while uploading large files. QoS helps some, but a significant portion remains due to bufferbloat (100-150ms). This leads to delay in VoIP calls and generally sluggish web browsing while uploading.
The new Codel algorithm in OpenWRT / Attitude Adjustment should help a lot. The results below show only ~5-6ms of added latency during uploads (i.e. 14ms vs 500+ms before!). Insane.
These instructions are for the TP-Link TL-WDR4300, because I got a good deal. If you have the money, buy a Netgear WNDR3800 and install CeroWRT, you'll probably see even better results.
In short, its fully supported in OpenWRT Attitude Adjustment and works well for my needs:
| server { | |
| root /var/www/example.com/static; | |
| server_name example.com; | |
| access_log /var/log/nginx/example.com.access.log; | |
| error_log /var/log/nginx/example.com.error.log; | |
| try_files /maintenance.html @proxy; | |
| location @proxy { | |
| proxy_pass http://127.0.0.1:10001; |
| #!/bin/bash | |
| #### This script is published by Philipp Klaus <philipp.l.klaus@web.de> | |
| #### on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/> | |
| #### It is originally by freese60 and modified by limemonkey. | |
| #### Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0> | |
| ### Uncomment this line to debug the script: | |
| #set -x |