This file contains 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(Modules.IVR); | |
let extState; | |
function initIVR() { | |
extState = new IVRState("extension", { | |
type: "inputfixed", | |
inputLength: 2, | |
prompt: { | |
say: "Hello, World. To continue, enter two digits.", |
This file contains 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
CREATE TABLE customers ( | |
id INTEGER PRIMARY KEY, | |
CustomerId INTEGER, | |
RegistrationDateTime DATE, | |
Name TEXT); | |
INSERT INTO customers (CustomerId, RegistrationDateTime, Name) | |
VALUES (1, "2017-11-25", "Bulat"); | |
INSERT INTO customers (CustomerId, RegistrationDateTime, Name) | |
VALUES (2, "2017-12-15", "Alina"); |
This file contains 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
export const getTriangleArea = (a, b, c) => { | |
if (a > 0 && b > 0 && c > 0) { | |
const p = (a + b + c) / 2; | |
console.log(p); | |
const area = Math.sqrt(p * (p - a) * (p - b) * (p - c)); | |
console.log(area); |
This file contains 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
pragma solidity ^0.4.11; | |
import "./ERC20Standard.sol"; | |
contract NewToken is ERC20Standard { | |
function NewToken() { | |
totalSupply = 1000000; | |
name = "All you need coin"; | |
decimals = 6; | |
symbol = "AYN"; |
This file contains 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
// Creates secret key and balance for test net. Outputs account.json. | |
const fs = require('fs'); | |
const Web3 = require('web3'); | |
const crypto = require('crypto'); | |
const {run} = require('./lib/utils.js'); | |
const prompt = require('./lib/prompt.js'); | |
async function main() { |
This file contains 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
brew update | |
brew upgrade | |
brew tap ethereum/ethereum | |
brew install cpp-ethereum | |
brew linkapps cpp-ethereum | |
//get the way to binar | |
export PATH=*YOURWAYTOBIN*:$PATH |
This file contains 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
pragma solidity ^0.4.18; | |
contract Ownable { | |
address public owner; | |
function Ownable() public { | |
owner = msg.sender; | |
} |
This file contains 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
$subdomain = 'ХХХ.com'; #Наш аккаунт - поддомен | |
/* | |
Подключаемся | |
*/ | |
$link='https://'.$subdomain.'.amocrm.ru/private/api/v2/json/leads/list'; | |
$curl=curl_init(); |
This file contains 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
0x4f207eaE259c0353Adbd0d50e541EA1eC8C71D9c |
This file contains 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
pragma solidity ^0.4.18; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { |
OlderNewer