Use tar Command Through Network Over SSH Session

Compressing a Linux/UNIX directory is one of the recurrent system administrator’s activity. It is useful to backup files, email all files, or even to share feveral files you have created to friends. Technically, it is called as a compressed archive. GNU tar command is the best for this kind of activities. Command syntax: tar -zcvf […]

Git Pull as cron job

1 */2 * * * * cd /var/git/repos/projectname && git pull >> /dev/null Took from an article on how to set up cron job for git pull. Link to this post!

Bootstrap Website template – Starting and Header

Bootstrap is one of the most important web framework for faster and easier web development. It uses HTML, CSS and Javascript as any other framework. in this post I will start a new tutorial on creating a full template using Bootstrap. the main landing page of the template is single page template with anchor menu […]

JAVA – string methods – 3

This the third post for Java string methods. In this post I will detail more functions and its functionalities. split() This method has two variants and splits this string around matches of the given regular expression. Syntax:


regex — the delimiting regular expression. limit — the result threshold which means how many strings […]

JAVA – string methods – 2

This the second post for Java string methods. In this post I will detail more functions and its functionalities.  matches() This method tests string against given regular expression. This method returns true only if this string matches the given regular expression. Syntax:

regex  the regular expression. Link to this post!

JAVA – string methods – 1

Java is rich with methods to handle strings and strings manipulation. In this post I will detail the most used string methods and usage of each one. As string functions are much and important I will make this post divided to several posts in a series to be easy to follow and to give time […]

JAVA BEGINNERS TUTORIAL – Working with Strings

Strings are a sequence of characters. In the Java, strings are objects. The Java platform provides the String class to create and manipulate strings. Creating Strings: The most direct way to create a string is to write:

Whenever it encounters a string literal in your code, the compiler creates a String object with its […]

JAVA BEGINNERS TUTORIAL – Working with Characters

when we need to use one character and dealwith it we use primitive data types char.

in development, we come across some situations where we need to use objects instead of primitive data types. In order to achieve this, Java provides wrapper class Character for primitive data type char. The Character class offers a number of useful […]

JAVA BEGINNERS TUTORIAL – Dealing With Numbers 3

this how I review basics of a language to write what I reviewed in blog posts also it will be good interance for Android development. the good news now it become dialy as I need to review also other languages before release some open source case studies this blog post is the last one of […]

JAVA BEGINNERS TUTORIAL – Dealing With Numbers 2

Back to number methods and more function to discuss 🙂 toString() The method is used to get a String object representing the value of the Number Object. If the method takes a primitive data type as an argument, then the String object representing the primitive data type value is return. If the method takes two arguments, then […]

1 2