Skip to content

Instantly share code, notes, and snippets.

View artob's full-sized avatar
⌨️
Coding

Arto Bendiken artob

⌨️
Coding
View GitHub Profile
@gballet
gballet / blockhash.csv
Last active April 29, 2021 13:28
List of contracts calling instructions BLOCKHASH and DIFFICULTY up to block 11555359
contract address opcode count
340113cd9eceedc5ae1f08bc391f120daf53277a 4147134
f5ae0e27cf423b1ed6513c3ca35cc14c22ee66fd 3677603
f0155486a14539f784739be1c02e93f28eb8e960 3493554
00868b5f38673a0c6804a4e1c130b7676177bb48 2665302
d1ceeeeee83f8bcf3bedad437202b6154e9f5405 2463296
f97e0a5b616dffc913e72455fde9ea8bbe946a2b 2424092
3401cab9bee49bcb76e13a8a09619e53d45c0af0 1414773
b77feddb7e627a78140a2a32cac65a49ed1dba8e 923262
6f6deb5db0c4994a8283a01d6cfeeb27fc3bbe9c 776227
@MichaelCurrin
MichaelCurrin / install-ruby-bundler.md
Last active February 3, 2025 02:40
Install Ruby 3 and Bundler

Install Ruby 3 and Bundler

Resources:

1. Install Ruby

@artob
artob / links.md
Last active November 12, 2020 07:00
Links for my 2020-11-11 presentation
@artob
artob / xref.md
Created November 6, 2020 15:51
Solidity Hard-Fork Cross Reference
[Solidity] [Default Target] [OpenEthereum]
0.7.4 Istanbul 2.6.6+
0.7.3 Istanbul 2.6.6+
0.7.2 Istanbul 2.6.6+
0.7.1 Istanbul 2.6.6+
0.7.0 Istanbul 2.6.6+
0.6.12 Istanbul 2.6.6+
0.6.11 Istanbul 2.6.6+
0.6.10 Istanbul 2.6.6+
{
"agreement": {
"title": "I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.",
"type": "boolean",
"required": true
}
}
@pirate
pirate / docker-compose.yml
Last active December 7, 2024 19:10
Example networking sidecar ingress containers for Cloudflare Argo, Wireguard, Tailscale, LetSencrypt, Caddy, and SOCKS/SSH tunnel containers in Docker Compose.
# Example networking sidecar ingress containers for Cloudflare Argo, Wireguard, Tailscale, LetSencrypt, Caddy, and SOCKS/SSH tunnel containers in Docker Compose.
# https://gist.github.com/pirate/1996d3ed6c5872b1b7afded250772f7c
# Goes well with these docker-compose database container examples:
# https://gist.github.com/pirate/1fafaa18a47254f388aa5c0f79f7d263
version: '2.4'
services:
demo:
@TheLoneRonin
TheLoneRonin / ARWEAVE.GQL.MD
Last active December 11, 2023 13:18
Arweave Query Guide

Arweave GraphQL Guide

Retrieving Data

In order to retrieve data from Arweave, you can use the following example query to retrieve the entire transaction output.

query {
    transactions {
        cursor
@vindarel
vindarel / Common Lisp VS Racket - testimonies.md
Last active March 20, 2025 08:45
Common Lisp VS Racket. Feedback from (common) lispers.

Developer experience, libraries, performance… (2021/11)

I'll preface this with three things. 1. I prefer schemes over Common Lisps, and I prefer Racket of the Schemes. 2. There is more to it than the points I raise here. 3. I assume you have no previous experience with Lisp, and don't have a preference for Schemes over Common Lisp. With all that out of the way... I would say Common Lisp/SBCL. Let me explain

  1. SBCL Is by far the most common of the CL implementations in 2021. It will be the easiest to find help for, easiest to find videos about, and many major open source CL projects are written using SBCL
  2. Download a binary directly from the website http://www.sbcl.org/platform-table.html (even for M1 macs) to get up and running (easy to get started)
  3. Great video for setting up Emacs + Slime + Quick Lisp https://www.youtube.com/watch?v=VnWVu8VVDbI

Now as to why Common Lisp over Scheme

@Agusx1211
Agusx1211 / details.md
Last active August 30, 2024 08:11
Universal deployer for EVM

Universal deployer for EVM contracts

To deploy a contract send the init_code of the contract to the Universal deployer. The deployed contract will have the same counter-factual address on all networks.

Universal deployer address: 0x1b926fbb24a9f78dcdd3272f2d86f5d0660e59c0

Deployment details

Signed transaction: 0xf9010880852416b84e01830222e08080b8b66080604052348015600f57600080fd5b50609980601d6000396000f3fe60a06020601f369081018290049091028201604052608081815260009260609284918190838280828437600092018290525084519495509392505060208401905034f5604080516001600160a01b0383168152905191935081900360200190a0505000fea26469706673582212205a310755225e3c740b2f013fb6343f4c205e7141fcdf15947f5f0e0e818727fb64736f6c634300060a00331ca01820182018201820182018201820182018201820182018201820182018201820a01820182018201820182018201820182018201820182018201820182018201820

@aleclarson
aleclarson / rollup-typescript.md
Last active February 28, 2025 16:13
The best Rollup config for TypeScript libraries

It's 2024. You should use tsup instead of this.


Features

🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs bundle
.d.ts bundle + type-checking