Skip to content

Instantly share code, notes, and snippets.

Frank Bonetti fbonetti

Block or report user

Report or block fbonetti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View todo
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<style>
.completed {
text-decoration: line-through
}
</style>
</head>
<body>
@fbonetti
fbonetti / manual_stake_instructions.md
Last active Sep 17, 2018
How to manually stake SPANK via MyCrypto
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
You can’t perform that action at this time.