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":{ |
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
| require 'apns' | |
| # Create a client object | |
| client = APNS::Client.new('https://apns.company.com', auth_key) | |
| # Make a notification | |
| notification = APNS::Notification.new | |
| notification.alert_body = 'Hello World!' | |
| # Send the notification to the device token |
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
| require 'apns' | |
| # Create a client object | |
| client = APNS::Client.new('https://apns.company.com', auth_key) | |
| # Make a notification | |
| notification = APNS::Notification.new | |
| notification.alert_body = 'Hello World!' | |
| # Send the notification to the device token |
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
| interfaces { | |
| ethernet eth0 { | |
| vif 100 { | |
| out { | |
| name security | |
| } | |
| } | |
| } | |
| } |
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
| firewall { | |
| name security { | |
| default-action drop | |
| rule 1 { | |
| action accept | |
| description "Allow Management Server" | |
| destination { | |
| address 10.0.3.0/24 | |
| } | |
| log disable |
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
| interfaces { | |
| ethernet eth0 { | |
| vif 101 { | |
| in { | |
| modify public-traffic | |
| } | |
| } | |
| } | |
| } |
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
| firewall { | |
| modify public-traffic { | |
| rule 10 { | |
| modify { | |
| table 101 | |
| } | |
| source { | |
| address 172.16.0.0/24 | |
| } | |
| } |
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
| protocols { | |
| static { | |
| table 101 { | |
| interface-route 0.0.0.0/0 { | |
| next-hop-interface pppoe0 | |
| } | |
| } | |
| } | |
| } |
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
| K>* 10.0.0.0/16 via 10.0.5.1, tap0 | |
| C>* 10.0.5.0/24 is directly connected, tap0 | |
| K>* 185.22.208.0/22 via 10.0.5.1, tap0 |
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
| interfaces { | |
| openvpn vtun0 { | |
| config-file /config/auth/ovpn.conf | |
| } | |
| } |