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
| it("should clean up signals after unmount with multiple suspense boundaries", async () => { | |
| let watchedCallCount = 0; | |
| let unwatchedCallCount = 0; | |
| // Create a signal with watched/unwatched callbacks to track cleanup | |
| const trackedSignal = signal(0, { | |
| name: "trackedSignal", | |
| watched: function () { | |
| watchedCallCount++; | |
| }, |
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
| glfwSetWindowSize( | |
| mWindow, | |
| width * device_pixel_ratio, | |
| height * device_pixel_ratio | |
| ); | |
| glViewport( | |
| 0, | |
| 0, | |
| width * device_pixel_ratio, | |
| height * device_pixel_ratio |
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
| glfwSetWindowSize(mWindow, width, height); | |
| glViewport(0, 0, width, height); |
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
| alias gg='git log --oneline --graph' | |
| alias gco='git checkout' | |
| alias gs='git status' | |
| # OPAM configuration | |
| . /Users/charlie/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\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
| unbind C-b | |
| set -g prefix 'C-o' | |
| bind-key 'C-o' send-prefix | |
| # split panes using | and - | |
| bind | split-window -h | |
| bind - split-window -v | |
| unbind '"' | |
| unbind % | |
| # reload config file (change file location to your the tmux.conf you want to use) | |
| bind r source-file ~/.tmux.conf |