Author Archives: Bogdan
How to create a while loop in Javascript
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
My wordpress website is 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 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
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
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
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 strip spaces out of a string in perl
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
1 2 |
//You want to strip spaces from the left side and right side of the bellow string and obtain "username" $val_string= ' username '; |