This is a rudimentary attempt (that surprisingly works) to export passwords from pass to Bitwarden csv format As a requisite you need to have the private key that protects the passwords, exported as an ASCII armored key (Or whatever the nomenclature is), the important bit is that you export it: gpg --export-secret-keys --armor $YOURFINGERPRINT > private-key.asc To run simply run, you need to clone…
Bit of the why So often I come across the need to avoid my system to block forever, or until a process finishes, I can’t recall how did I came across systemd inhibit, but here’s my approach and a bit of motivation Motivation I noticed that the Gnome Settings , come with Rygel After some fiddling (not much really), it starts directly once I login and I will be using it instead of a fully fledged…
How to save your very old openSUSE Tumbleweed installation? Say you’re in need of recovering a very old system?, I got you: Make sure you have a container engine, if you like to live your life dangerously: nerdctl run -it -v /:/mnt -v /dev:/dev -v /sys:/sys -v /boot:/boot \ --name hacky_tw --rm registry.opensuse.org/opensuse/tumbleweed:latest bash zypper --root /mnt dup -D --allow-vendor-change…
Thanks to a colleague who introduced me to Nim during last week’s SUSE Labs conference , I became a man with a dream, and after fiddling with compiler flags and obviously not reading documentation, I finally made it. This is something that shouldn’t exist; from the list of ideas that should never have happened. But it does. It’s a Perl interpreter embedded in Rust. Get over it. Once cloned, you…
This is a follow up to my previous post about How to test things with openQA without running your own instance , so you might want to read that first. Now, while hunting for bsc#1219073 which is quite sporadic, and took quite some time to show up often enough so that became noticeable and traceable, once stars aligned and managed to find a way to get a higher failure rate, I wanted to have a way…
If you’re using copilot and by luck also use pass to manage your passwords, you will find that the default configuration, or rather the configuration where you want copilot enabled everywhere, basically creates a risk for your precious passwords… As Copilot will be enabled by default, on text files. So here’s the snippet I use: -- initialize copilot local copilot = { "zbirenbaum/copilot.lua" ,…
From journal to .json In order to convert from your journal log to json, so it is easily parseable, jq offers an option that allows you to run a filter, only until the end of the file: Instead of running the filter for each JSON object in the input, read the entire input stream into a large array and run the filter just once. This allows you to save the file directly, ready to be processed by your…
Happens that I spent today (Finally) a good few hours trying to figure out why my autocompletion was broken on my new shiny MacBook Pro M1 Pro… despite Homebrew’s brew doctor giving me the All OK. foursixnine@pakhet ~ % brew doctor Your system is ready to brew. turns out that it was just the shell: foursixnine@pakhet ~ % echo $FPATH…
Hace tiempo en el grupo de Developers Ve en el mundo, preguntaba si alguien había utilizado Obsidian. Considerándome un power user de Evernote, sé lo que necesito, y en los años que llevo buscando una alternativa que funcione en linux, tenia el problema de que muy pocas realmente funcionan bien o siquiera tienen soporte para linux. Decidí irme por Obsidian , luego de considerar Notion y otras…
So, you want to remove that pesky file from your last commit? By accident (naturally, as you and me are perfect beings) a file was commited and it should have not? The cat went over the keyboard and now there’s an extra file in your commit? If the answer to any of the above is yes, here’s how to do it without pain (Tanking into account, that you want to do that on the last commit; If you need to…
So you just broke that PR you’ve been working on for months? One day, you find yourself force pushing over your already existing Pull request/branch, because like me, you like to reuse funny names: git fetch origin git checkout tellmewhy #already exists and has a pull request still open, but you didn't know git reset --hard origin/master # hack hack hack git commit $files git push -f…
Wait what? Yes, there are couple of ways for you, the user, the contributor, the amazing human being who wants to improve the software that is used by millions, to write automated tests and have bots doing all the work for you, once you’ve signed a binding contract with the blood of an unicorn, and have obtained api keys for our public https://openqa.opensuse.org instance. For now I will leave out…
So, you’re in the middle of a review, and have couple of commits but one of the comments is asking you to modify a line that belongs to second to last, or even the first commit in your list, and you’re not willing to do: git commit -m "Add fixes from the review" $file Or you simply don’t know, and have no idea what squash or rebase means?, well I won’t explain squash today, but I will explain…
The uninvited eldrich terror You use local::lib , and the pain unfolds: A shell is started, and you find a dreaded: Cwd . c: loadable library and perl binaries are mismatched ( got handshake key 0xdb00080 , needed 0xdb80080 ) Which means: that the module (Cwd in this case) is not compatible (Because it’s an XS module ) with your current version of perl, installed on your system: Likely it was…
Just in case, if you’ve ever wondered how to stop cron from sending empty emails, a quick look at man mail will give you the answer you’re looking for (if you know what you’re searching for): -E If an outgoing message does not contain any text in its first or only message part, do not send it but discard it silently, effectively setting the skipemptybody variable at program startup. This is useful…
Because I always forget To reboot a SUPERMICRO server: Just remember that the default user/password might still be ADMIN/ADMIN :) ipmitool -I lanplus -H $HOST -U USER -P PASSWORD power cycle To connect to the serial console ipmitool -I lanplus -H $HOST -U USER -P PASSWORD sol activate
So, you wake up one day, and find that one of your programs, starts to complainig about “No space left on device”: Next thing (Obviously, duh?) is to see what happened, so you fire up du -h /tmp right?: $ du -h /tmp Filesystem Size Used Avail Use% Mounted on /dev/mapper/zkvm1-root 6.2G 4.6G 1.3G 79% / Wait, what? there’s space there! How can it be? In all my years of experience (+15!), I’ve never…
Sometimes you just need to search using awk or want to use plain bash to search for an exception in a log file, it’s hard to go into google, stack overflow, duck duck go, or any other place to do a search, and find nothing, or at least a solution that fits your needs. In my case, I wanted to know where a package was generating a conflict for a friend , and ended up scratching my head, because I…
For some odd reason, I couldn’t find quickly (2 mins in the manpage and some others on DuckDuckGo) a way to import a GPG key. Just because one of the repos gives this ugly message: Repository vscode does not define additional 'gpgkey=' URLs. Warning: File 'repomd.xml' from repository 'vscode' is signed with an unknown key 'EB3E94ADBE1229CF'. Note: Signing data enables the recipient to verify that…
So, say you find yourself, somehow having the following error in the roundcube logs: [27-Sep-2019 12:44:48 +0000]: <f930f680> PHP Error: SMTP server does not support authentication (POST /?_task=mail&_unlock=loading1569588324419&_framed=1&_lang=es&_action=send) [27-Sep-2019 12:44:48 +0000]: <f930f680> SMTP Error: Authentication failure: SMTP server does not support authentication (Code: ) in…
If you happen to be using gnu find in the deadly combination with a directory that is a symlink (you just don’t know that yet), you will find face the hard truth that running: find /path/to/directory -type f Will return zero , nada , nichts , meiyou , which is annoying. this will make you question your life decisions, and your knowledge on tools that you use daily, only to find out that the…
So, say you’re running qemu, and decided to use hugepages, nice isn’t it? helps with performace and stuff, however a wild wall appears! QEMU: qemu-system-aarch64: can't open backing store /dev/hugepages/ for guest RAM: Permission denied This basically means that you’re using the amazing -mem-path /dev/hugepages , and that QEMU running as an unprivileged user can’t write there… This is how it…
The problem Say you have a table that looks like this: AGGREGATE_NEEDED 1 ARCH x86_64 BASE_TEST_ISSUES NUMBER BUILD :NUMBER:PACKAGE DISTRI DISTRIBUTION FLAVOR Server-DVD-Incidents-Install INCIDENT_ID 99999 It’s just that it contains about 78 or more entries. Of course for a very skilled engineer or a person with a lot of tricks under the hood, this might be a very trivial task in vim or something…
The horror You happen to update your system (In my case, I use Tumbleweed or Gentoo) and there’s new version of Perl, at some point there’s the realization that you’re using local::lib , and the pain unfolds: A shell is started, and you find a dreaded: Cwd . c: loadable library and perl binaries are mismatched ( got handshake key 0xdb00080 , needed 0xdb80080 ) Which means: that the module (Cwd in…
Here at SUSE we heavily use Open Build Service , and often while collaborating on a project (In my case, openQA ) one has to add a new package as a dependency from time to time, or has to do a backport for an older SLE or openSUSE Leap release It boils down to the following steps, in this case I wanted to change the project to build against SUSE:SLE-12-SPX:Update instead of SUSE:SLE-12-SPX:GM…
Summary If you are having the following error on your Gentoo system: Can't open the database file '/var/cache/eix/portage.eix' for writing (mode = 'wb') Don’t waste your time, simply the /var/cache/eix directory is not present and/or writeable by the eix/portage use mkdir -p /var/cache/eix chmod +w /var/cache/eix* Basic story is that eix will drop privileges to portage user when ran as root.
The horror While trying to set up my mail system, I ran into multiple tutorials to figure out what was the best way to avoid multiple error messages, mainly because you, like me (you silly human!), simply copy and pasted random stuff from stack overflow, and tutorials in howtoforge and places like that… The mistakes You tried something like this spamassassin unix - n n - - pipe flags=DROhu…
Como renovar visa como Venezolano con prorroga y no morir en el intento Si llegaste hasta este lugar, es porque eres posiblemente Venezolano, y estas en la penosa necesidad de necesitar una prorroga, pero tambien debes renovar tu visa de residente sea en el pais que estes. Ya que no encontre informacion clara de el proceso, aca dejo los pasos que tuve que seguir en Alemania: Solicitar la prorroga…
I just followed this medium post , but long story short: Check out the origin/master branch and make sure my local master, is equal to origin, then push it to my fork (I seldomly do git pull on master). git fetch origin git checkout master git reset --hard origin/master git push foursixnine I needed to add the remote that belongs to a complete different repository: git remote add acarvajal…