Skip to content

Instantly share code, notes, and snippets.

View skywinder's full-sized avatar
:octocat:

Petr Korolev skywinder

:octocat:
View GitHub Profile
@skywinder
skywinder / README.txt
Created April 14, 2021 05:00
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.1+commit.df193b15.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@skywinder
skywinder / gitkraken.zsh
Last active October 25, 2022 15:37 — forked from dersam/gitkraken.zsh
Here is a single line to add kraken support in `.zshrc`
# Open GitKraken using the current repo directory in the cli.
alias kraken='open -na "GitKraken" --args -p "$(git rev-parse --show-toplevel)"'
# Now you can 'git kraken'!
@skywinder
skywinder / firefox-profile.gitignore
Last active March 2, 2024 04:07
gitignore for Firefox profile
cookies.sqlite
cookies.sqlite-wal
favicons.sqlite-wal
logins.json
places.sqlite-wal
prefs.js
storage/
datareporting/
webappsstore.sqlite
webappsstore.sqlite-wal