Orion42 Blog

~IT made easy~

Latest post

[Linux] Add permanent Shell Alias to a folder

Do you have favourite folders that use to open every day on your terminal? Are you tired of browsing several folders every time to reach your working folders? If you answered yes, then this article is for you! You will…

[Shell] How to check if pip/pip3 packages need updating

Today I present a small shell script that check if pip/ pip3 are installed and if there is any package that need to be update: printf “Check PIP and PIP3 versions and packages: \n\n ” if [[ $(command -v pip) ]]…

[C++] Count how many even and odd numbers there are in a sequence

Today we learn how to count how many even and odd numbers there are in a sequence of integers. Like any problem, many solutions exist and here we analyse just one among many possible ones. This is the complete code:…

[Git] Rename a local and remote branch

If you want to rename a git branch on both your local and remote repository, you can change its name using the -m parameter of the branch command. Rename your local branch. You can do it both from inside the…

[Git] How to rebase last commit to a different branch with cherry-pick

In git is possible to rebase the last commit of Branch B onto Branch A and rollback Branch Bone commit using the cherry-pick instruction. Initial state: — — — —    (Branch-A) \ — XX      (Branch-B) Final state:…

How to Uninstall Windows 10’s Built-in Apps for all users

It is possible to uninstall Win10 preinstalled (built-in) via powershell in admin mode. The generic command  to remove APP_NAME is: get-appxpackage -allusers APP_NAME| remove-appxpackage To remove the app only for the current user remove the srting “‘allusers”. Credits: A deeper…

[Shell] How to remove all empty directories in a sub-tree?

Using shell, both in Linux or in Windows Sub-system for Linux [WSL], you can remove all the empty directories in a folder or hard drive and in all the sub-folders. Short answer: open your terminal and navigate into the top…

AppLike, scam or legit?

Short answer: Legit. I used the app and I received a payment. Here the proof: Click here to install the app and receive 2555 coins for free: https://r.applike.info/s/5b1d4034394e8 Enjoy!

Fast Download of Samsung Firmware

Have you struggled to find a site where to fast download firmware for your Samsung device? I did.  I found a lot of websites where you either paid a fee or subscription or you download at max 40-50 Kb/s. Finally,…

[Matlab] Multiple instance of Matlab when opening .m files

If you have a new instance of matlab opening each time you open a new file you can check these page for a lot of differente ways of fixing it. On the official site: “Why is a new instance of…

Skip to content