Instantly share code, notes, and snippets.

View manual_stake_instructions.md

Approving the token transfer

  1. Navigate to the "Contracts" tab on MyCrypto: https://mycrypto.com/contracts/interact
  2. Make sure your network is set to "Ethereum (AUTO)" in the top right corner
  3. Set "Contract Address" to 0x42d6622deCe394b54999Fbd73D108123806f6a18
  4. Paste the following into the "ABI / JSON Interface" textfield:
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outpu
View setInterval.elm
import Graphics.Element exposing (..)
import Color exposing (blue, white)
import Task exposing (Task)
import Signal exposing (Mailbox, Address)
import Html exposing (Attribute, input)
import Html.Attributes exposing (type')
import Html.Events exposing (on, targetValue)
import Json.Decode exposing (Decoder)
import String
View install_passenger_nginx_digital_ocean.sh
# Login as root
ssh root@domain
# Create deploy user
adduser <username> #Adds User with username given. Enter Password when Prompted. Other Details are Optional
# Add user to sudo group
usermod -g <groupname> <username>
# Add .ssh/authorized_keys for deploy user