Skip to content

Instantly share code, notes, and snippets.

View dobrienSTJ's full-sized avatar

Daniel O'Brien dobrienSTJ

View GitHub Profile
@dobrienSTJ
dobrienSTJ / 5kpace.py
Created September 14, 2016 17:00
STJLOL-DOB-5K Pace Calculator
while True:
pace=input("Please enter your projected KM pace per minute")
if pace == "4:00min/km":
print("20:00")
elif pace == "4:30min/km":
print("22:30")
@dobrienSTJ
dobrienSTJ / avgeek.py
Created September 14, 2016 17:01
STJLOL-DOB-Avgeek
while True:
print("Welcome to the AvGeek Simulator")
sleep(2)
choice=input("Type in your faviourite aircraft manufacturer!!!")
sleep(3)
if choice == "Boeing":
print("%43 of the World's Aircraft Fleet are Boeing!!!! (Most Popular Aircraft: 737-800)")
@dobrienSTJ
dobrienSTJ / bikeireland.py
Created September 14, 2016 17:03
STJLOL-DOB-Bike Ireland
while True:
def welcomescreen():
print("Hello, and Welcome to Google Maps")
print("maps.google.ie")
print("As Dublin is the Capital City of Ireland, your travels will start from the city centre!")
print("This version of Google Maps is the Cycling Beta!")
print("When you add the amount of hours you would like to travel on your bike for we will give you a destenation you can travel to")
@dobrienSTJ
dobrienSTJ / codingclass.py
Created September 14, 2016 17:04
STJLOL-DOB-CodingTutorial
from time import sleep
while True:
def bug():
print("If you have not picked to learn about 'the topic' you have found a BUG.The fix is currently being developed. Sorry for any inconvience cause. Visit www.tinyurl.com/codingtime for a full guide on coding or visit the 'dcuish' YouTube channel for video tutorials.")
print("Welcome to the Coding Class Help Center!!!!")
sleep(2)
tutorial=input("Now pick a topic to learn about!!! Topics: print, string, multiplying strings, saving python files, opening saved python files in the terminal, editing python files in the terminal, make the computer pause, create a loop, how to use if, elif and else, make a function")
@dobrienSTJ
dobrienSTJ / dronebarge.py
Created September 14, 2016 17:04
STJLOL-DOB-Drone Barge
import pibrella
from time import sleep
while True:
def welcomescreen():
print("Welcome To The Command Application of the DroneShip 'Galaxy'")
welcomescreen()
sleep(2)
command=input("Please Type your command NOW, Commands: G= Move Forward S= Stop 1= Sound On 2= NAV Lights On 3= Beacon On 4= Sound Off 5= NAV Lights Off 6= Beacon Off ")
@dobrienSTJ
dobrienSTJ / insultron.py
Created September 14, 2016 17:05
STJLOL-DOB-Insultron
from time import sleep
print("wELCOME tO iNSULTRION 1.0")
thingy=input("wAITING fOR sLOW hUMAN iNPUT...sTILL wAITING...")
sleep(1)
print("gENERATING pERFECT iNSULT...sTANDBY...")
sleep(3)
print("yOU'RE a " +thingy + "!!!")
sleep(2)
print(" ")
@dobrienSTJ
dobrienSTJ / irishrail.py
Last active September 14, 2016 17:07
STJLOL-DOB-Irish Rail
while True:
from time import sleep
print("Welcome to the Online Booking Service for the Rush and Lusk Train Station, operated by Irish Rail")
sleep(2)
print("Please choose a option to continue")
choiceone=input("
@dobrienSTJ
dobrienSTJ / rpiai.py
Created September 14, 2016 17:08
STJLOL-DOB-RPIAI
while True:
from time import sleep
print("Hello my name is Raspberry Pi 14, I would like to ask you a question")
sleep(2)
print("Can you please tell me your name?")
name=input("Type your name HERE")
sleep(4)
print("Well Hi there " + name)
sleep(1)
@dobrienSTJ
dobrienSTJ / runningdistances.py
Created September 14, 2016 17:09
STJLOL-DOB-Running Distances
while True:
distance=input("Please Enter The Distance in KM Of The Run and I Will give you the Correct Conversion")
if distance == "5km":
print("3.1 miles")
elif distance == "10km":
print("6.2 miles")
@dobrienSTJ
dobrienSTJ / transportforrush.py
Created September 14, 2016 17:10
STJLOL-DOB-Transport For Rush
def dublinbus():
dublinbus=input("Would you like to travel on the 33,33A or 33X")
if dublinbus=="33":
thirtythree=input("Choose to travel to Balbriggan or Lower Abbey Street")