Skip to content

Instantly share code, notes, and snippets.

nbogie

Block or report user

Report or block nbogie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View microbit_arcade_box.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View microbit_holder.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View zippy_joystick_plate.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View buttons.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nbogie
nbogie / cyf-conf-games.md
Last active Jul 2, 2019
What was that game called? CYF Conference 2019 - social games
View cyf-conf-games.md
View html-css-assessment-notes.md

Prepare and run an end-of-module assessment for HTML&CSS

What's needed this week?

I suggest two possible formats for the assessment: either Nate's single-file quiz, here: https://gist.github.com/NateWr/3d8b0cc5eb19712912d9f31dfb1d7896 or my interactive version on Kahoot, here: https://create.kahoot.it/share/html-css-quick-quiz/98be1fc1-00d6-4186-98b9-fbac58b8fce3

  • Pick one format.
  • Check that the content is suitable.
  • Translate it.
  • Add any more questions that you think are important, but keep the exercise under 1 hour.
@nbogie
nbogie / read_and_post_hiscores.py
Last active Jun 7, 2019
A very simple example python program to read (imagined) high scores and post high scores from/to a Web API.
View read_and_post_hiscores.py
# Quickstart: https://2.python-requests.org/en/master/user/quickstart/
import requests # For HTTP requests (GETting and POSTing stuff)
import random # we'll generate some random data for speed
# you can look at the scores on the server here:
# https://femi-hiscores.glitch.me/scores
# You can make your OWN server by remixing my one. Start here:
# https://glitch.com/~femi-hiscores
View sweet-potato-curry.json
{
"title": "Sweet Potato & Spinach Curry With Lemony Rice",
"ingredients": [
"1 brown onion",
"50g solid coconut cream",
"2 garlic cloves",
"2 tomatoes",
"1 tbsp curry powder",
"1 lemon",
"1 pinch of saffron",
@nbogie
nbogie / recipe.json
Last active May 17, 2019
cyf - example recipe for recipe API
View recipe.json
{
"title": "Adana",
"ingredients": [
"1 kg ground lamb",
"Kosher salt",
"4 teaspoons ground cumin, divided",
"4 tablespoons ground sumac, divided",
"4 tablespoon ground Urfa pepper flakes, divided",
"4 tablespoons ice-cold water"
],
You can’t perform that action at this time.