Skip to content

Instantly share code, notes, and snippets.

View staringispolite's full-sized avatar

Jonathan Howard staringispolite

View GitHub Profile
@staringispolite
staringispolite / BasicERC20.sol
Last active August 4, 2021 14:20 — forked from giladHaimov/BasicERC20.sol
Basic ERC20 implementation
pragma solidity >=0.4.22 <0.6.0;
contract ERC20Basic {
string public constant name = "JonCoin";
string public constant symbol = "JH";
uint8 public constant decimals = 18;
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
@staringispolite
staringispolite / install_wifi_access_point.sh
Created March 31, 2018 04:56 — forked from dashohoxha/install_wifi_access_point.sh
How to setup a Wifi Access Point on Ubuntu 12.04 (or its derivatives).
#!/bin/bash
### Setup a wifi Access Point on Ubuntu 12.04 (or its derivatives).
### make sure that this script is executed from root
if [ $(whoami) != 'root' ]
then
echo "
This script should be executed as root or with sudo:
sudo $0
"