Skip to content

Instantly share code, notes, and snippets.

View 003random's full-sized avatar
:shipit:
../../../dev/random

003random 003random

:shipit:
../../../dev/random
View GitHub Profile
@jhaddix
jhaddix / all.txt
Last active April 20, 2024 04:45
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@bellaj
bellaj / gist:f04f1c2dc5e24dd753a22338519555ad
Created August 10, 2016 20:41
solidity smart contract
Solidity lets you program on Ethereum, a blockchain-based virtual machine that allows the creation and execution of smart contracts, without needing centralized or trusted parties.
Solidity is a statically typed, contract programming language that has similarities to Javascript and C. Like objects in OOP, each contract contains state variables, functions, and common data types. Contract-specific features include modifier (guard) clauses, event notifiers for listeners, and custom global variables.
Some Ethereum contract examples include crowdfunding, voting, and blind auctions.
As Solidity and Ethereum are under active development, experimental or beta features are explicitly marked, and subject to change. Pull requests welcome.
// First, a simple Bank contract
// Allows deposits, withdrawals, and balance checks
// simple_bank.sol (note .sol extension)
/* **** START EXAMPLE **** */