- https://fishshell.com/ - my default shell, i use theme bobthefish
- https://www.sublimetext.com/ - my default editor
- Material Theme
- Operator font
- Packages: Emmet, Hayaku, SidebarEnhancements, JS Snippets, GSAP Snippets
- Sublime snippet for comments
- Sublime icon
- https://code.visualstudio.com/ - trying to switch, but not yet
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
| // the tl;dr -> https://storage.randy.gg/entity%20midwit.png | |
| /* | |
| ENTITY MEGASTRUCT | |
| by randy.gg | |
| This is an extremely simple and flexible entity structure for video games that doesn't make you want to | |
| die when you're 20k lines deep in a project. |
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
| package imgui_impl_raylib | |
| // Based on the raylib extras rlImGui: https://github.com/raylib-extras/rlImGui/blob/main/rlImGui.cpp | |
| /* Usage: | |
| import imgui_rl "imgui_impl_raylib" | |
| import imgui "../../odin-imgui" | |
| main :: proc() { | |
| rl.SetConfigFlags({ rl.ConfigFlag.WINDOW_RESIZABLE }) |
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
| <style> | |
| * { | |
| user-select: none; | |
| } | |
| body { | |
| margin: 0; | |
| font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
| } | |
| #app { | |
| height: 100vh; |
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
| <script> | |
| let activeEffect | |
| class Dep { | |
| subscribers = new Set() | |
| depend() { | |
| if (activeEffect) this.subscribers.add(activeEffect) | |
| } | |
| notify() { | |
| this.subscribers.forEach((sub) => sub()) |
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
| <script> | |
| let activeEffect | |
| class Dep { | |
| // Initialize the value of the reactive dependency | |
| constructor(value) { | |
| this._value = value | |
| this.subscribers = new Set() | |
| } |
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
| <div id="app"></div> | |
| <script> | |
| // Create virtual node | |
| function h(tag, props, children) { | |
| // Return the virtual node | |
| return { | |
| tag, | |
| props, | |
| children, | |
| } |