Skip to content

Instantly share code, notes, and snippets.

View Punkoivan's full-sized avatar

PunkoIvan Punkoivan

  • Ukraine, Dnipropetrovs'k
View GitHub Profile
@Punkoivan
Punkoivan / ajax
Created September 29, 2018 21:41
$(document).ready(function(){
$(".button").click(function(){
var number = $(".field_with_number").text();
var address = $(".field_with_address").text();
$.ajax({
type: "POST",
url: "/settings/setmin",
data: {min: number, addr: address},
<!DOCTYPE html>
<html>
<body>
// Load jQuery
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
// Load google charts loader
<script type='text/javascript' src='https://www.gstatic.com/charts/loader.js'></script>
// Chart script, function build. values - array.
<script type='text/javascript'>
function build(values) {
2018-08-22 09:17:36 libevent: epoll_dispatch: epoll_wait reports 1
2018-08-22 09:17:36 libevent: event_active: 0x563603e840a8 (fd 9), res 2, callback 0x7fad23cba0d0
2018-08-22 09:17:36 libevent: event_process_active: event: 0x563603e840a8, EV_READ call 0x7fad23cba0d0
2018-08-22 09:17:36 libevent: evhttp_get_request_connection: new request from 172.32.32.10:54722 on 13
2018-08-22 09:17:36 libevent: Attempting connection to 172.32.32.10:54722
2018-08-22 09:17:36 libevent: event_add: event: 0x7fad040076e0 (fd -1), EV_READ call 0x7fad23cabd40
2018-08-22 09:17:36 libevent: event_del: 0x7fad04007760 (fd -1), callback 0x7fad23cab920
2018-08-22 09:17:36 libevent: event_del: 0x7fad040076e0 (fd -1), callback 0x7fad23cabd40
```
2018-08-21 19:42:50 SafeCash Miner thread terminated
2018-08-21 19:42:50 keypool return 2
2018-08-21 19:43:05 keypool keep 3
2018-08-21 19:43:05 PeerLogicValidation::NewPoWValidBlock sending header-and-ids 2518b2f5e914d80bbfe555a51788ee5218347fe49da78f6bd7e027ae87d69a64 to peer=0
2018-08-21 19:43:05 sending cmpctblock (949 bytes) peer=0
2018-08-21 19:43:05 PeerLogicValidation::NewPoWValidBlock sending header-and-ids 2518b2f5e914d80bbfe555a51788ee5218347fe49da78f6bd7e027ae87d69a64 to peer=1
2018-08-21 19:43:05 sending cmpctblock (949 bytes) peer=1
2018-08-21 19:43:05 PeerLogicValidation::NewPoWValidBlock sending header-and-ids 2518b2f5e914d80bbfe555a51788ee5218347fe49da78f6bd7e027ae87d69a64 to peer=2
2018-08-21 19:43:05 sending cmpctblock (949 bytes) peer=2
2018-08-15 15:28:31 libevent: epoll_dispatch: epoll_wait reports 1 [1456/1975]
2018-08-15 15:28:31 libevent: event_active: 0x5569ffe74da8 (fd 9), res 2, callback 0x7f2728edd0d0
2018-08-15 15:28:31 libevent: event_process_active: event: 0x5569ffe74da8, EV_READ call 0x7f2728edd0d0
2018-08-15 15:28:31 libevent: evhttp_get_request_connection: new request from 172.32.31.10:38402 on 18
2018-08-15 15:28:31 libevent: Attempting connection to 172.32.31.10:38402
2018-08-15 15:28:31 libevent: event_add: event: 0x7f2708005dc0 (fd -1), EV_READ call 0x7f2728eced40
2018-08-15 15:28:31 libevent: event_del: 0x7f2708005e40 (fd -1), callback 0x7f2728ece920
2018-08-15 15:28:31 libevent: event_del: 0x7f2708005dc0 (fd -1), callback 0x7f2728eced40