Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Parses last reboot output to show how long each boot session lasted, sorted longest-first.
-
Void Linux upgrade caused monitor to show "No Signal".
-
What -fsanitize=address does Enables AddressSanitizer (ASan): a compile and link time instrumentation plus runtime library that detects memory errors.
-
Changing default applications is done with command xdg-mime.
-
Motivation Over time I have tried making my ~/.vimrc more universal and capable of serving all the different projects, and I always fail.
-
Configuration for the setup in the picture is located within commit d29a085.
-
To change the modifier key from Alt to the Win (Super/Meta) key for moving and resizing windows in Xfce: Open Window Manager Tweaks: Go to Settings → Window Manager Tweaks (or run xfwm4-tweaks-settings from a terminal).
-
A quick look into difference in performance when running Lua normally vs Luajit vs Lua embedded in C program.
-
Why?
-
Reading material Asynchronous Lint Engine Let's have a pint of (vim) ale!
-
To use option key under macOS as Meta key use the option option_as_alt and set it to "Both".
-
First let's define a shared header file for the struct definition. // struct.h typedef struct { char name[50]; int health; float damage; } Character; Now lets write it to a character.dat file. // write.c #include <stdio.h> #include <string.h>
-
Binary resource inclusion preprocessor has been put into the C23 standard but has not yet been implemented by the compilers.
-
For simple and easy IPC to the C program we can use signals. https://www.man7.org/linux/man-pages/man7/signal.7.html Only two user defined signals are available (SIGUSR1 and SIGUSR2) but you can hijack other ones even though this is really not advisable
-
This is using the portable GNU assembler and TinyCC compiler but GCC or Clang can be used as well.
-
Personal critique This is in part difficult to write since I have been daily driving GNU/Linux for 20 years now, but I think it is necessary to be honest about this.
-
By default, GitHub uses Jekyll for their site generator which is fine, but it has some issues and the complexity is not really worth it for me.
-
Lately I have been doing a lot of systems programming and profiling is the name of the game when it comes to developing good software.
-
I have had some issues with Ollama not being up-to-date.
-
I mostly play Dungeon Crawl Stone Soup online on Ohio, USA: cbro.berotato.org server and when you start playing you can select the version you want to play.
-
Easy way to extract line ranges (from line 200 to line 210) with sed. sed -n '200,210p' data/Homo_sapiens.GRCh38.dna.chromosome.18.fa # then pipe it to a new file with sed -n '200,210p' data/Homo_sapiens.GRCh38.dna.chromosome.18.fa > new.fa head or tail
-
I have found many "sane" default configs on the net and this is my favorite personal list.
-
Normally you define images with !
-
I had a 4 webm videos (each 492x451) that I wanted to combine to be played side by side and I tried iMovie and Kdenlive and failed to do it in an easy way.
-
First install two dependencies: sudo dnf install libX11-devel libXt-devel Clone the repo and compile it: git clone git://git.9front.org/plan9front/drawterm cd drawterm CONF=unix make That should produce drawterm binary.
-
Recent update of my system completely borked EB CLI on my machine.
-
Install pip requirements. pip install matplotlib pip install pandas Example of data being used.
-
I have been using Gnome's night shift for a while now and I have been missing this feature under i3wm.
-
I have been experiencing some issues with Intel® Integrated HD Graphics 3000 under Debian 12 with Xorg and i3.
-
Recently I have been using my Thinkpad x220 more and there are some constraints I have faced with it.
-
Likely aired during an hour-long program during the 1960s, long commercials such as this typically aired during hour-long programs.
-
Message from 10/GUI team (page 10gui.com does not exist anymore): Over a quarter-century ago, Xerox introduced the modern graphical user interface paradigm we today take for granted.
-
Alacritty by default makes all links in the terminal output clickable and this gets annoying rather quickly.
-
Nix is amazing for making reproducible cross OS development environment.
-
For personal use I have a private Git server set up and I use GitHub just as a mirror.
-
A simple way to make presentations without using desktop apps or using online services is https://github.com/remarkjs/remark.
-
Make bulk thumbnails of JPGs with ImageMagick. #!
-
I love reading the original manuscripts of Edsger W.
-
dte is an interesting editor I started using lately more and more.
-
I often use grep to search for todo's in my code and other people's code and then pipe them in less and I missed having colors that grep outputs in less.
-
In Bash, the $SECONDS variable is a special variable that automatically keeps track of the number of seconds since the current shell or script started executing.
-
Dungeon Crawl Stone Soup has a a very small font by default.
-
I have started exploring Plan9's graphics capabilities.
-
In the root of your repository create a folder .github/workflows and in that folder create a file a file cron.yaml.
-
An amazing game deserves an amazing guide.
-
bash xterm-palette.sh - will show you number of max colors available bash xterm-palette.sh -v - will create a list of all colors with codes #!
-
# Remap prefix from 'C-b' to 'M-a'. unbind C-b set-option -g prefix M-a bind-key M-a send-prefix # Split panes using | and -. bind | split-window -h bind - split-window -v unbind '"' unbind % # Start counting windows with 1. set-option -g allow-rename on
-
I have been experimenting with Plan9/9front for a week now.
-
Here is a boilerplate for extending Lua with custom C functions.