← Miles Orrick
  • Programming stuff ...

  • Testing an SMS link in Safari.
  • Proof of concept - GODOT game exported to web.
  • Dungeon - a first-person dungeon crawler built in GODOT, playable in the browser.
  • Alien Run - an endless side-scrolling platformer built in GODOT, playable in the browser.
  • Server status - are my Minecraft, Factorio and Satisfactory servers up?
  • Advent of Code
  • My JSFiddle profile
  • My P5.js profile
  • My Coding Game profile
  • A page that contains every HTML element...
  • Josh's Game Session Database

    A way to track game sessions. What game was played. Who played. What score everyone got.

    We're going to store it in a database so the info can be stored, recalled, and reported on.

    Home page will be a dashboard. Maybe some quick stats. Links for entering a new session and reporting on stored sessions.

    Click here to try it...

  • A quick Python script to scrape my recipe titles.

    from html import unescape
    from urllib.request import urlopen
    
    html = urlopen('https://milesorrick.ca/recipes.html', timeout=30).read().decode()
    titles = []
    for section in html.split('<span'):
        if 'class="title"' in section:
            title = section.split('<p', 1)[1].split('>', 1)[1].split('</p>', 1)[0]
            titles.append(' '.join(unescape(title).split()))
    for i, title in enumerate(titles, 1): print(f'{i}. {title}')
    
  • Back to homepage