los-opinionated-git-tools
AutoHotkey
los-opinionated-git-tools | AutoHotkey | |
---|---|---|
2 | 1,026 | |
5 | 8,374 | |
- | 1.5% | |
0.0 | 9.1 | |
over 1 year ago | 8 days ago | |
Shell | C++ | |
- | GNU General Public License v3.0 only |
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.
los-opinionated-git-tools
-
Ask HN: Tools you have made for yourself?
A bunch of shell scripts I've written over the years are available from https://git.marcofontani.it/mfontani/scripts
Very useful ones:
- evenodd, to colorize the background of lines of text so it's easier to see which start of text corresponds to which end of text
- time-rollup, to time the time it takes to run a given command and provide percentage-based statistics on the execution
- a wrapper around "jq" to make it DWIM w/regards to gzipped, bzipped, and zstd-compressed files
I've also put some full-fledged binaries on github:
- https://github.com/mfontani/prettycrontab which is a crontab pretty-printer which parses a possibly specially commented crontab to give you an overview of what's coming up next
- https://github.com/mfontani/tstdin to timestamp your stdin, and provide when the line was received, how long it was since the start of the command, and how long it was since the last line was received. Useful to add at the end of a pipe to both log and perform analysis on the output and time it took to do stuff
- https://github.com/mfontani/rofixec to "sorta template" a rofi (a X11 runner) runner so it picks commands from a given list (provided as yaml or json configuration) and executes the picked item in a background job
- https://github.com/mfontani/git-recent which helps you pick the most recent branches you've worked on, very useful when paired with fzf for picking
- https://github.com/mfontani/los-opinionated-git-tools instead contains a ton of useful little git-related scripts, from one which DWIMs the master/main/blead branch name to one which helps you reauthor the last commit, to one (git-rr) which helps you perform a git rebase with context info about the commits you're rebasing: which files they touched, etc - to make it easier to fixup together commits which touched the same file... which is an operation I do so often I've created a "git-fixup" script, which automates fixing up the currently committed file to the last commit which touched that file in the branch
-
GitHub, f ck your name change
I've had to deal with projects where the "main" branch was named: master, main, blead.
I almost never "name" that "main" branch, thanks to commands and aliases.
When I want to pull (and rebase) to the "main" branch, I run "git prom". When I want to check out the "main" branch, I "git com". What actually happens depends on what the project's "main" branch is. If a project later moves to a "live" branch, I'll just update the "git-main" script to detect it ahead of the rest, and off I go.
https://github.com/mfontani/los-opinionated-git-tools/blob/m... is less than ten lines of bash.
git-com is really just: git checkout "$(git main)"
git-prom is really just: git pull --rebase origin "$(git main)"
I'm not particularly sold on "main" vs "master" being an important thing, but if it's important to some I at least want to ensure I don't get frustrated when interacting with a project which uses it. With the above aliases and functions and programs, I don't care anymore.
main, master, blead... call it whatever.
AutoHotkey
-
I need help! I believe I have someone able to see my screen, record my keys, alter windows sys files, alter reg keys, phish webpages, inject custom script-code into genuine windows apps, load webpages as installers, fake uninstall, fake shutdown, tons more from one file. Please tell me anything!
DownloadAHK() { global wb wb.Stop() file := A_Temp "\ahk-install.exe" switchPage("downloading") Sleep 10 if !Download("https://autohotkey.com/download/ahk-install.exe", file, "DownloadAHK_Progress") { MsgBox 0x2010,, Download failed. switchPage("start") return } Run "%file%" /exec waitclose %A_ScriptHwnd% /exec downloaded "%file%" ExitApp } Exec_WaitClose(hwnd) { DetectHiddenWindows On WinWaitClose ahk_id %hwnd% } Exec_Downloaded(file) { ; global SilentMode := true DetermineVersion() QuickInstall()
-
I made an alternative to convar helper so you can easily activate your favorite cheats and other vconsole commands, and it's versatile enough to use for other purposes too!
All you have to do (other than have autohotkey installed) is
-
Multiple dictionaries or alternatives.
But, if you just install AutoHotKey, you can run these two scripts to select a first and a second dictionary: Select Dictionaries Zipfile
- [Autohotkey] Aide automatiquement
- RegExReplace a range of special characters with underscores
-
Add prompt to text?
You could try (and I have no affiliation with) http://autohotkey.com - then allocate the key to something like ctrl-F13 (often unused - but reachable via sending system keystroke).
-
retrieving AHK 'version.txt' screwed up by "Cloudflare's Challenge Campaign"?
Honestly, it's a bit silly of autohotkey.com to have such strict protections, especially on its downloads. You may be able to workaround by using the github releases instead which are far less restrictive.
- [Incremental_Games] À la recherche d’un bon autoclicker
-
Program that can macro clicks, as well as copy and paste in specific order.
try out autohotkey.com
-
Ctrl CapsLock Menu: The Best CapsLock Menu Script (Completely nonbiased statement)
autohotkey.com Go to the ahk website, click download, then choose 'Download v1.1 (deprecated)'
What are some alternatives?
pdftilecut - pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.
PowerToys - Windows system utilities to maximize productivity
moviematch - find movie on yts from IMDB's watchlist
espanso - Cross-platform Text Expander written in Rust
shpotify - A command-line interface to Spotify.
Hypixel-Cobblestone-Mining-Script - Undetectable, Anti-antiafk, 50-75% efficient [guesstimate] (for collection exp) depending on how long your cobblestone generator is.
kmonad - An advanced keyboard manager
habits-for-todoist - A habit app for Todoist
gfn-antiafk - A script that will stop Geforce Now from kicking you after 5-7 minutes of AFK.
wireguird - wireguard gtk gui for linux
AutoHotInterception - An AutoHotkey wrapper for the Interception driver