Skip to content

Instantly share code, notes, and snippets.

View staringispolite's full-sized avatar

Jonathan Howard staringispolite

View GitHub Profile
@staringispolite
staringispolite / asciiputsonglasses
Last active March 22, 2024 06:39
Ascii art sunglasses meme
Puts on glasses:
(•_•)
( •_•)>⌐■-■
(⌐■_■)
Takes off glasses ("mother of god..."):
(⌐■_■)
( •_•)>⌐■-■
> diff magi.txt agld.txt
1c1,2
< ubmitted for verification at Etherscan.io on 2021-09-01
---
> /**
> *Submitted for verification at Etherscan.io on 2021-09-01
810c811
< /// @title Magi Gold for Adventure Cards holders!
---
> /// @title Adventure Gold for Loot holders!
@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 / FixedCreatorToken.sol
Last active March 6, 2021 21:43
Basic fixed supply ERC-20 that inherits from OpenZeppelin
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract FixedCreatorToken is ERC20 {
constructor(string memory name_, string memory symbol_, uint256 totalSupply_) ERC20(name_, symbol_) public {
_mint(msg.sender, totalSupply_);

Keybase proof

I hereby claim:

  • I am staringispolite on github.
  • I am jhoward (https://keybase.io/jhoward) on keybase.
  • I have a public key ASB54gZX7FWhxx0aeT-bR--RRomj82wmn5756a7Z3kwU1go

To claim this, I am signing this object:

@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
"