Skip to content

Instantly share code, notes, and snippets.

View multiplemonomials's full-sized avatar

Jamie Smith multiplemonomials

  • USC Rocket Propulsion Lab
View GitHub Profile

Indonesian Steamed Rice (Nasi Goreng) with Tofu

This is my twist on thevegetarianhannibal's recipe for Nasi Gorang, which is a sort of flavored, steamed dish of rice and veggies. I like this recipe because it has a fairly mild flavor, nothing too spicy or bold, but it still manages a to have a complex taste that'll leave you wanting more! I clarified/edited some parts of that recipe, and also added in some peppery pan-fried tofu that goes well with the salt-and-pepper flavor of the dish. It may not be super authentic but it sure does taste good!

Modified From:

thevegatarianhannibal's Nasi Goreng recipe

Tofu recipe from The Korean Vegan p. 243

Yield:

4-5 servings

20211217_091233 (2)

Modified From:

Cake: Chloe Flavor p. 234 Icing: TODO find citation

Yield:

1 cake layer plus icing (can double recipe to make a two layer cake)

Ingredients:

Yield

~40 cookies (2 sheets)

Ingredients

  • 281 g all-purpose flour
  • 20 g almond flour (helps with crispyness though you can replace with regular flour in a pinch)
  • 1 tsp baking soda
  • 1 tsp salt
  • 88 g vegetable shortening
  • 88 g fake butter (e.g. Earth Balance)
@multiplemonomials
multiplemonomials / Garlic Pepper Cashew Noodles.md
Last active March 27, 2022 05:59
Adapted version of a New York Times recipe that makes it vegan and adds crispy tofu.
@multiplemonomials
multiplemonomials / Drunken Noodles.md
Last active March 9, 2023 02:57
Drunken Noodles: A vegan thai stir fry recipe brimming with flavor
@multiplemonomials
multiplemonomials / Attempting to Connect the Wii Remote's Infrared Sensor to a Microcontroller.md
Last active July 6, 2022 08:28
Attempting to Connect the Wii Remote's Infrared Sensor to a Microcontroller

Attempting to Connect the Wii Remote's Infrared Sensor to a Microcontroller (+ Mouse Version)

Original blog post by Kako: http://www.kako.com/neta/2008-009/2008-009.html

Hand-translated to English by multiplemonomials


Last year (2007), I analyzed the Wii remote's infrared pointing sensor and tested out a method of controlling it from another machine. Continuing that, this time I attempted to make circuits to connect it to an Arduino dev kit that uses an AVR microcontroller. (4/13/2008)

1. Hardware

Analysis of the Infrared Pointing Sensor in the Wii Remote

Original blog post by Kako: http://www.kako.com/neta/2007-001/2007-001.html

Hand-translated to English by multiplemonomials


I took the infrared sensor from the PCB inside the remote, and I tried attaching an 8 pin (4 pins in two rows) connector to it.

@multiplemonomials
multiplemonomials / mbed_create_distro.cmake
Last active February 2, 2021 01:56
Mbed OS CMake script to let you create multiple targets but build the OS only once
# Patched version of the mbed function.
# (replaced "target_link_options(mbed-core INTERFACE" with "target_link_options(${target} PRIVATE")
# Can be removed once #14199 is merged
function(mbed_generate_options_for_linker_patched target definitions_file)
set(_compile_definitions
"$<TARGET_PROPERTY:${target},COMPILE_DEFINITIONS>"
)
# Remove macro definitions that contain spaces as the lack of escape sequences and quotation marks
# in the macro when retrieved using generator expressions causes linker errors.
@multiplemonomials
multiplemonomials / FindAsn1scc.cmake
Last active June 7, 2020 21:47
CMake module to find and use asn1scc
# ----------------------------------------------
# CMake module for the ASN1 Semantix Compiler (asn1scc)
#
#
# This module defines:
# Asn1scc_EXECUTABLE - path to asn1scc executable
# Asn1scc_COMMAND - command needed to run asn1scc (can be a list)
# Asn1scc_WORKS - whether asn1scc works
# Asn1scc_VERSION - Numeric version of asn1scc
# Asn1scc_FOUND - whether or not asn1scc was found
#!/bin/bash
# This script will set your Linux desktop to use a custom screen resolution.
# Set your resolution in the variables below, and then run the script each time your VM boots.
# Bam! No more annoying issues with your VM screen being too big or too small!
#
# Author: CP Jamie, with some help from StackOverflow
width=1280
height=1024
refreshrate=60