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
@nbogie
nbogie / inverse_kinematics.py
Created Oct 18, 2019
inverse kinematics tentacles - bad bad python code
View inverse_kinematics.py
# Inverse Kinematics tenacles with python and pygamezero
# Roughly following Daniel Shiffman's algorithm:
# https://www.youtube.com/watch?v=xXjRlEr7AGk
# pygamezero docs:
# https://pygame-zero.readthedocs.io/en/stable/builtins.html
import math
import random
@nbogie
nbogie / i3-on-lubuntu-cheatsheet.md
Last active Oct 10, 2019
My i3-on-lubuntu cheatsheet. Not much here yet.
View i3-on-lubuntu-cheatsheet.md
@nbogie
nbogie / check_puppet_syntax.sh
Created Jun 17, 2011
script to syntax-check puppet .pp and .erb files
View check_puppet_syntax.sh
#!/bin/bash
#Script to test puppet files have valid syntax.
#Intended for use with hudson/jenkins.
set -e
set -u
fail=0
#TODO: Run these in parallel - we have 4 cores.
#TODO: Control the environment (through the config dir?).
View tg_pypercard.py
from pypercard import Inputs, CardApp, Card
import random
my_cards = [
Card(
"entrance",
text="You are in the top of a tall tower ,a locked door to the left and a window to the right",
buttons=[
{"label": "Try and pick the lock", "target": "locked door"},
{"label": "Go out of the window", "target": "falling"},
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 / festival_of_code_journal_topics.markdown
Last active Jul 26, 2019
A rough list of topics for our Festival of Code dev journals (and presentations)
View festival_of_code_journal_topics.markdown

Topics for Dev Journal and Presentation

  • Team name
  • Project Name
  • The Idea
    • What problem are we solving?
    • Who is it for?
    • Where and When would they use it?
  • Problems we had...
    • ...and how we solved them
  • What technology was used?
@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
You can’t perform that action at this time.