This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configure | |
| edit firewall ipv6-name home-ipv6 | |
| set default-action drop | |
| set rule 10 action accept | |
| set rule 10 state established enable | |
| set rule 10 state related enable | |
| top |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| show dns dynamic status | |
| > interface : pppoe0 | |
| > ip address : 146.200.56.42 | |
| > host-name : adamcooke-1.tunnel.tserv1.lon2.ipv6.he.net | |
| > last update : Sat Jan 10 13:40:25 2015 | |
| > update-status: good |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configure | |
| edit service dns dynamic interface pppoe0 | |
| set service dyndns host-name [TUNNEL HOSTNAME] | |
| set service dyndns login [TUNNELBROKER.NET USERNAME] | |
| set service dyndns password [UPDATE KEY] | |
| set service dyndns server ipv4.tunnelbroker.net | |
| top | |
| commit | |
| save | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit | |
| save | |
| exit | |
| ping6 google.com | |
| > PING google.com(2a00:1450:4009:80a::2000) 56 data bytes | |
| > 64 bytes from 2a00:1450:4009:80a::2000: icmp_seq=1 ttl=58 time=19.3 ms | |
| > 64 bytes from 2a00:1450:4009:80a::2000: icmp_seq=2 ttl=58 time=10.4 ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set protocols static interface-route6 ::/0 next-hop-interface tun0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configure | |
| set interfaces tunnel tun0 description "HE IPv6 Tunnel" | |
| set interfaces tunnel tun0 encapsulation sit | |
| set interfaces tunnel tun0 local-ip 0.0.0.0 | |
| set interfaces tunnel tun0 remote-ip [SERVER IPv4 ADDRESS] | |
| set interfaces tunnel tun0 address [CLIENT IPv6 ADDERSS] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| User.create(params.require*:user).auto_permit('User')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class UsersController < ApplicationController | |
| def create | |
| User.create(params.require(:user).permit(:first_name, :last_name, :email_address, :password, :password_confirmation)) | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if user = User.authenticate(username, password) | |
| session[:user_id] = user.id | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "details":"http://github.com/adamcooke/vat-rates", | |
| "rates":[ | |
| { | |
| "name":"Italy", | |
| "code":"IT", | |
| "periods":[ | |
| { | |
| "effective_from":"0000-01-01", | |
| "rates":{ |