Category Archives: Coding

Synology DSM e-mail notifications

For many years I’ve been enjoying very performant and stable e-mail service provided by Google’s “G-Suite” while Google’s been enjoying sniffing through all my organisation’s users e-mail communication in return. Obviously for sensitive info an extra encryption layer is employed … Continue reading

Posted in DevOps, Rants | Tagged , , | Leave a comment

Where are the FSCKin’ reCAPTCHA settings?!

They are at: https://www.google.com/recaptcha/admin/ In case you lose tons of time every time you try to find them _again_ P. S. This works for me but I heard rumours that this may depend on the type of account, your status … Continue reading

Posted in Coding, Rants | Tagged , , | Leave a comment

Rendering Svelte components in Phoenix templates

In case you don’t know what Svelte is, it’s probably the first thing ever in the node-js-is-a-cancer world that actually makes some sense, rather than just being the future, man! Right, there was jQuery, which not only made sense but … Continue reading

Posted in Coding, Elixir | Tagged , , | Leave a comment

Couldn’t start client ElixirLS

If after installing the ElixirLS extension for VSCodium you keep getting the dreaded “Couldn’t start client ElixirLS” error message then this post https://github.com/JakeBecker/elixir-ls/issues/80#issuecomment-393634366 might help you to defeat the beast. It helped me at least. Apparent issue is that shell … Continue reading

Posted in Coding, Elixir | Tagged , , | Leave a comment

Rotating a View Is Simple Not Easy

Thanks to ix4n33 for the title… as I simply reduced, reused and recycled his one. So… if you didn’t notice, I got to the NSView, specifically NSImageView rotation business recently. It happened while adding a requested feature to my out-of-frustration … Continue reading

Posted in Cocoa, Coding, Objective-C, OSX | Tagged , , , , | Leave a comment

Extract sequential ZIP archives with overlapping directory structure on a Mac

The requirement is as usual simple: extract a set of “split” ZIP archives, properly reconstructing the original directory structure with all files in their respective places. The system provided “Archive Utility.app” usually does a good job extracting stuff from archives. … Continue reading

Posted in bash, OSX | Tagged , , | Leave a comment

Running older Altera Quartus on modern 64bit GNU/Linux

While recent (as of the time of writing – 20.x) versions of Quartus install and run on current GNU/Linux distributions (DISCLAIMER: Ubuntu/Xubuntu tested – don’t hold me accountable for what your distribution of choice does), there are still valid use … Continue reading

Posted in GNU/Linux, VHDL | Tagged , , , , , , | Leave a comment

Better description of Rails rake “db” tasks

Reposted after https://jacopretorius.net/ (good job!) db:create Creates the database for the current RAILS_ENV environment. If RAILS_ENV is not specified it defaults to the development and test databases. db:create:all Creates the database for all environments. db:drop Drops the database for the current RAILS_ENV … Continue reading

Posted in Coding, Rails | Tagged , | Leave a comment

Rubygems: Rebuild native extensions

Reposted after “makandropedia”: Rarely, you might want to rebuild all gems with native extensions, because they might be compiled against outdated system libraries, resulting in some warnings or even segfaults or other ruby errors. You can do that using gem … Continue reading

Posted in Coding, Rails | Tagged , | Leave a comment

One – liner to batch rename files with regex-remove part of the filename

Don’t read this post. It’s only for me so that I don’t forget it 😉 After a long fight with bash, find, sed, … Here is the one – liner: for i in $(find -E . -regex ‘(.*[a-zA-Z]{3}[0-9]{3}[a-zA-Z]{3}_[0-9]{9})(\.[0-9])(\.[jJ][pP]([eE])*[gG])’) ; do … Continue reading

Posted in bash, Coding | Tagged , , , , | Leave a comment