This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { BufferGeometryUtils } from 'three/examples/jsm/utils/BufferGeometryUtils'; | |
| import { GLTFExporter } from 'three/examples/jsm/exporters/GLTFExporter'; | |
| import { BufferGeometry, getMesh, LoadGLTF, Material, Mesh, MeshBasicMaterial } from '@milk-ecs/three'; | |
| import { Blob, FileReader } from 'vblob'; | |
| import { writeFileSync } from 'fs'; | |
| // Some hacks to get GLTFExporter working in nodejs | |
| global.window = global; | |
| global.Blob = Blob; | |
| global.FileReader = FileReader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cask_args appdir: "/Applications" | |
| tap "homebrew/cask" | |
| tap "homebrew/cask-versions" | |
| brew "asciinema" | |
| brew "chezmoi" | |
| brew "ctop" | |
| brew "dive" | |
| brew "go" | |
| brew "findutils" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export class PhysxSystem extends System { | |
| private physics: any; | |
| private scene: any; | |
| private bodies = []; | |
| constructor() { | |
| super(); | |
| const PhysX = physx({ | |
| locateFile(path) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Exists to fully update the git repo that you are sitting in... | |
| git submodule update --init --recursive | |
| docker-compose up -d | |
| if [ -z "$1" ]; then | |
| docker-compose run plugin-builder bash -c "find . -name 'pom.xml' -exec sh -c 'mvn install -f \"{}\"' \;" | |
| else | |
| docker-compose run plugin-builder bash -c "mvn install -f $1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const IOTA = require('iota.lib.js'); | |
| const curl = require('curl.lib.js'); | |
| const seed = 'SEEDHERE'; | |
| const tag = 'IOTATESTMESSAGE99999999999' | |
| let iota = new IOTA({ | |
| 'host': 'http://iota.bitfinex.com', | |
| 'port': 80 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AudioContext.prototype.decodeAudioData = (_, cb) => { if(cb) cb(new AudioContext().createBuffer(1, 19999999, 44100))}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "presets": ["es2015"], | |
| "plugins": [ | |
| "add-module-exports" | |
| ], | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import {Stage, Text, Sprite} from 'react-pixi'; | |
| import config from 'config' | |
| import GameScene from 'components/GameScene'; | |
| class AppComponent extends React.Component { | |
| get currentScene() { | |
| return GameScene; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------ | |
| --------- Defintions ------------ | |
| RafDaysAccountsLinked = 30 | |
| RecruiterAccounts = {} | |
| RecruiteeAccounts = {} --Stored twice for less cpu cycles when querying | |
| ------------------------------------ | |
| --------- Create Tables ---------- | |
| local createAccountFriendsTable = [[ |