Skip to content

Instantly share code, notes, and snippets.

View peterkingsbury's full-sized avatar
👾
Loving Gitlab

stormwarestudios peterkingsbury

👾
Loving Gitlab
View GitHub Profile
@peterkingsbury
peterkingsbury / keybase.md
Created September 10, 2019 17:37
Keybase proof

Keybase proof

I hereby claim:

  • I am peterkingsbury on github.
  • I am martiandreamer (https://keybase.io/martiandreamer) on keybase.
  • I have a public key ASCDC-K6lCz_1HAPDV_PSoFH_3HJ90nG-el9DNU4C891dgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am peterkingsbury on github.
  • I am martiandreamer (https://keybase.io/martiandreamer) on keybase.
  • I have a public key ASCDC-K6lCz_1HAPDV_PSoFH_3HJ90nG-el9DNU4C891dgo

To claim this, I am signing this object:

https://gist.github.com/gbl-peter/a282ce79b2dc3c2025318597153f430a
'use strict';
const assert = require('assert');
const fibonacci = require('fibonacci');
const {
Worker,
MessageChannel,
MessagePort,
isMainThread,
parentPort,
{
"printWidth": 200,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "always",
@peterkingsbury
peterkingsbury / godot_devtools.sh
Last active October 30, 2021 15:27
Script to launch dual Godot IDEs for Client and Server project instances along with a CLI, and position them across multiple monitors
#!/bin/bash
# CC0
# Use `xdotool` to identify and locate the position of your editor windows, then plug those numbers into this script.
set -e
set -x
GODOT_3_3_2_STABLE="/path/to/Godot_v3.3.2-stable_x11.64"
GODOT="$GODOT_3_3_2_STABLE"
PROJECT_DIR="/path/to/parent/project/directory"

High Level Flow

  1. Generate model in MakeHuman.
  2. Export.
  3. Import model into Mixamo.
  4. Export default 'Standard Idle' animation with skin.
  5. Export all other animations with skin.
  6. Import default animation into Blender.
  7. For each remaining animation
  8. Import into Blender
@peterkingsbury
peterkingsbury / gist:c299847c42b5d899d1316d368a896774
Created August 22, 2022 21:32
Get the sum of the ASCII values of a string of text, in a single line of JavaScript
'hello, world'.split('').reduce((prev, curr) => { return prev + curr.charCodeAt(0); }, 0);