Skip to content

Instantly share code, notes, and snippets.

View exander77's full-sized avatar

Alexander Weps exander77

View GitHub Profile
@exander77
exander77 / BasicERC20.sol
Created February 7, 2021 13:10 — forked from giladHaimov/BasicERC20.sol
Basic ERC20 implementation
pragma solidity ^0.4.19;
contract ERC20Basic {
string public constant name = "ERC20Basic";
string public constant symbol = "BSC";
uint8 public constant decimals = 18;
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
@exander77
exander77 / build_cross_gcc
Created November 12, 2021 10:47 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.
@exander77
exander77 / Doxyfile
Created November 30, 2021 12:36 — forked from sarnold/Doxyfile
Documenting JavaScript with Doxygen
FILTER_PATTERNS =*.js=doxygen.js