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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # --- Config --- | |
| declare -A VK_BINARY_MAP=() | |
| declare -A VK_SOURCE_MAP=() | |
| find_repo_root() { | |
| git rev-parse --show-toplevel 2>/dev/null |
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
| #start_function | |
| int nested(int n): | |
| int-list: i, j, m, k | |
| float-list: | |
| loop1: | |
| breq, endloop1, i, n | |
| loop2: | |
| brgt, endloop2, j, n | |
| add m, m, 5 |
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 copy | |
| import logging | |
| import threading | |
| import traceback | |
| import zmq | |
| LISTENER_TIMEOUT = 100 # ms | |
| LOG_TOPIC = "" |
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
| local ServerStorage = game:GetService("ServerStorage") | |
| local tree = script.Parent | |
| local root = tree.Root | |
| local leafTemplate = ServerStorage.Leaf | |
| local MAX_ITERATIONS = 5 | |
| local BASE_ANGLE = 45 | |
| local function generateTree(parentBranch: BasePart, iter: number) |
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 './style.css' | |
| import * as THREE from 'three'; | |
| import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; | |
| const PLANE_SEGMENTS = 16 | |
| let container: HTMLDivElement; | |
| let camera: THREE.PerspectiveCamera, scene: THREE.Scene, renderer: THREE.WebGLRenderer; | |
| let controls: OrbitControls; | |
| let positions: THREE.BufferAttribute; |
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
| local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
| local Comm = require(ReplicatedStorage.Packages.Comm) | |
| local Client = {} | |
| function Client.Starting(component) | |
| local inboundMiddleware = component.Middleware and component.Middleware.Inbound | |
| local outboundMiddleware = component.Middleware and component.Middleware.Outbound | |
| component.Server = Comm.ClientComm.new(component.Instance, true, component.Tag):BuildObject( | |
| inboundMiddleware, |
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
| local cmd = vim.cmd | |
| local exec = vim.api.nvim_exec | |
| require('plugins') | |
| require('mappings') | |
| cmd("set termguicolors") | |
| cmd("set number") | |
| -- Colorscheme stuff |
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
| # Temporary files used when publishing & to store some preview data like persistent storage | |
| # No need to synchronize | |
| Temp/ | |
| # Local user settings used to store script breakpoints & hierarchy state (locked/hidden objects) | |
| # No need to synchronize | |
| UserSettings/ | |
| # Screenshots used when publishing & for project thumbnails in the Create tab | |
| # Comment out if you want to synchronize screenshots |
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
| --[[ | |
| VizDebug: a visual debugging module modeled after Core Game's CoreDebug: | |
| https://docs.coregames.com/api/coredebug/ | |
| API: | |
| VizDebug.DefaultColor: Color3 | |
| > Default is red | |
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
| Code for use in Roblox Studio Shotgun (https://youtu.be/sBdV4mimlYs) |
NewerOlder