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 'net/smtp' | |
| # Интерфейс отправки SMS при помощи службы qtelecom.ru. | |
| # Требует установки переменных QTELECOM_LOGIN, QTELECOM_PASSWORD. Работает через единственный на | |
| # данный момент рабочий из их протоколов (может у меня логин был неполноценный?) - SMTP. | |
| # | |
| # Thread safe. | |
| # | |
| # Enjoy ;) real.sergeych@gmail.com | |
| # |
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 code is provided under MIT license terms | |
| # real.sergeych@gmail.com | |
| require 'savon' | |
| # | |
| # Интерфейс к сервису по РФ: курс одной валюты на заданную дату | |
| # возвращает #rate как строку, как число можно получить float_rate, | |
| # decimal_rate. | |
| # |
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
| # | |
| # Tools to load ruby sources with require from inside compressed zips. | |
| # | |
| # real.sergeych@gmail.com, MIT license. No warranty. | |
| # | |
| require 'rubygems' | |
| require 'zip' | |
| alias require_old require |
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
| $ time uniclient -k test1.private.unikey -c simple_root_contract.yml | |
| Contract is sealed with 1 key(s) | |
| Contract is saved to: simple_root_contract.unicon | |
| Sealed contract size: 1417 | |
| Sealed contract has no errors | |
| Contract is valid | |
| real 0m0.619s | |
| user 0m0.768s | |
| sys 0m0.067s |
OlderNewer