# Archive for the Blogs Category

## Tools for Monitoring Servers

Maintaining a webserver is no easy task, you will not know when the attack is about to happen but Usually occurs during your sleep. There are various tools to monitor your server performance but for the most part it requires shell access to the server. Checking Server […]

## I am back after a long break

Just attended an interesting workshop provided by Krista M. Garcia for corporate writing and corporate photography by Shai Lagarde our communications manager at A Brown. Although, it’s not really geared towards content ranking, it’s informative none the less. The talk reminds me that i too have a […]

## Project Euler – Problem 6 – Sum square difference

Problem 6:  The sum of the squares of the first ten natural numbers is, 12 + 22 + … + 102 = 385 The square of the sum of the first ten natural numbers is, (1 + 2 + … + 10)2 = 552 = 3025 Hence […]

## Setting radio button to checked with jQuery

Lately I’ve been having some difficulties in setting the radio button values the way it should via jquery on load. i have been setting radio buttons from before and it seems something just wasn’t right on this instance. here is my UI. my HTML: (i am using bootstrap, […]

Update: I have found a much easier way to download and use google fonts on your local computer or use it on a local area network website. 1. you will need to select the font you wish to download from the google fonts site 2. go to […]

## Hardcoding codeigniter’s base_url into your javascript file

Its so easy and straight forward with hard coding base_url into our scripts but as your project grows and as you upload your projects into the production server then edit it is a bit frustrating. There must be a better way to handle these base_url automatically into […]

## Project Euler Problem 5 – Smallest Multiple

Problem 5: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?

## Least Common Multiple in PHP

LCM(a,b) is the smallest integer divisible to both a and b from wikipedia. It can actually be simplified using prime factorization which denotes from wikipedia as: The unique factorization theorem says that every positive integer greater than 1 can be written in only one way as a […]