Skip to content

Instantly share code, notes, and snippets.

@Fusion86
Fusion86 / NOTES.md
Last active October 19, 2018 13:50
Setup VSCode for Blender Plugin Development
@Fusion86
Fusion86 / canvas.md
Last active March 26, 2021 14:11
Opdrachten van HU HBO-ICT propedeuse 2018/2019

Opdrachten van canvas.hu.nl

Copy-plak op eigen risico, kunnen ook best fouten in zitten.

1. Expressions

5 % 2 = 1 - int
5 > 1 = True - bool
@Fusion86
Fusion86 / quest.md
Last active September 5, 2018 09:24
Monster Hunter World

GMD Layout

0x0     Header
0x??    Entry table
0x??    Unk1 (0x800 size)
0x??    Tags
0x??    Strings

Keybase proof

I hereby claim:

  • I am fusion86 on github.
  • I am fusion86 (https://keybase.io/fusion86) on keybase.
  • I have a public key ASD3PkcO0iA5zM4l2-CrJzBEmptTu8075KJL9NtdsuUyEgo

To claim this, I am signing this object:

@Fusion86
Fusion86 / index.js
Created April 3, 2018 17:57
LeagueClient API (WAMP?)
const WebSocket = require('ws');
let password = '';
let port = 0;
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
let ws = new WebSocket(`wss://riot:${password}@127.0.0.1:${port}/`, "wamp");
ws.on('error', (err) => {
using System.Collections.Generic;
using System.Reflection;
namespace Ayra.Core.Enums
{
// Based on https://lostechies.com/jimmybogard/2008/08/12/enumeration-classes/
public abstract class Enumeration : IComparable
{
public readonly int Id;
public readonly string Name;
import glob
f = open(".stignore", "w")
for filepath in glob.iglob("**/.stignore", recursive=True):
# Ignore top-level .stignore, because that is the one we are generating
if filepath != ".stignore":
unixpath = filepath.replace('\\', '/') # Use Unix like filepaths
f.write(f"#include {unixpath}\n")
print(f"Added '{unixpath}' to the ignore file")
UseTab: Never
IndentWidth: 4
ColumnLimit: 100
PointerAlignment: Left
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Always
AlwaysBreakTemplateDeclarations: Yes
NamespaceIndentation: All
IndentCaseLabels: true
AlignTrailingComments: false
@Fusion86
Fusion86 / generate_database.json
Last active December 13, 2017 09:15
Generate database.json containing Cydia package info for use in a javascript frontend
#!/usr/bin/env python3
"""
Generate database.json
"""
__author__ = "Fusion86"
__version__ = "0.1.1"
__license__ = "MIT"
from os import listdir