computer
homeshick
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
computer
-
Ask HN: What rabbit hole(s) did you dive into recently?
gs (ghostscript), mutool, ocrmypdf...
To add/remove: mutool merge -h
To split PDF pages: mutool poster -h
I made a script here that I use frequently for scanned documents: https://github.com/chapmanjacobd/computer/blob/main/bin/pdf_...
Shrink PDFs: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdf
(or switch prepress to ebook to shrink more)
or to really shrink, b&w only:
gs -q -dNOPAUSE -dBATCH -dSAFER -sProcessColorModel=DeviceGray -sColorConversionStrategy=Gray -dDownsampleColorImages=true -dOverrideICC -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dColorImageDownsampleType=/Bicubic -dColorImageResolution=120 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=120 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=120 -sOutputFile=out.pdf in.pdf
-
Ask HN: Why does GNU Stow (et al.) exist?
I've been putting my whole home folder under git for almost a year [1].
I haven't seen any other repos on GitHub with a similar layout. Why do people rely on GNU Stow and other complicated tools to essentially do what git does? I haven't noticed any performance problems with just using git.
[1]. https://github.com/chapmanjacobd/computer/
-
A browser plugin that shows you which search results require a login to use their services before you even click on them
with these settings: https://github.com/chapmanjacobd/computer/blob/main/.github/firefox/ublacklist-settings.json
- I'm new to termux, so suggest me what cool stuff to use termux for.
-
My Bad Habit of Hoarding Information
The problem with a lot of these tools is there is no incremental escape hatch. I had 25,000 tabs last year which I saved as a line delimited text file.
Then every day I automate opening 7 tabs and I force myself to get through them. Sometimes it takes 2 minutes, sometimes it takes an hour. Sometimes it ends with me adding 50 more links to the text file. Sometimes the tabs are garbage but often they are worthwhile.
https://github.com/chapmanjacobd/computer/blob/main/.config/...
https://github.com/chapmanjacobd/computer/blob/main/.config/...
But over the past year I've gone through 2,555 tabs! So it seems like it is working. Maybe in 10 years I'll reach tab zero
-
Script suggestion post!
autocrop.lua
-
Yet another yt-dlp linux script
I started doing this with my phone and it made formatting my phone painless. The hardest part is getting started. I still haven't added all my config files to git; I have a daily script that will remove one line from my home directory gitignore so I can incrementally add config files. And it has already brought me a lot of peace of mind even if I'm only like 30% of the way done on the desktop.
homeshick
-
Dotfiles: Unofficial Guide to Dotfiles on GitHub
This one's my favorite - has been working reliably and with barely any intervention for years now: https://github.com/andsens/homeshick
My own dotfiles: https://github.com/epiccoleman/dotfiles
-
Ask HN: What Underrated Open Source Project Deserves More Recognition?
I have a work mac, work linux, and home mac. I want the same terminal-based development environment on all of them, but each requires just a little bit of customization.
For example, the .gitconfig for work is different from home (e.g. my username/email). Ditto for my .ssh/config and my shell aliases.
I also use Nix to manage all my tools, and the home-manager configuration is slightly different between mac & linux due to platform support.
I've gone through a few iterations of home-built solutions, including extending homeshick[1], before discovering YADM which implemented everything I had done but better.
[1] https://github.com/andsens/homeshick
-
How do you manage your shell scripts?
I do roughly the same and then manage them with 'homeshick' ( https://github.com/andsens/homeshick )
-
VIM for remote server file editing
Have a look at https://github.com/andsens/homeshick project, it makes this workflow much easier.
- Using GNU Stow to manage your dotfiles (2012)
-
Ask HN: How do you sync your computers development configurations/environment?
Homeshick for dotfiles: https://github.com/andsens/homeshick
Docker for Obsidian and Alfred syncing - the three target limit on the free tier is just barely enough for 2 of my own computers and my work laptop.
I've also got a Brewfile for installing the basic tooling on macOS
I also have a "how to set up a new computer/server" document on Notion that I use so I don't forget any steps.
- Fish 3.4.0
- Homeshick – Git dotfiles synchronizer written in bash
-
Fish Shell 3.2.0 Released
This is the exact reason I use Fish. The only thing I _need_ to get installed on random servers is Fish itself.
No need to install and configure oh-my-$shell or other huge monstrosities. Most of my stuff comes from a simple homeshick[1] sync with a few files in it.
[1] https://github.com/andsens/homeshick
What are some alternatives?
hamster-system - Ultra-simple framework to organize your life.
GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
tabist - Simple Tab Manager Extension for Chrome and Firefox.
homesick - Your home directory is your castle. Don't leave your dotfiles behind.
evafast - mpv script for hybrid fastforward and seeking
yadm - Yet Another Dotfiles Manager
lkmpg - The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
mpv-scripts - Various scripts for mpv
Chef - Chef Infra, a powerful automation platform that transforms infrastructure into code automating how infrastructure is configured, deployed and managed across any environment, at any scale
yt-dlp - A feature-rich command-line audio/video downloader
rcm - rc file (dotfile) management