danpros

A self-proclaimed geek, business owner, and part-time blogger.

πŸ“ The Internet https://www.danpros.com/

Check Disk Health Status When Using Hardware RAID

I have several boxes using RAID controller from LSI brands. And of course, sometimes we need to know important information about our disks, let say disk health status. When using Software RAID then
β€” 1 min read

From Blogger to HTMLy

After almost 5 years using Blogger, a few days ago I decided to move the platform to HTMLy an open source databaseless blogging platform (Flat-File Blog).
β€” 1 min read

Setting Up NAT VPS on CentOS 6 using IP Tables and HAProxy

When ordering dedicated server sometimes we only got 1 IPv4, but that’s enough, we can using NAT for container with IP Tables and HAProxy to creating many OpenVZ VPS inside our dedicated server.
β€” 4 min read

HTMLy: Databaseless Blogging Platform (Flat CMS)

There are times when we just want to write without having to think about site management, for example upgrading to the latest version (core and plugin), for this purpose I developed a blogging
β€” 2 min read

Blogger JSON Feed API

Maybe sometimes we need a widget for certain features, but the widgets are not available. Blogger already provides an APIs to overcome this, so we can create our own widget by reading the blog feed
β€” 4 min read

Adding new variable for the Author Pane (Follow Links)

Here's how to adding new variable for the Author Pane function template_preprocess_author_pane(&$variables) { Β  $variables['user_follow'] = ''; Β  $uid = $variables['account']->uid; Β  $name1
β€” 2 min read

Check if checkbox field is checked (Drupal 7 theming)

Recently, I need the following features for one of client Drupal 7 site: There is one content type that requires option to change the layout just by using checkbox, what is needed is an inline CSS
β€” 1 min read

Embed a view inside a node in Drupal 7

We can embed a view created by Views module inside a node in Drupal 7 with just some short code. Here is the code: <?php     $view =
β€” 1 min read