Skip to content

Instantly share code, notes, and snippets.

View Caraffa-git's full-sized avatar

Caraffa-git

View GitHub Profile
@gigaherz
gigaherz / toolsystem.md
Last active September 1, 2023 19:05
Explanation of the new tool system

So... You have updated to latest forge and harvestTool, harvestLevel, ToolType, ... are all gone. AAA PANIC!

Here's how to fix it:

Blocks

First, Remove the harvestTool and harvestLevel calls from the block properties.

Then, add the blocks to the relevant tags. You can use datagen, or make the jsons yourself. Datagen is more future-proof.

@probonopd
probonopd / linux_fusion360.md
Last active November 9, 2023 15:22
Autodesk Fusion 360 on Linux

Autodesk Fusion 360 on Linux

In the Web Browser

Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.

https://myhub.autodesk360.com

On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.

@NoahRoseLedesma
NoahRoseLedesma / midiConvert.js
Created March 3, 2016 19:57
Program to convert Midi files into an array of frequencies.
var midiFileParser = require('midi-file-parser');
var MIDIUtils = require('midiutils');
var song = "hotline_bling"
var file = require('fs').readFileSync(song + '.mid', 'binary')
var midi = midiFileParser(file);
notes = [];
noteStatus = false;