Notice: Undefined index: aiosp_license_key in /home/gpimxbfj/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_class.php on line 5808
Gian Luigi Somma | Orion42 ~IT made easy~

Orion42 ~IT made easy~

Solving common problem with out-of the box thinking

[Matlab] How to quickly clean the workspace

How many times did it happen to you to close all the open window, remove the variable in the workspace and then clear the screen to start all over again from scratch? If this is the case, then just a…

[Matlab] – An ode45 script for a PID system with disturbances

This present a Matlab script to model a Proportional-Integrative-Derivative (PID) controller in which also a disturbance is present.

[Solved] Fatal error: Maximum execution time of 30 seconds exceeded in \wp-includes\class-http.php on line 1078

If, while updating your WordPress website, you encounter an error like this one: Fatal error: Maximum execution time of 30 seconds exceeded in [website url]\wp-includes\class-http.php on line 1078 It means that the maximum script execution time is exceeded. This parameter…

[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…

Skip to content