Skip to content

Instantly share code, notes, and snippets.

View Shadowborn's full-sized avatar

Sinwraith Shadowborn

  • Sinwraith
  • New England
View GitHub Profile
@Shadowborn
Shadowborn / BasicERC20.sol
Last active May 29, 2021 05:50 — forked from giladHaimov/BasicERC20.sol
Basic ERC20 implementation
pragma solidity ^0.4.22;
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);
@Shadowborn
Shadowborn / express_postgress_knex.md
Created December 30, 2020 19:33 — forked from laurenfazah/express_postgress_knex.md
Cheat Sheet: Setting up Express with Postgres via Knex

Express & Postgres via Knex

Note: <example> is meant to denote text replaced by you (including brackets).

Setup

// global dependencies
npm install -g knex
@Shadowborn
Shadowborn / System Design.md
Created September 18, 2020 17:09 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@Shadowborn
Shadowborn / redux-guide.js
Created November 21, 2019 01:41 — forked from vinnihoke/redux-guide.js
Step by Step Redux Guide:
// Step 1: Setup Folders
// Create an actions and a reducers folder. Then add an index.js file in both folders.
// Required dependency installs: axios, redux, react-redux, redux-thunk
************************************************
// Step 2: Create Redux Config File
// @ Root of application create a <config>.js file.
import { createStore } from 'redux';
Verifying my Blockstack ID is secured with the address 19wd17GwiDvZbkqdNM7jYB1XVYqWNUbXGH https://explorer.blockstack.org/address/19wd17GwiDvZbkqdNM7jYB1XVYqWNUbXGH
@Shadowborn
Shadowborn / LICENSE
Created April 1, 2019 17:53 — forked from ourmaninamsterdam/LICENSE
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions: