Skip to content

Instantly share code, notes, and snippets.

View ferguscollins's full-sized avatar
💭
Designing a new turbo encabulator

Fergus Collins ferguscollins

💭
Designing a new turbo encabulator
  • Intel
  • Ireland
View GitHub Profile
@ferguscollins
ferguscollins / git-aliases.md
Created April 17, 2026 21:37 — forked from mwhite/git-aliases.md
The Ultimate Git Alias Setup

The Ultimate Git Alias Setup

If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.

Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.

The simplest way to add an alias for a specific git command is to use a standard bash alias.

# .bashrc
@ferguscollins
ferguscollins / on-add.noproject
Last active March 2, 2021 19:58
Taskwarrior hook to add projectless tasks to the project `none` upon their creation or the removal of their project. This will remove the empty space in the projects column of reports for projectless tasks.
#!/usr/bin/env python3
# adds a project called 'none' to any task that was created without a project
# source: https://www.reddit.com/r/commandline/comments/jcpd9q/taskwarrior_is_perfect/g9s7o1g/?context=3
import json
import sys
task = json.loads(sys.stdin.readline())
@ferguscollins
ferguscollins / GlobalSpotifyHotkeys.ahk
Created June 9, 2020 11:55
AutoHotKey script for controlling Spotify or any other media from anywhere on the computer.
; Media control (Global Spotify hotkeys)
<^<!<#Space:: ; LCtrl+LAlt+LWin+Space :: Play/pause
Send, {Media_Play_Pause}
return
<^<!<#C:: ; LCtrl+LAlt+LWin+C :: Previous track
Send, {Media_Prev}
return
<^<!<#V:: ; LCtrl+LAlt+LWin+V :: Next track
@ferguscollins
ferguscollins / ISOList.txt
Last active March 2, 2022 12:28
List of bootable USB isos
This is a list of ISOs which can be installed simply using tools like:
- MultiBootISOs
- MultiBootUSB
- SARDU
- Ventoy
- WinSetupFromUSB
- Yumi
Or installed with slightly more effort using Easy2Boot.
Live/Persistant Installations: