Be sure you have postgres up and running and change the connection string in pgcopy.js
.
Run test.sql
to create the table.
$ npm install pg@6.0.3
With the changes introduced in brianc/node-pg-copy-streams#44:
mkdir /app/nano | |
curl https://github.com/Ehryk/heroku-nano/raw/master/heroku-nano-2.5.1/nano.tar.gz --location --silent | tar xz -C /app/nano | |
export PATH=$PATH:/app/nano |
#!/bin/bash | |
# Stephen's Raspberry Pi Mimimalist install from standard Raspdian Image | |
# as seen in http://www.raspberrypi.org/phpBB3/viewtopic.php?f=24&t=45437 | |
sudo apt-get update | |
sudo apt-get purge xserver* -y | |
sudo apt-get purge ^x11 -y | |
sudo apt-get purge ^libx -y | |
sudo apt-get purge ^lx -y | |
sudo apt-get purge samba* -y | |
sudo apt-get autoremove -y |
ARG FUNCTION_RUNTIME | |
FROM mikesir87/aws-cli as code | |
ARG FUNCTION_NAME | |
ARG AWS_DEFAULT_REGION | |
ARG AWS_ACCESS_KEY_ID | |
ARG AWS_SECRET_ACCESS_KEY | |
RUN wget -O function.zip `aws lambda get-function --function-name $FUNCTION_NAME --query 'Code.Location' --output text` |
global | |
maxconn 4096 | |
pidfile /tmp/haproxy-queue.pid | |
defaults | |
log global | |
mode http | |
timeout connect 300000 | |
timeout client 300000 | |
timeout server 300000 |
#!/bin/bash | |
# ----------------------------------------------------------------------- | |
# Installs Ruby 2.2 using rbenv/ruby-build on the Raspberry Pi (Raspbian) | |
# | |
# Run from the web: | |
# bash <(curl -s raw_script_url_here) | |
# ----------------------------------------------------------------------- | |
# Set up variables |
Be sure you have postgres up and running and change the connection string in pgcopy.js
.
Run test.sql
to create the table.
$ npm install pg@6.0.3
With the changes introduced in brianc/node-pg-copy-streams#44:
ctrl_interface=/var/run/wpa_supplicant | |
ctrl_interface_group=0 | |
update_config=1 | |
network={ | |
ssid="YOUR SSID here" | |
scan_ssid=1 | |
mode=0 | |
proto=WPA2 | |
auth_alg=OPEN |
module HashExtensions | |
def symbolize_keys | |
inject({}) do |acc, (k,v)| | |
key = String === k ? k.to_sym : k | |
value = Hash === v ? v.symbolize_keys : v | |
acc[key] = value | |
acc | |
end | |
end | |
end |
!#/bin/bash | |
wget http://node-arm.herokuapp.com/node_latest_armhf.deb | |
sudo dpkg -i node_latest_armhf.deb |
auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
auto wlan0 | |
allow-hotplug wlan0 | |
iface wlan0 inet dhcp | |
wpa-ssid "SSID" |