Christmas countdown

ummmmm Christmas was a few days ago but…

a while ago my mum challenged me to make a Christmas countdown timer that was grammatically correct, ( so it would say “1 minute” not “1 minutes”)

so id did this and released it on GitHub pages, but it is now live on this site

click here

i’m also really sorry about the downtime earlier

Gutenberg

OK, hey i haven’t posted a lot lately so i thought i would do a post about WordPress’s beta for its new page/post creator, Gutenberg and my review on it.

firstly i think i should say this but i downloaded it imediatly because i love betas and being able to use future tech.

issues:

  1. it doesn’t support plugins 🙁
  2. it can crash but is pretty reliable 🙂

new features:

Gutenberg features a band new editor based around the user dragging blocks in to a list

my review:

personally i think it is absolutely awesome apart from the fact you cant use plugins with it.

thanks for reading 🙂

scratch

I’ve been messing around on scratch a lot recently, i recently completed this game:

please tell me what to add next 🙂

Raspberry Pi

I currently have 1 raspberry Pi but am getting another one soon, i am currently working on python code that will run on 2 Raspberry Pis at the same times, e.g. a space simulate, if you have any cool ones share them with me, when i have finished one i will share them with you.

tomorrow

Just finished a python program that tells you tomorrows date

how it works:

the first part asks you for the date and then sets 6 variables,

day & aday, month & amonth, year & ayear

then it is put through if statements checking each month and then what the day is, then it print the answer.

date
print("im going to ask you for the date in 3 parts please enter in intergers")
day = int(input("day "))
month = int(input("month "))
year = int(input("year "))
print("tomorrow is")
amonth = month
ayear = year
if month == 1:
    if day == 31:
        aday = 1
        amonth = 2
    else:
        aday = (day+1)
if month == 2:
    leap = year%4
    if leap == 0:
        if day == 29:
            aday = 1
            amonth = 3
        else:
            aday = (day+1)
    else:
        if day == 28:
            aday = 1
            amonth = 3
        else:
            aday = (day+1)
if month == 3:
    if day == 31:
        aday = 1
        amonth = 4
    else:
        aday = (day+1)
if month == 4:
    if day == 30:
        aday = 1
        amonth = 5
    else:
        aday = (day+1)
if month == 5:
    if day == 30:
        aday = 1
        amonth = 6
    else:
        aday = (day+1)

if month == 6:
    if day == 30:
        aday = 1
        amonth = 7
    else:
        aday = (day+1)
if month == 7:
    if day == 31:
        aday = 1
        amonth = 8
    else:
        aday = (day+1)
if month == 8:
    if day == 31:
        aday = 1
        amonth = 9
    else:
        aday = (day+1)
if month == 9:
    if day == 30:
        aday = 1
        amonth = 10
    else:
        aday = (day+1)
if month == 11:
    if day == 30:
        aday = 1
        amonth = 11
    else:
        aday = (day+1)
if month == 12:
    if day == 31:
        aday = 1
        amonth = 1
        ayear = (year+1)
    else:
        aday = (day+1)

print(aday)
print(amonth)
print(ayear)