I hereby claim:
- I am chrisdickinson on github.
- I am chrisdickinson (https://keybase.io/chrisdickinson) on keybase.
- I have a public key whose fingerprint is 9554 F04D 7259 F041 24DE 6B47 6D5A 82AC 7E37 093B
To claim this, I am signing this object:
| use extism_pdk::*; | |
| use blextism::bpy::{self, types::NodeSocket}; | |
| // A port of https://github.com/CGArtPython/blender_plus_python/blob/main/geo_nodes/subdivided_triangulated_cube/subdivided_triangulated_cube_part_2_done.py | |
| fn scene_setup() -> Option<()> { | |
| if bpy::context().active_object().and_then(|obj| obj.mode())? == "EDIT" { | |
| bpy::ops::object::editmode_toggle(()); | |
| } |
| // my npm dep tree (fake, made of lies) | |
| myproject | |
| ├─┬ [email protected] | |
| │ └── [email protected] | |
| └── [email protected] |
| // my problem: (with a bit of handwaving here — imagine that each step is | |
| // _actually_ async) | |
| function doAThing() { | |
| return new Promise(resolve => { // A | |
| setTimeout(resolve, 100, Math.random()) | |
| }).then(randomNum => { // B (derived from A's result) | |
| return randomNum * Math.random() | |
| }).then(superRandomNumber => { // C | |
| return superRandomNumber * originalRandomNumber | |
| // where "originalRandomNumber" === "randomNum" from A |
| FROM ubuntu:14.04 | |
| RUN apt-get update && apt-get -y install wget build-essential | |
| RUN apt-get install -y tree | |
| WORKDIR /gba | |
| RUN wget http://iweb.dl.sourceforge.net/project/devkitpro/devkitARM/previous/devkitARM_r42-x86_64-linux.tar.bz2 | |
| RUN wget http://iweb.dl.sourceforge.net/project/devkitpro/libgba/libgba-20150106.tar.bz2 | |
| RUN wget http://iweb.dl.sourceforge.net/project/devkitpro/maxmod/maxmod-gba-1.0.9.tar.bz2 | |
| RUN wget http://hivelocity.dl.sourceforge.net/project/devkitpro/libfat/libfat-gba-1.0.13.tar.bz2 |
I hereby claim:
To claim this, I am signing this object:
http://www.perkin.org.uk/posts/automated-virtualbox-smartos-installs.html
save the following as setup.sh and run it:
#!/bin/sh
#
# Configurables:
| // THIS ISN'T EVEN MY FINAL FORM | |
| console.log((function (ctxt) { | |
| cats: { | |
| with(ctxt) { | |
| try { | |
| return cats | |
| } finally { | |
| break cats | |
| } | |
| } |
| d = new Date(); new Date(d.getFullYear(), d.getMonth(), d.getDate() + 1, +time.split(':')[0], +time.split(':')[1], +time.split(':')[2]) - +d |