make sure to clone this gist!
then npm install
it
then run node example.js
if it doesn't work ping me on twitter (@isntitvacant) or irc (chrisdickinson in #pdxnode on freenode.net)
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(()); | |
} |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style> | |
ul { float:left; margin-right:20px; } | |
body { color:white; font-family:Helvetica, sans-serif; text-shadow:1px 1px 1px rgba(0,0,0,0.2); } | |
ul { width:512px; overflow:hidden; border-radius:6px; } |
created modified repo name | |
----------------------------------------- | |
2012-12-29 2012-12-29 ever-delegate | |
2012-12-29 2012-12-30 programify | |
2012-12-29 2012-12-29 ancestors | |
2012-12-27 2012-12-27 raf | |
2012-12-19 2012-12-19 rewrite-js | |
2012-12-12 2012-12-12 cssauron-falafel | |
2012-12-04 2012-12-04 glsl-tilemap | |
2012-12-03 2012-12-04 glslify |
var net = require('net') | |
, fs = require('fs') | |
var gitclient = require('./index')('git://github.com/chrisdickinson/plate.git') | |
, transport = require('git-transport-protocol') | |
, walk = require('git-walk-refs') | |
, load = require('git-fs-repo') | |
load('/Users/chris/projects/experiments/plate/.git', function(err, git) { | |
var refs = git.refs() |
d = new Date(); new Date(d.getFullYear(), d.getMonth(), d.getDate() + 1, +time.split(':')[0], +time.split(':')[1], +time.split(':')[2]) - +d |
// transform an element + eventName into | |
// a stream of those DOMEvents over time. | |
function events(element, eventName, selector) { | |
var lastEvent | |
, nextRead | |
element.on(eventName, selector, onevent) | |
return {read: read} |
var repo = require('./index') | |
, path = require('path') | |
, dir = path.resolve( | |
__dirname | |
, '..' | |
, '..' | |
, 'personal' | |
, 'plate' | |
, '.git' | |
) |
package main | |
import "math" | |
import "container/list" | |
import "strconv" | |
//import "fmt" | |
import "os" | |
import "encoding/json" | |
import "runtime/pprof" |