Skip to content

Instantly share code, notes, and snippets.

@julesdeckers
julesdeckers / README.MD
Last active October 15, 2024 22:13
Powershell arrow history search setup
  1. Ensure PSReadLine is Installed: PSReadLine comes pre-installed with recent versions of PowerShell, but if you are using an older version, you might need to install it using the PowerShell Gallery:
Install-Module -Name PSReadLine -Force -SkipPublisherCheck
  1. Configure PSReadLine for Prefix-Based History Search: You can modify the key bindings to set up the prefix-based history search, which allows you to cycle through previous commands that start with the text you’ve typed so far. Here’s how:
notepad $PROFILE
@julesdeckers
julesdeckers / README.md
Created January 17, 2023 08:26 — forked from pdanford/README.md
Launching iTerm2 from macOS Finder

Launching iTerm2 from macOS Finder

(Based on info from Peter Downs' gitub but with modified behavior to open a new terminal window for each invocation instead of reusing an already open window.)

The following three ways to launch an iTerm2 window from Finder have been tested on iTerm2 version 3+ running on macOS Mojave+.

pdanford - April 2020


@julesdeckers
julesdeckers / 55-bytes-of-css.md
Created September 30, 2022 13:23 — forked from JoeyBurzynski/55-bytes-of-css.md
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}