Linux , 3 ways to keep long running processes in background

Linux , 3 ways to keep long running processes in background
  In Linux, there are several ways to keep a long running process running in the background. Here are a few common methods: Using & to run the command in the background: You can run a command in the background by appending an ampersand (&) to the end of the command. For example, to run a process called myprogram in ...

short and simple Linux .profile status banner 1

short and simple Linux .profile status banner
Here’s just a short post about a little .profile code snippet I use to help give me a brief system overview upon logging into my accounts.. It produces an output similar to the one below.  Now  I understand there are tons of little utilities out there like Neofetch (commind line system information tool), that provides ...

web page hot reload in plain JavaScript + Apache & PHP 4

web page hot reload in plain JavaScript + Apache & PHP
Hot re-loading, that is automatically updating the web page, when its content changes on the server, into the browser is a convenient developer aid for modern tooling like, webpack, AngularJS, ReactJS, VueJS etc.  I created   super simple  way  by just adding one JavaScript include at the bottom of your file and it works with a ...

Javascript Server Sent Events SSE easy tutorial demo of (EventSource) 4

Javascript Server  Sent Events SSE easy tutorial demo of (EventSource)
This  easy to follow tutorial will show you how to stream server data  (sometimes called SSE’s, Server Sent Events) , in real-time to your browser. Using  Javascript’s EventSource API  interface we can seamlessly update and display on a web page real-time  server-sent data  all without the complexities of setting up a web socket server. Why ...

Top 10 incredibly useful Javascript / Jquery code snippets 2

Top 10 incredibly useful Javascript  / Jquery  code snippets
Here’s my list of 10 useful  JavaScript &  some Jquery code snippets.  The  code snippets below are pretty useful and find myself reusing them again and again in all sorts of situations.  I have created full-page examples of these snippets, go grab them over at my [icon name=”github” class=”” unprefixed_class=””] Javascript Github Repo  Note: For ...

WordPress linux backup script to offsite NAS via Rsync 5

WordPress linux backup script to offsite NAS via Rsync
Here’s a simple straightforward bash | shell script that I use for this SITE to easily and routinely backup my Entire  Wordpress Site , all its folders and plugins , and the corresponding database.   Of course there are dozens of WordPress Backup  plugins (such as Backup Buddy;  Updraft Plus; BackWpUp ) that do this ...

Lazarus – Discover Windows, Mac & Linux cross platform Development IDE 5

Lazarus - Discover Windows, Mac & Linux cross platform Development IDE
If you’re a developer of a certain age (say north of 35) you will likely have worked with or heard of Visual Basic and to a lesser known extent Delphi IDE (Integrated Development Environment) development platforms. These development IDE’s, were very popular in the mid to late 90’s and ushered in an era or rapid Windows applications ...

genetic algorithms in PHP code example of (evolutionary programming ) 20

genetic algorithms  in PHP code example of (evolutionary programming )
This posting and php code sample is about fascinating topic of  Genetic Algorithms (GA) which simulate evolution using computer code to help find  near-optimal solutions when dealing with problems that  involve multiple disparate requirements. I recently began playing with Genetic algorithms (Genetic algorithms  GA, for short) which  are  part of a class of evolutionary algorithms (EA) that make up ...

Shell script code: show oldest | newest file in folder and file age 2

Shell script code: show oldest | newest file in folder and file age
Determining Oldest file and file age Today I had to write a short shell script to help figure out the oldest file in a particular folder, how old that file was (in secs or minutes). This is a pretty common requirement when dealing with file(s) folders  such as working directories, where you periodically need to ...