Skip to content

Instantly share code, notes, and snippets.

Avatar

Jay Nagpaul jaynagpaul

View GitHub Profile
@jaynagpaul
jaynagpaul / app.go
Last active Jul 1, 2018
Example of a possible future WASM + Go framework.
View app.go
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
04844c79fec11d563174dcef8e0422bc0a45e0baf59ee3ab1e4c5486656d7cfdd770a5ff165d4a167c227759b7d81f1b2ebafe8cf3324e62cbee17a0003d7738fe
View instabot.py
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? ')