Skip to content

Instantly share code, notes, and snippets.

View idcmardelplata's full-sized avatar

Martin Algañaraz idcmardelplata

View GitHub Profile
# ----------------------------------------------------------------------
# {TYPE}: [{SCOPE}] {SUBJECT} What?
# {BODY} Why?
# {FOOTER}
# ----------------------------------------------------------------------
@idcmardelplata
idcmardelplata / .zshrc
Created May 11, 2021 20:05
Script para abrir directorios rápidamente usando fzf.
bindkey -s '' 'source $HOME/bin/sources.sh'
@idcmardelplata
idcmardelplata / contracts...TamiCoin.sol
Created December 15, 2021 00:40
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.3+commit.8d00100c.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
// IRC20 interface commonly usage for create new ethereum tokens.
// Custom tokens running on the Ethereum virtual machine must implement this or some other interface.
interface IRC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns(uint256);
# Load plugins.
# We don't actually need to set the one-dark theme, I've customised the vanilla
# tmux configuration to my liking. If this seems to be working well then I will
# later remove this line.
# set -g @plugin 'odedlaz/tmux-onedark-theme' # OneDark Theme
# Remap prefix to ctrl-a for screen consistency.
set -g prefix C-a