Skip to content

Instantly share code, notes, and snippets.

@LinusSee
LinusSee / jujutsu_vcs_cheatsheet.md
Last active October 2, 2025 11:48
Jujutsu VCS Cheatsheet
@LinusSee
LinusSee / fzf_cheatsheet.md
Last active August 1, 2024 12:45
fzf - Fuzzy Search Cheatsheet

Fuzzy Search

A simple personal cheatsheet for fzf since I just started using it.

Opening files

  • nano $(fzf) or nano $(fzf --height 40%) to search for a single file and open it in nano

Search and preview files

  • fzf --preview 'less {}' to display a preview of the currently selected file using less
  • fzf --preview 'ls -hl {}' to display information for the current file or directory (e.g. file size or edit date)
@LinusSee
LinusSee / sfml_starter_code.cpp
Created June 20, 2020 09:01
Simple starting code to draw a red rectangle in SFML
#include <iostream>
#include <SFML/Graphics.hpp>
int main()
{
constexpr float width = 500;
constexpr float height = 400;
sf::RenderWindow window(sf::VideoMode(width, height), "It works!");