Skip to content

Instantly share code, notes, and snippets.

View pestefo's full-sized avatar
🏠
Working from home

Pablo Estefó pestefo

🏠
Working from home
View GitHub Profile
@BretFisher
BretFisher / pcat-install.sh
Last active February 6, 2024 14:41
On macOS: Install pygmentize and alias pcat for shell code syntax highlighting
# first install pygmentize to the mac OS X or macOS system with the built-in python
sudo easy_install Pygments
# then add alias to your ~/.bash_profile or ~/.bashrc or ~/.zshrc etc.
alias pcat='pygmentize -f terminal256 -O style=native -g'
@namuol
namuol / INSTALL.md
Last active July 24, 2023 11:53
rage-quit support for bash

rage-quit support for bash

HOW TO INSTALL

Put flip somewhere in your $PATH and chmod a+x it.

Copy fuck into ~/.bashrc.

@BobNisco
BobNisco / osx_sleeptimer.py
Last active January 16, 2020 02:40 — forked from samliu/osx_sleeptimer.py
A Python script to turn off your music and optionally put your computer to sleep after a period of time!
#!/usr/bin/env python
import os
import sys
import time
from datetime import datetime, timedelta
def main():
if len(sys.argv) >= 3:
music_service = str(sys.argv[1])
minutes_to_wait = float(sys.argv[2])
@kogakure
kogakure / .gitignore
Last active December 17, 2023 08:21
Git: .gitignore file for LaTeX projects
*.acn
*.acr
*.alg
*.aux
*.bak
*.bbl
*.bcf
*.blg
*.brf
*.bst