Skip to content

Instantly share code, notes, and snippets.

View rbento's full-sized avatar

Rodrigo Bento rbento

  • Toronto
View GitHub Profile
@rbento
rbento / notes-on-directx-12.md
Last active May 17, 2024 04:07
My notes on DirectX 12
@rbento
rbento / notes-on-renderdoc.md
Last active May 17, 2024 04:07
My personal notes on RenderDoc

RenderDoc

  1. Launch an application through RenderDoc
  2. It inserts its hooks.
  3. Then allows for capturing and replaying frames for analisys.

Reference

Microsoft PIX

PIX is a performance tuning and debugging tool for Windows and Xbox game developers using DirectX 12.

It allows capturing and analyzing the Direct3D calls that an application or game makes during a given frame.

References

Visual Studio Code

Enable press and hold key repeat for vscodevim extension on macOS

defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false  

.emacs

; Configure MELPA package repository
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) 
(package-initialize)

; Add the bin folder to emacs path
(add-to-list 'exec-path "/usr/local/bin")

Notes on tmux

tmux is a terminal multiplexer which enables easy switching between multiple programs running in one terminal, detach them (keep running in the background) and reattach them to a different terminal.

Screenshot 2023-08-05 at 3 05 41 PM

Create a session


Unnamed

Notes on GitHub

Actions with Gradle

Make gradlew executable

git update-index --add --chmod=+x ./gradlew
# Brew
export BREW_HOME="/opt/homebrew"
export PATH="$BREW_HOME/bin:$PATH"
export HOMEBREW_EDITOR="vim"
export PATH="$HOMEBREW_EDITOR/bin:$PATH"
export HOMEBREW_NO_ENV_HINTS=1