just-flake
.files
just-flake | .files | |
---|---|---|
1 | 5 | |
44 | 4 | |
- | - | |
5.1 | 7.0 | |
11 months ago | 21 days ago | |
Nix | Shell | |
MIT License | GNU Affero General Public License v3.0 |
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.
just-flake
-
I stopped worrying and loved Makefiles
I've been using this on almost all of my projects, and am really pleased with it. Shell autocompletion is a nice bonus. If you also Nix, checkout `just-flake`:
https://github.com/juspay/just-flake
.files
-
I Like Makefiles
Makefiles are an eerily lisplike turing tarpit. I hand wrote the makefiles for my projects, they generate wonderfully organized build trees. Hell I use makefiles to manage my dotfiles repository, even blogged about it.
https://www.matheusmoreira.com/articles/managing-dotfiles-wi...
The sanest way I've found to write makefiles is to think of it as a tool that maps input paths to output paths. When compiling a program, I want to map source/program.c to build/$(config)/program. So I write pattern rules that do just that. Then I write make functions to convert paths in some tree to paths in another tree, which makes it easy to declare dependencies which then match the pattern rules. These functions are then helped by lots and lots of project specific variables to organize things.
Using make without phony targets is insane. Without phony targets, I'd need to type things like "make build/aarch64/executable" in order to get a build started. So I use phony targets for everything.
It got to the point I created a phony-targets shell script which parses make's database output and processes it into a sort of help text for any given makefile's phony targets interface:
https://github.com/matheusmoreira/.files/blob/master/~/.loca...
-
Dotfiles: Unofficial Guide to Dotfiles on GitHub
I think I'm the only person insane enough to use a makefile for this.
https://github.com/matheusmoreira/.files/blob/master/GNUmake...
https://www.matheusmoreira.com/articles/managing-dotfiles-wi...
It even supports the XDG stuff.
-
I stopped worrying and loved Makefiles
I (ab)use make to manage my dotfiles.
https://github.com/matheusmoreira/.files/blob/master/GNUmake...
I'm surprised at how well this thing works every time I use it. I even blogged about it.
https://www.matheusmoreira.com/articles/managing-dotfiles-wi...
Recently made a tool that processes the make database and prints the phony targets and their dependencies:
https://github.com/matheusmoreira/.files/blob/master/~/.loca...
I use it as a sort of makefile help command. Works surprisingly well too.
-
Using Make – writing less Makefile
The real makefile that I use and wrote about has some features that I didn't get around to describing in the blog post. Also has a ton of comments.
https://github.com/matheusmoreira/.files/blob/master/GNUmake...
The metaprogramming template I described is used to implement XDG Base Directories. The links take the XDG variables into account while the real files live in their default locations inside the repository.
-
DeVStudio – Runs VS Code on Android
Android allows you to swap the virtual keyboard. I use unexpected keyboard which is also free software. It's excellent for programming. Before that I used Hacker's Keyboard which has actual arrow keys.
Termux also has a configurable bar at the bottom where you can map any keys you want. I use it for function and arrow keys plus a bunch of common symbols.
Here's an example from my dotfiles:
https://github.com/matheusmoreira/.files/blob/38565320fefb92...
What are some alternatives?
flake-parts - ❄️ Simplify Nix Flakes with the module system
codeapp - Building a full-fledged code editor for iPad
discord-plays-pokemon - Twitch Plays Pokémon, but for Discord
jbak2Templates-Skins - Custom templates and skins for jbak2 android keyboard
macos-cross-compiler - Compile binaries for macOS on Linux
force-color.org - Website data for force-color.org