The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> | |
<uses-permission android:name="android.permission.INTERNET"></uses-permission> |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
## | |
## WPS on OpenWRT | |
## This script enables Wi-Fi Protected Setup on OpenWRT. | |
## | |
## Resources | |
## http://wiki.openwrt.org/doc/uci/wireless#wps.options | |
## | |
#Install the full wpad package | |
opkg update |
landrush is an excellent Vagrant plugin if you are trying to develop or test in a multi-machine VM environment. It works by spinning up a small local DNS server and registering the private network IPs of each machine during vagrant up
so that they can be accessed via their hostname in both the host machine as well as the other guest machines. A great bonus of using landrush is that the VMs can be defined in separate Vagrantfiles (e.g. if you have separate git repos for building different machines).
vagrant landrush status
- show whether the DNS server# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats | |
# Change example.com (server_name) to your website url | |
# Change /path/to/your/root to the correct value | |
server { | |
listen 80; | |
server_name example.com; | |
root /path/to/your/root; | |
index index.html; |
factory :user do | |
name "Jessie Pinkman" | |
password "secret" | |
password_confirmation "secret" | |
factory :group_admin, parent: :user do | |
after(:create) do |user, evaluator| | |
group = evaluator.respond_to? :group ? evaluator.group : create(:group) | |
user.add_role :admin, group |
factory :user do | |
name "Jessie Pinkman" | |
password "secret" | |
password_confirmation "secret" | |
trait :group_admin do | |
ignore do | |
group = nil | |
end |
factory :user do | |
name "Jessie Pinkman" | |
password "secret" | |
password_confirmation "secret" | |
factory :group_admin, parent: :user do | |
ignore do | |
group = nil | |
end |