Author Archives: Bogdan

How to create a while loop in Javascript

snippets

How to create a while loop in Javascript As I said in one my earlier articles, I’ll try porting every script to all programming language we’ve set the category for, this time is for javascript. Scenario Create a counting script that stops once it reaches 10 and alerts the user the execution has finished. Solution

How to create a while loop in perl

snippets

How to create a while loop in perl This post snipped is to show you how to create a while loop using perl, obviously this is possible in almost every programming language. Scenario You have to make some checks or print something until a certain limit or count. For eg. you want to print a

My wordpress website is hacked!

You have been hacked

My wordpress website is hacked! Hehe hitting wood here as its not really the case for me, but I did indeed had some clients on my server that came from a local hosting company were they were using Litespeed with cloudlinux. They came about one month ago, in November, today however the client contact me

WordPress theme fully responsive

wordpress theme responsive

WordPress theme fully responsive Well this is really a nice new surprise from the guys from WordPress, before Christmas came, we now have some new fancy design for our default theme in the admin section as well as a new frontend theme. It seems like they wanted to go full responsive, I’m also currently writing

Creating arrays and hashes in perl

snippets

Creating arrays and hashes in perl I’m sure for those users looking for dynamically storing their information they will most likely rely at some point on arrays. Here are some quick snippets on how to create arrays and associative arrays in perl (hashes). Creating an array in perl Arrays are preceded by the symbol “@”,

New mobile theme available

mobile example

New mobile theme available Yes, exactly like how i said, today a new mobile theme design has been received for all those using WP Touch wordpress plugin. First impression however is that we, free users, have fewer options, however we also have a new theme design, based on Foundation, similar to one of the PRO themes.

How to parse URL using javascript

snippets

How to parse URL using javascript In certain cases you may want to parse a URL using javascript, although I don’t specifically recommend this, rather you should use a php approach, server side. Javascript can be manipulated and if passing the URL somewhere and then actually doing work with the result, you may have surprises

How to parse url using php

snippets

How to parse url using php In certain cases, even in my recent made cpanel plugin, I had to parse the url for me to clear their resource cache. The use cases for this are a lot, there are a lot of manipulation reasons for this as well as solutions. Scenario I’ll take the same

How to strip spaces out of a string in perl

snippets

How to strip spaces out of a string in perl You have a variable string that may have blank spaces at the end of the string or at the start of the string and you need to remove these spaces so that you can make use properly of the value of that variable. Scenario

Making a new cpanel plugin

Making a new cpanel plugin I’ve been really busy these last two weeks, have had some issues with some of my clients that were kinda abusing some of the server resources and have been diving my head a bit more into nginx webserver. In these last two weeks I have also managed to finally to

Request an article ←