Skip to content

Instantly share code, notes, and snippets.

View Zeroocooloverride's full-sized avatar

ZerocoolOverride Zeroocooloverride

View GitHub Profile
@Zeroocooloverride
Zeroocooloverride / .prettierrc.json
Created October 6, 2025 15:02
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=false&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
This file has been truncated, but you can view the full file.
{
"id": "7fa7f486c5eaee6bdfd4d73d514633bd",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.28",
"solcLongVersion": "0.8.28+commit.7893614a",
"input": {
"language": "Solidity",
"sources": {
".deps/npm/hardhat/console.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity >=0.4.22 <0.9.0;\n\nlibrary console {\n address constant CONSOLE_ADDRESS =\n 0x000000000000000000636F6e736F6c652e6c6f67;\n\n function _sendLogPayloadImplementation(bytes memory payload) internal view {\n address consoleAddress = CONSOLE_ADDRESS;\n /// @solidity memory-safe-assembly\n assembly {\n pop(\n staticcall(\n gas(),\n consoleAddress,\n add(payload, 32),\n mload(payload),\n 0,\n 0\n )\n )\n }\n }\n\n function _castToPure(\n function(bytes memory) internal view fnIn\n ) internal pure
@Zeroocooloverride
Zeroocooloverride / hosts.ps1
Created April 5, 2024 06:13 — forked from markembling/hosts.ps1
Powershell script for adding/removing/viewing entries to the hosts file.
#
# Powershell script for adding/removing/showing entries to the hosts file.
#
# Known limitations:
# - does not handle entries with comments afterwards ("<ip> <host> # comment")
#
$file = "C:\Windows\System32\drivers\etc\hosts"
function add-host([string]$filename, [string]$ip, [string]$hostname) {