Skip to content

Instantly share code, notes, and snippets.

@bradtraversy
bradtraversy / terminal-commands.md
Last active December 21, 2025 09:23
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@tejainece
tejainece / vscode_marketplace
Last active December 21, 2025 09:12
Marketplace for VS code to be used in Antigravity
https://marketplace.visualstudio.com/items
https://marketplace.visualstudio.com/_apis/public/gallery

Guide to attaching to Chrome with RenderDoc (for WebGL 2 and WebGPU)

  1. Set the environment variable RENDERDOC_HOOK_EGL to 0. I use the Windows Settings to set this in my User Environment Variables.
  2. Launch RenderDoc
  3. In RenderDoc, navigate to Tools -> Settings, then on the General page, check "Enable process injection (restart required)". Restart RenderDoc.
  4. Grab a copy of WinPixEventRuntime.dll from https://devblogs.microsoft.com/pix/winpixeventruntime/ (rename the .nupkg to a zip, it's in bin/x64), and copy it over to %LocalAppData%\Local\Google\Chrome SxS\Application\$CurrentVersion. Unfortunately this step needs to be repeated every time Chrome updates, since it wipes the current directory. Would be nice if it shipped with Chrome Canary / Chrome Dev (or was statically linked into Chrome)
  5. Launch Chrome with the arguments `--disable-gpu-sandbox --gpu-startup-dialog --disable-direct-composition=1 --enable-dawn-features=use_user_defined_labels_in_backend,emit_hlsl_debug_symbols,disable_symbo
@atusy
atusy / foldableCodeBlcok.Rmd
Last active December 21, 2025 09:00
Fold code blocks with Pandc Lua Filter originally posted to https://blog.atusy.net/2020/03/07/pandoc-lua-detailed-codeblock/ in Japanese
---
output:
html_document:
pandoc_args: [
"--lua-filter", "foldableCodeBlock.lua"
]
---
```{r, attr.output='.details summary="Output"'}
set.seed(1)

DW3000 "missing manual" notes

Overall

The DW3000 is an exciting part, available as a convenient Arduino-shield eval board with good distribution. HOWEVER, this is NOT a "maker friendly" part with SparkFun or Adafruit type tutorials and examples! It is a sophisticated radio that can be the heart of a positioning system, but you have to do quite a lot of heavy lifting to get there.

For basic use, the older-but-still-good DW1000 may be a better choice; interface libraries are available for Arduino and Raspberry Pi. Or look into packaged location-system vendors, like Estimote, Pozyx, Ubitrack and many others

@JohannesMP
JohannesMP / UIBlur.shader
Last active December 21, 2025 08:46
UI.Image Blur Shader with layering and masking support
Shader "Custom/UIBlur"
{
Properties
{
[Toggle(IS_BLUR_ALPHA_MASKED)] _IsAlphaMasked("Image Alpha Masks Blur", Float) = 1
[Toggle(IS_SPRITE_VISIBLE)] _IsSpriteVisible("Show Image", Float) = 1
// Internally enforced by MAX_RADIUS
_Radius("Blur Radius", Range(0, 64)) = 1
@rxaviers
rxaviers / gist:7360908
Last active December 21, 2025 08:37
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@sutnistj
sutnistj / main.md
Last active December 21, 2025 08:32
Latinka

Зроблено за проханнями.

Абетка

Кирилиця Латиниця Кирилиця Латиниця Кирилиця Латиниця
А а A a Я я Ja ja
Б б B b
В в V v
Г г H h

Games to learn BASH

  1. Command Line Murder Mystery: A fun problem-solving game set in your terminal.

  2. Terminus: This online game teaches important shell commands in a fun and interactive way.

  3. Bashcrawl: A text-based dungeon crawl game played entirely in the Bash shell.

  4. Vim Adventures: A game to learn Vim, a text editor found on Unix-like systems.

  5. OverTheWire Bandit: A Capture The Flag type game designed for beginners to learn Bash commands.