I hereby claim:
- I am nnzo on github.
- I am enzogla (https://keybase.io/enzogla) on keybase.
- I have a public key ASDZ9XcPdNHIyHIgvJeKgdMRTdPFIF2n5AE8osLuNN4rgQo
To claim this, I am signing this object:
// PASTE the below into your Geth Javascript console (geth attach) | |
// Every minute it'll report the total days and estimated blocks per second | |
lastSyncedBlock = 1; | |
(function percentage() { | |
ee = eth.syncing.currentBlock - lastSyncedBlock | |
perSecond = (ee / 60).toFixed(3) | |
totalSeconds = (eth.syncing.highestBlock - eth.syncing.currentBlock) / perSecond | |
totalDays = (totalSeconds / 86400).toFixed(4) | |
console.log('Rate of ' + perSecond + ' blocks per second. ' + 'Estimated ' + totalDays + ' days.') |
I hereby claim:
To claim this, I am signing this object:
enzogla
I hereby claim:
To claim this, I am signing this object:
<section class="container"> | |
<h1> | |
<span class="title">Lundi</span> | |
</h1> | |
</section> |
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { | |
print("Timer fired!") | |
} |
struct SingleIsland { | |
let name: String | |
} | |
struct ContentView: View { | |
@State var islands = [ | |
SingleIsland(name: "Wangerooge"), | |
SingleIsland(name: "Spiekeroog"), | |
SingleIsland(name: "Langeoog") |
admin.addPeer("enode://b6058de83ed4d4496b6bc95a8fa14411d18c496212740616744f6ff501700caf5c3068c37d4befc02047bf4e5dcc610197f002e57c20b5bbdee5f2aa27e2c953@18.156.36.188:30303") | |
admin.addPeer("enode://0fdca3b09a4f0f6f8c0e01512fd5506c511cbeaa3441434c80f087bd117fe79677662649c1c7be4ab714875f125ff621e4bdec897e754f89e04fc85f82bc9391@116.202.170.226:30303") | |
admin.addPeer("enode://9d45f21eeb37bd5555fac0c4094ae3d4d144d93e2313aeb891bf3054b0dcf6ca817961ed29ea1de00389b5c36dc6bbe9b00443e367b16ed8ba251cea6c242044@94.176.237.140:30303") |
RAILS_ENV=production bundle exec rake db:create db:schema:load |
# Add .numeric? | |
class String | |
def numeric? | |
return true if self =~ /\A\d+\Z/ | |
true if Float(self) rescue false | |
end | |
end |
require 'net/http' | |
require 'uri' | |
require 'json' | |
class BitcoinRPC | |
def initialize(service_url) | |
@uri = URI.parse(service_url) | |
end | |
def method_missing(name, *args) |