View app.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package devcomponents | |
// go:generate oak generate devcomponents -o components | |
import ( | |
"github.com/hogstack/oak" | |
"fmt" | |
) | |
var template = `<h1> Welcome to my App {app.name}! You are {app.age} years old. </h1>` |
View genesis_public_key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04844c79fec11d563174dcef8e0422bc0a45e0baf59ee3ab1e4c5486656d7cfdd770a5ff165d4a167c227759b7d81f1b2ebafe8cf3324e62cbee17a0003d7738fe |
View instabot.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from InstagramAPI import InstagramAPI | |
import time | |
def ask_for_info(): | |
""" | |
Ask the user running this script for certain info we need. | |
Returns a dictionary with the answers. | |
""" | |
username = input('What\'s your Instagram Username? ') |