22 December 2018

Alternatives to Bloatware

The list is built pointing to software that has alternatives with less dependencies, and addressing dependencies was the easy thing. Some tools in particular were included because they add less dependencies overall while keeping a system functional. One such example is imagemagick and ffmpeg, by which you can do a lot of work and replace many tools by just using those with scripts and replace something like a screenshot utility. Certainly it would be great to have a comparative on resource usage. However, a new revision now includes software that was previously discarded for better comparison and featured recommendations will not be highlight for the moment.
TL;DR: is about the unix principle, having a fully functional system pretty damn minimal with that.

Source of this list: https://github.com/mayfrost/guides/blob/master/ALTERNATIVES.md


rEFInd: EFI Boot Manager

What is rEFInd?
Refind is an EFI boot manager (based on the old unmaintained rEFIt). With simple configuration, better functionality and theme supported.


Why rEFInd?
Because most bootloaders are crap. Bootloader should be simple to install, configure and manage. And with themes (because, why not?).


Where I can find more info about it?
http://www.rodsbooks.com/refind/


27 November 2018

Midnight Commander function keys not working in some terminal emulators

Some terminal emulators have issues to properly work with some applications like midnight commander even if TERM settings are configured properly (I'm not sure why).
I'll use konsole as an example so you'll understand what to do:

In konsole go Settings -> Edit Current Profile -> Keyboard and create a new set of keybindings and change to the defaults of rxvt like above:

kf1=\E[11~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
kf9=\E[20~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,

Source: I've used the ncurses faq for the keybindings

23 October 2018

The non-elegant tray icons

    For whatever development reasons, some applications refuse to change the tray icons to reflect the theme you're using. For example, you want a nice dark/bright/whatever theme, and the icon in tray sit there, as the default one, breaking everything you want in your desktop. Yeah I know this feel.
    After some researching, I've made this guide and I'll improve over the time with more tips about this.

Obs.: You can also use this.

14 September 2018

Password feedback for sudo

To make sudo show asterisks when you type a password, add this to your Defaults specification:

Defaults pwfeedback

11 September 2018

Make syslog-ng at /dev/tty12 colorful

To make syslog-ng at your /dev/tty12 (or whatever tty you use for your logs, and it works to whatever kind of log from syslog-ng afaik), install ccze and use this line in your /etc/syslog-ng/syslog-ng.conf:

destination console_all { program("ccze -r >> /dev/tty12"); };

03 July 2018

Weather via command line

I don't remember where I got this info, but visit the site for more info.

As the title say, you can view a weather forecast via command-line interface with this (white spaces should be changed to _ as usual):

curl wttr.in/<your city>

I've created an stupid script to make things more.. uh.. fancy.
It's available here


04 June 2018

About Microsoft acquiring github

That's right, you can read about here.


I was on the verge to migrate my repos to gitlab, now I have another good reason to do it. My new git repo is available here.

25 January 2018

Using Logical Volumes as disk images for virtualization

      In most scenarios, using raw devices can increase the performance. Of course, the application should know how to deal with that. Why? Because you take away the overhead that the file system can cause (again, if the application know how to deal with that).
     I see in my entire life databases having more performance because are using raw devices (disregard what the dumb people says in tongues without any proof).

What I've tested

Linux and FreeBSD Virtual machines have a significant increase of I/O performance.

What I didn't tested

Windows VMs (well windows do a shitload of I/O, probably it's a good idea if you're into this crap)
BSD VMs (not yet)
Resizing (I don't know if it's possible, I'll test later and update this post)

05 January 2018

Privacy repository

I've created a repo on github to pull together all the privacy stuff and how to fix it (disregard the operating system). 
So don't do anything stupid, read the scripts before executing, specially because we're talking about windows and one of them are about flashing your bios (IntelME). I'm not responsible if your house goes in orbit because you did something wrong without read first.

https://github.com/menelkir/privacy

https://gitlab.com/menelkir/privacy