Skip to content

Instantly share code, notes, and snippets.

David dvdplm

Block or report user

Report or block dvdplm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c2055c72221533240a8d12dbc224a1a6
Block receipt for `#6881` (`0x1AE1`) from node 4.
```
$ curl --data '{"method":"eth_getBlockByNumber","params":["0x1AE1",true],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8544 | jq
```
```json
{
"jsonrpc": "2.0",
"result": {
"author": "0xbbcaa8d48289bb1ffcf9808d9aa4b1d215054c78",
View gist:018e8d919d30f5df7b850a561a8c1637
hashdb
keccak-hash
kvdb
kvdb-memorydb
kvdb-rocksdb
memorydb
parity-bytes
parity-crypto
path
patricia_trie
View chatlio.js
window._chatlio = window._chatlio||[];
!function(){ var t=document.getElementById("chatlio-widget-embed");if(t&&window.React&&_chatlio.init)return void _chatlio.init(t,React);for(var e=function(t){return function(){_chatlio.push([t].concat(arguments)) }},i=["configure","identify","track","show","hide","isShown","isOnline"],a=0;a<i.length;a++)_chatlio[i[a]]||(_chatlio[i[a]]=e(i[a]));var n=document.createElement("script"),c=document.getElementsByTagName("script")[0];n.id="chatlio-widget-embed",n.src="https://w.chatlio.com/w.chatlio-widget.js",n.async=!0,n.setAttribute("data-embed-version","2.0");
n.setAttribute('data-widget-id','a2228030-ebdd-4806-7c9d-3cb0283beb26');
n.setAttribute('data-start-hidden', true);
c.parentNode.insertBefore(n,c);
}();
document.addEventListener("chatlio.ready", function() {
})
View testjs.js
console.debug("hello world");
@dvdplm
dvdplm / stockholm marathon playlist
Last active Aug 29, 2015
stockholm marathon playlist
View stockholm marathon playlist
Panaxiahärvan Sveriges Radio P3 Dokumentär
P3 DokumentärTrustor Sveriges Radio SR p3 dokumentar
P3 Dokumentär Bofors 2006-09-24 Sveriges Radio SR p3 dokumentar
Sunday Bloody Sunday Sveriges Radio P3 Dokumentär
Planet Money indicator strikes back NPR
Planet Money square deal NPR
Planet Money luddites NPR
Planet Money delicious apples NPR
Blizzard Say Hi to Your Mom Discosadness
Bad Ink (Original Mix) Dense & Pika Bad Ink
@dvdplm
dvdplm / keybase.md
Last active Aug 29, 2015
keybase.md
View keybase.md

Keybase proof

I hereby claim:

  • I am dvdplm on github.
  • I am dvdplm (https://keybase.io/dvdplm) on keybase.
  • I have a public key whose fingerprint is 6786 3879 FF02 14A0 6EBE 0935 5537 EE10 0403 CAEE

To claim this, I am signing this object:

@dvdplm
dvdplm / mock_tire.rb
Created Mar 27, 2012
Mocking helper to stop Tire from submitting searches to Elasticsearch
View mock_tire.rb
module Tire
module Disable
module ClassMethods
def mock_es_response_doc
@mock_es_response_doc ||=
'{"took": 1,"timed_out": false,"_shards": {"total": 5,"successful": 5,"failed": 0},"hits": {"total": 0,"max_score": null,"hits": []}}'
end
def enable! &blk
old_enabled = @tire_enabled || false
@dvdplm
dvdplm / mock_tire.rb
Created Mar 27, 2012
Mocking helper to stop Tire from submitting searches to Elasticsearch
View mock_tire.rb
module Tire
module Disable
module ClassMethods
def mock_es_response_doc
@mock_es_response_doc ||=
'{"took": 1,"timed_out": false,"_shards": {"total": 5,"successful": 5,"failed": 0},"hits": {"total": 0,"max_score": null,"hits": []}}'
end
def enable! &blk
old_enabled = @tire_enabled || false
You can’t perform that action at this time.