Docker is changing.. and as all the changes in this period, things are getting shittier. So recently the announced two shitty things:
Continue reading “Docker Image Migration script”Run a GUI program at Startup on LXDE
Have you ever needed to launch a GUI program that run at startup and goes directly into full screen mode? Probably not.. but if you do, just continue reading this post..
Continue reading “Run a GUI program at Startup on LXDE”Variables in Bash
Lets talk about variables in bash scripts. Nothing super technical, but this is just a small clarification article for a such useful features. But lets start from the beginning. .. What are bash variable and why a user or developer should care about it? Continue reading “Variables in Bash”
GIT_2 : Workflows: branch and fork
In the last article we discussed some basic git concept. Now I want to introduce some GIT workflows to be used while developing code in teams, that uses Pull Requests and code reviewers. In particular I want to explain how to keep the master history clean and how to avoid all those ugly merges and unnecessary commits that a lot of teams have in their master history.
Continue reading “GIT_2 : Workflows: branch and fork”GIT_1 : (not so) Basic Concepts
If you are a programmer and if your team consist of more than 1 person, then you are probably using GIT. There are two ways to use git: the wrong way and the right way. If you never used “rebase” command or if you never squashed any of your commits or if you never heard about forks, then you are probably using it wrong. Ah before we start, I assume that you are familiar with basic git terminology.
Continue reading “GIT_1 : (not so) Basic Concepts”Template Classes in C++
C++ is one of the most powerful programming language in the world. You can practically do everything with it. Continue reading “Template Classes in C++”
WordPress Exclude Categories from main pages
Today I wanted to restructure this website, by excluding the Articles from Blog Section… I using worpress (Yeah, I am Lazy..) . So It turns out there is an easy solution for that: Continue reading “WordPress Exclude Categories from main pages”
Keep Linux process running…
Today, I wanted to show a quick Shell script in linux that make sure that my processes are always running… I know, I know… There is “Systemd” with “systemctl” command that take care of that… but what if we do not want to use Systemd or we need to manually force always running services, or we just are looking for to another alternative? how to do that? Continue reading “Keep Linux process running…”
MAC addresses
When working with Gateways, RPI (but also normal PCs), I often have the need to use a unique identifier of the device… The reason can be anything: for logging purposes to automatic authentication, to send “I Am Alive” messages to keep track of which devices are working properly. Continue reading “MAC addresses”
Merging two folders in python.
Recently i wanted to merge two folders in python and overwrite existing files in the destination folders. Shutil library offers a lot of high level file handling functions, however, noone of them offers offer the merging. Continue reading “Merging two folders in python.”