incbin
rose
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.
incbin
-
Self-contained Linux applications with lone Lisp
OK, yes, that does work. You can totally put application specific stuff in the elf and reflect on it at runtime. Much easier is to embed it directly and point a symbol value at the start of the data.
See https://github.com/graphitemaster/incbin for a pretty wrapper around that.
Aside from there being a drastically simpler answer to this problem available in sketchily documented fashion (the asm guys know .incbin is a thing, but higher level languages overcomplicate it), it's a good post. Idea is sound and goal was achieved.
-
The theory versus the practice of “static websites”
Thanks for the link. We also make static websites by direct inclusion their HTML code in the C++ binary of ClickHouse.
I've tried to use this library but found a bug: https://github.com/graphitemaster/incbin/issues/61
-
Olive.c: a simple graphics library that does not have any dependencies
won't work, since the preprocessor won't interpret directives inside string literals of course.
In many assemblers, there is a directive called "incbin" which pastes in unstructured binary data at the point of usage. I just found a very clever C and C++ wrapper [1] for that, which gives you an INCBIN() macro. Nice!
[1]: https://github.com/graphitemaster/incbin
-
embed workaround
There's always this: https://github.com/graphitemaster/incbin
-
Finally. Embed
Haven't the people making the standards other things to do, like, integrating useful features instead of duplicating incbin.h [0] years after that feature worked?
https://github.com/graphitemaster/incbin/blob/main/incbin.h
- How do I embed files or access them without an operating system?
-
Include files into the Sketch automatically with incbin
There is a project "https://github.com/graphitemaster/incbin" that can take a file and put that file content into the sketch ROM segment as constant / resource. It is an even nicer alternative to "xxd -i" or using string literals like: const char bla[] PROGMEM = R"CERT( ... )CERT";
rose
-
The theory versus the practice of “static websites”
Recently, while talking to a friend who hosts her website on Wix, I noticed that she was using it as a portfolio website and I asked what wix-specific features she was using and her answer was "domain management" and this got me thinking...what if the steps were pretty straight-forward, could someone who is not a web dev or technical get a website up on github? So I started putting together a template that looks very similar to her website and also includes instructions on how to host it on Github Pages for $0/year versus what she is currently paying Wix at around $100/year. The template is here: https://github.com/usmanity/rose
What are some alternatives?
aoc-2020 - Advent of Code 2020 in 25 Different Languages
ursus - Static site generator for All About Berlin
xplain - Interactive demos
isomorphic-git - A pure JavaScript implementation of git for node and browsers!
ComputerGraphics - Basic computer graphics implementation , with linux framebuffer
Publii - The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
execfs - Proof of concept userspace filesystem that executes filenames as shell commands and makes the result accessible though reading the file.
decap-cms - A Git-based CMS for Static Site Generators
pl_mpeg - Single file C library for decoding MPEG1 Video and MP2 Audio
Lektor - The lektor static file content management system
SuperSimpleGraphics - An SVG generating single header file C library appropriate for "intro to programming" classes in C/C++.
vike - 🔨 Like Next.js / Nuxt but as do-one-thing-do-it-well Vite plugin.