JSX
State Vs Props
Event Handling
Form Handling
React Router
Context
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
# i3blocks config file | |
# | |
# Please see man i3blocks for a complete reference! | |
# The man page is also hosted at http://vivien.github.io/i3blocks | |
# | |
# List of valid properties: | |
# | |
# align | |
# color | |
# command |
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 sys import exit | |
def begin(): | |
while True: | |
answer = raw_input("Are you ready, %s? Type yes or no: > " % name) | |
if answer == "yes" or answer == "Yes": | |
fork() | |
elif answer == "no" or answer == "No": | |
print "I'm sorry you feel that way. Try agian when you are ready :)" | |
quit() |