Skip to content

Instantly share code, notes, and snippets.

View bespalown's full-sized avatar

Viktor Bespalov bespalown

  • Alfa-Bank
  • Russia
View GitHub Profile
15:35 $ ping mail.ru
PING mail.ru (94.100.180.200): 56 data bytes
64 bytes from 94.100.180.200: icmp_seq=0 ttl=56 time=187.709 ms
Request timeout for icmp_seq 1
64 bytes from 94.100.180.200: icmp_seq=1 ttl=56 time=1364.997 ms
Request timeout for icmp_seq 3
64 bytes from 94.100.180.200: icmp_seq=2 ttl=56 time=2146.350 ms
64 bytes from 94.100.180.200: icmp_seq=3 ttl=56 time=1339.821 ms
64 bytes from 94.100.180.200: icmp_seq=4 ttl=56 time=550.642 ms
64 bytes from 94.100.180.200: icmp_seq=5 ttl=56 time=539.796 ms
{
"avatar" : "https:\/\/cdn.iconscout.com\/icon\/free\/png-256\/avatar-371-456323.png",
"phone" : "89999999999",
"department" : "IVCS",
"id" : 1,
"last_name" : "Петров",
"company" : "hi-tech",
"email" : "[email protected]",
"profileNote" : "Из мира кошек и окошек",
"comment" : "Генеральный директор",
{
"contacts" : [
{
"id" : 1,
"last_name" : "Holt",
"first_name" : "Eve",
"avatar" : "https:\/\/cdn.iconscout.com\/icon\/free\/png-256\/avatar-371-456323.png"
},
{
"id" : 2,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><numberedMessage xmlns:ns2="http://ivcs.su/videoconference" xmlns:ns3="http://ivcs.su/videoconference/events" xmlns:ns4="http://ivcs.su/documents/events">
<sequenceNumber>41</sequenceNumber>
<ns3:chat_room_call_invitation>
<chatRoom>
<id>
<id>5fd40df3-8d64-3cfa-b563-13b54f632643</id>
</id>
<createdBy>
<id>5aa7c6af-1f61-4863-ae76-b5807cbc1534</id>
</createdBy>
{
"room" : {
"description" : "123",
"subject_ids" : [
1,
8
],
"image_ids" : [
184677
],
{
"room" : {
"description" : "123",
"subject_ids" : [
1,
2,
3,
4,
5,
6,
--- NEW REQUEST ---
POST http://wl.dev.walletone.com/1/checkout/invoicingapi/directDebitAccounts
--- HTTP HEADERS ---
["X-Wallet-Timestamp": "2015-11-13T17:38:36", "X-Wallet-UserId": "191238281216", "Content-Type": "application/json; charset=utf-8", "X-Wallet-Signature": "IH8gqIhGLQvnpnPDM7B8dg==", "Accept": "application/json; charset=utf-8"]
--- BODY ---
{
PaymentTypes = (
SberbankRUB,
SberOnlineRUB
);
$(function () {
var checkoutWindow;
var statusInterval;
var timeoutInterval;
var expired = false;
var sec = 5;
var intervalId = setInterval(function () {
sec = sec - 1;
typedef NS_ENUM(NSInteger, UserAttributeTypeId)
{
UserAttributeTypeIdNone,
UserAttributeTypeIdAbsMainBankAccountId, // Основной счет в АБС клиента
UserAttributeTypeIdAccountantEmail, // AccountantEmail
UserAttributeTypeIdAccountantPhoneNumber, // Номер телефона бухгалтера
UserAttributeTypeIdAllowWithdrawForBusiness,// Разрешен ли вывод для юридического лица
UserAttributeTypeIdAvatar, // URL аватара
UserAttributeTypeIdBirthDate, // Дата рождения
--- NEW REQUEST ---
POST https://wl.walletone.com/w1/invoicingapi/payments/55116057/process
--- HTTP HEADERS ---
[X-Wallet-UserId: 129213545437, Content-Type: application/json, X-Wallet-Signature: OHx5+HoyCQIPAIlEqOKFmw==, X-Wallet-Timestamp: 2015-07-10T09:14:41, Accept: application/json]
--- BODY ---
{
Amount = 1;
CurrencyId = 643;
InvoiceAdditionalParams = {
"WMI_FAIL_URL" = "http://bespalown.ru/fail";