1 – Lessons begin

Welcome to Coding-School.com old school! Some of the tips, techniques and code freely imparted here, I’ve searched the web previously and come back...

Powershell Intro

In recent years it has become necessary to learn Powershell. This is for a number of reasons, but predominately because certain automations are only possible...

Perl Intro

Introduction to Perl Perl is an acronym, short for Practical Extraction and Report Language. It was designed by Larry Wall as a tool for writing programs...

Shiny DashBoard

"Having studied Data Science since April 2014, felt it a good time to get to know Rstudio’s Shiny Server! So sourced data.gov.au’s Disaster Events...

web resilience and dns round robin

Nice piece of work on recent browsers resilience and dns round robin

Perl Signals

Perl Signals Perl allows you to trap signals using the %SIG associative array. Using the signals you want to trap as the key, you can assign a subroutine...

Perl DBI

Perl DBI Example The DBI module enables your Perl applications to access multiple database types transparently. You can connect to MySQL, MSSQL, Oracle,...

Perl OOP

Perl OOP Why Object Oriented approach? A major factor in the invention of Object-Oriented approach is to remove some of the flaws encountered with the...

Perl File Operations

Perl File operations Variables which represent files are called “file handles”, and they are handled differently from other variables. They...

Perl Regular Expressions

Perl Regular Expressions Metacharacters char meaning ^ beginning of string $ end of string . any character except newline * match 0 or more times + match...

Perl Subroutine

Perl Subroutine sub mysubroutine { print "Not a very interesting routinen"; print "This does the same thing every timen"; } regardless of any parameters...

Perl References

Perl References I’m happiest writing Perl code that does not use references because they always give me a mild headache. Here’s the short version...

Perl if else

The if…else Statement This statement uses a relational expression to check the validity of a condition and execute a set of statements enclosed in...

Perl Loop

The Loop Statements Different loop statements in perl… The for Loop The foreach Loop The while Loop The do-while Loop The until Loop The process...

Perl ARGV

@ARGV and %ENV The built-in array @ARGV contains the command line arguments for a Perl program. The following run of the Perl program critic.pl will have...

Perl Hash Maps

Perl Hash Maps/associative arrays ASSIGNING HASH VALUES hash tables consist of key/value pairs every key is followed by a value values can be assigned...

Perl Arrays

Arrays @ Array constants are specified using parenthesis ( ) and the elements are separated with commas. Perl arrays are like lists or collections in other...

Perl Operators

Perl Operators In Perl, the comparison operators are divided into two classes: Comparison operators that work with numbers Comparison operators that work...

Perl List

List A list is a sequence of scalar values enclosed in parentheses. The following is a simple example of a list: (1, 5.3, “hello”, 2) This...

Perl Scalars

Perl Scalars The most basic kind of variable in Perl is the scalar variable. Scalar variables hold both strings and numbers, and are remarkable in that...

PHP Files

PHP File handling PHP includes a lot of built-in functions for handling files and directories. You can read, write, delete, and get lots of information...

PHP Functions

PHP Functions A function is a block of code to perform a specific task. This block of code can be executed anywhere in the program by calling it’s...

PHP Loop

PHP Loop PHP loops are used to execute some code again and again for some definite number of times. There are many types of looping statements in PHP....

PHP Arrays

PHP Arrays An array is a data structure that stores one or more values in a single variable. Each element in the array has its own id. There are 3 types...

PHP Switch

Switch statement The “switch” statement is similar to a series of “If…else” statements. In many occasions, you may want to...

PHP if else

If, If…else, elseif Sometimes we want different actions to be performed for different actions. If, If…Else, and Elseif statements can be used...

PHP String Capitalization

String Capitalization String capitalization is used to change the case of a string. There are three functions for this purpose namely, strtoupper, strtolower...

PHP substr_replace

substr_replace()-Replace a part of string The substr_replace() function is complementary to the function that we discussed earlier – “str_replace()”....

PHP str_replace

str_replace()-Replace a string The “str_replace()” function is used to replace some occurence in a string. It is very much similar to the “replace...

PHP strpos

strpos()-To find the position of a string or character within a string The function, strpos() finds the position of a string within a string. It needs...