If you’re into Linux, and you ever find yourself in a place you’d like to return to with Waze (in the middle of some road, or some not-so-well-mapped village, a campus etc.), just take a photo with your cellular. Assuming that it stores the GPS info. Alternatively, the “My GPS Coordinates” Android app can be [...]
Single-source utilities This is the Makefile I use for compiling a lot of simple utility programs, one .c file per utility: CC= gcc FLAGS= -Wall -O3 -g -fno-strict-aliasing ALL= broadclient broadserver multicastclient multicastserver all: $(ALL) clean: rm -f $(ALL) rm -f `find . -name “*~”` %: %.c Makefile $(CC) $< -o $@ $(FLAGS) The ALL [...]
So the situation is like this: An email I attempted to send got rejected by the recipient’s mail server because my ISP (Netvision) has a poor spam reputation. And it so happens that I have a shell account (with root, possibly) on a server with an excellent reputation. So how do I use this advantage? [...]
The problem I needed to implement an FPGA design for an Arria 10 chip with Quartus 15 on a Linux machine. According to Altera’s requirement page, (“Memory recommendations” tab), the computer should have 28-48 GB of RAM. Or, as it says on that page, one can fake it with virtual memory. It turns out the [...]
A quick summary on how to get my old Fedora 12 to display Emojis when browsing the web (Instagram, for example). Download the EmojiOneColor font from its Github repo. Untar the bundle. Don’t run the installation script (maybe it works, but I prefer messing up things myself). Create a directory named “emoji” (or any other [...]
Short answer: ~/.recently-used.xbel (taken from here, and it actually works on my computer). It’s an XML files, organized in chronological order, last item most recently accessed. It was moved into ~/.local/ or ~/.config or some other subdirectory in later revisions of Gnome, though. For example, on Linux Mint 19 it’s ~/.local/share/recently-used.xbel. Just wanted this written [...]
This is just a messed up pile of jots as I tried to solve a specific problem. The actual problem turned out to be between chair and keyboard, but I decided to post this anyhow, just in case it will be useful in the future. The setting was like this: I had a script, which [...]
Introduction My motivation for looking inside Vivado runs was that I wanted to implement a Vivado project from within XEmacs, using the Compile button, and all that within a rather tangled Makefile-based build system. But I also wanted to leave the possibility to open the project using Vivado’s GUI, if something went wrong or needed [...]
This is documented everywhere, and still, I always find myself messing around with this. So once and for all: The files In any user’s .ssh/ directory, there should be (among others) two files: id_rsa and id_rsa.pub. Or maybe with dsa instead of rsa. Doesn’t matter too much. These are the keys that are used when [...]
Intro This is a minimal HOWTO on installing Linux Malware Detect for occasional use as a regular non-root user. Not that I’m so sure it’s worth bothering, given that contemporary exploit code seems to be able to go under its radar. Background One not-so-bright afternoon, I got a sudden mail from my web hosting provider [...]