Skip to content

Instantly share code, notes, and snippets.

View AndyNovo's full-sized avatar

Andy Novocin AndyNovo

View GitHub Profile
View png2minestaxbook.py
#put a black and white PNG in the same directory (replace helloworld.png) and copy the output into a command block
template = """/give @p minecraft:writable_book{pages:["/say Welcome to Minestax","/scoreboard objectives add udctf dummy","/scoreboard players set 1 udctf 1","/scoreboard players set 0 udctf 0","/execute at @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"idx\"]}] run fill ~ ~ ~-200 ~ ~64 ~200 air replace","/kill @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"idx\"]}]","/summon minecraft:armor_stand ~10 ~ ~ {CustomNameVisible:1b,CustomName:\"\\\"idx\\\"\",Tags:[\"idx\"],HandItems:[{id:white_concrete_powder,Count:1b},{id:black_concrete_powder,Count:1b}]}","/execute at @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"idx\"]}] run setblock ~ ~-1 ~ minecraft:white_concrete_powder replace", "/data modify block ~-4 ~ ~ Items set value [{Slot:0b,id:writable_book,Count:1b,tag:{pages:[\"data modify block ~-4 ~ ~ Items[0].tag.pages set from block ~-4 ~ ~ Items[3].tag.pages\", \"say run\"]}},{Slot:1b,id:writab
@AndyNovo
AndyNovo / minestax.mcd
Last active November 7, 2022 05:12
MineStax mc86 interpreter in one mcd book.
View minestax.mcd
/give @p minecraft:writable_book{pages:["/say Welcome to Minestax","/scoreboard objectives add udctf dummy","/scoreboard players set 1 udctf 1","/scoreboard players set 0 udctf 0","/execute at @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"idx\"]}] run fill ~ ~ ~-200 ~ ~64 ~200 air replace","/kill @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"idx\"]}]","/summon minecraft:armor_stand ~10 ~ ~ {CustomNameVisible:1b,CustomName:\"\\\"idx\\\"\",Tags:[\"idx\"],HandItems:[{id:white_concrete_powder,Count:1b},{id:black_concrete_powder,Count:1b}]}","/execute at @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"idx\"]}] run setblock ~ ~-1 ~ minecraft:white_concrete_powder replace", "/data modify block ~-4 ~ ~ Items set value [{Slot:0b,id:writable_book,Count:1b,tag:{pages:[\"data modify block ~-4 ~ ~ Items[0].tag.pages set from block ~-4 ~ ~ Items[3].tag.pages\", \"say run\"]}},{Slot:1b,id:writable_book,Count:1b,tag:{pages:['l','i','i','d','s','d','s','d','s','s','l','l','i','i','i','s','c','l','i','s','c','l','i','i','s','
@AndyNovo
AndyNovo / AES1.md
Last active July 13, 2020 16:51 — forked from npilla2023/AES1.md
View AES1.md

Level 1: Finding a Shared Key

Thanks to Diffie-Hellman Key Exchange, the STARS can share secret messages that the CRABS will never crack. The STARS want to ensure that you can properly execute this process, so this is your chance to prove yourself as a promising agent. Agent Ocean will be training you.

Here is the information you have been briefed with:
Your super secret value is: 109306739515372000536684615587060142161
Agent Ocean's public value is: 54224788903180805177809934100426766384

View sledgehammer.py
from pwn import *
import sys
print("STARTING PYTHON SCRIPT")
def readleak(resp, start, end):
return u32(resp[start:end])
def getAddStart(leak, find):
count = 0
while (count < 50):
View nodes.json
{
"root":{
"color":"green",
"next": ["node1","node2","node3"]
},
"node1":{
"color":"red",
"next":[]
},
"node2":{
View theplan.md

We're building interactive K12 Education materials that we will teach this summer (and beyond)

pottyhumor

Goal for the day: A framework for educational materials to be gamified and an escape-room style unlock system

We're using URLs as the "flags"/"answers" that unlock the next lessons. i.e. learnhere.com/start might have 5 problems with various ed around it (including the best stuff online linked) and if you solve problem 1 you'll use the answer as a URL like learnhere.com/answertoprob1 which adds something to your inventory/history or just has the next lesson.

View k12ed.md

QUESTION: Are future student trajectories damaged by the quarantine?

DELIVERABLE: We will build virtualized STEAM curriculum that UD students will deliver online to middle schoolers this summer.

SCOPE: Have at least one interactive experience covering at least one appropriate topic.

DATA: Traditional pedagogical curriculum that needs adapting.

SKILLS: Empathy, kindness, web devs, minecraft?, child developmental models, curricular passion

@AndyNovo
AndyNovo / index.html
Created December 24, 2018 20:29
ZVyEpR
View index.html
<div class="container">
<div class="led-box">
<div class="led-red on"></div>
<p>Red LED is <span class="status"></span></p>
</div>
</div>