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 'sinatra' | |
require 'json' | |
require 'openssl' | |
require 'base64' | |
WEBHOOK_KEY = 'webhook_sandbox_key_19a08a7f7f181eadc45a188f815aa4f0' | |
WEBHOOK_SECRET = '43e042f238733fc892d9bbb06b564a023999d116a7d345c51c48611ba81e4ba4' | |
get '/' do | |
'hello world' |
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 'nokogiri' | |
require 'open-uri' | |
require 'yaml' | |
doc = Nokogiri::HTML.parse(open("https://en.wikipedia.org/wiki/List_of_country_calling_codes")) | |
table = doc.css('table.wikitable').first | |
cells = table.css('td') |
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
This application does not collect or store personal data. | |
If you installed this application from Google Play, then Google Play does collect some personal data. Please see the privacy policy for Google Play Services here: https://policies.google.com/privacy |
OlderNewer