I started working with Bengali deeply after having a wonderful open source Bengali writing software from Omicron Lab – the Avro Keyboard^. And after that, with Bengali Wikipedia, WordPress Bengali Codex, and with the development of several WordPress-powered Bengali news portal, Bengali entered in my vein. Especially in developing Bengali online news portal, I needed to fill up spaces with dummy content in Bengali. I’s in need of some texts – can be used in Photoshop while designing, and can be used in HTML while developing the site structure. But unfortunately, there’s no such dummy texts in Bengali available like Latin Lorem Ipsum…. So I made one. It’s not the translation of Lorem Ipsum. I named it:Continue reading

Making Static Demo Sites on Github - tuts nano

You did a wonderful project using HTML, CSS and JavaScript. And you uploaded the project to Github so that other can get help. People now can easily fork, clone, or even download the repository. But something is missing – if a visible demo can be provided, it’d be great!

We will discuss on: How to create a static demo site on Github.

Static site means, there’s no server-side code there – you’re creating a site using pure HTML, CSS and JavaScript. Because we’re not getting any place to store a database.


You should know how to create a HTML file. For others, we will learn on the way…

How to proceed?

Step 1: Deploy code in Github

Easy as pie.Continue reading

Custom Pagination for Admin $wp_query - tuts nano

I’ve taken information in an admin page (can be a menu_page or a submenu_page) using WP_Query(). Made a table to display the information also. Made a pagination too. But appears that, the pagination is not working. While searching for solution, found that, Christine Cooper got stuck in a similar problem in her end, but good part is, she made a solution taking suggestion from Milo. That solution was nice, and that solved my problem too. But some final touches were required, so I made my code working and presenting here for you. You can make it more nicer.

What actually is happening, and why?

Not being a copy-paste programmer, a good programmer should always ask for the base. So, what we’ve learned is,Continue reading

IP Blockage using PHP - tuts nano

Someone got an approved Google AdSense account, and they started displaying ads onto their site. But on the third day, they were banned for invalid clicks. The reason they guessed was, multiple clicks from their own public IP can ban them –  though they are not so sure. It can happen while multiple user in multiple computers using a same internet connection. When they are clicking google tracked them as the same person who registered the AdSense account.

Okay, this can be one scenario, but you may face situation like this, when you may need to block certain things to certain IP addresses. Here’s the code snippet (charm! 🙂 ) that can save you.Continue reading

Releasing Project on Github - tuts nano

Github.com is one of the modern concept in coding – the social coding. So using the site you can code socially – with friends, colleagues, mentors, even with someone you don’t even know. Most of the github projects are open source, because they are public by default. You can have private repositories also, but they are paid. Public or private – but most of the finished products hosted in github are not even released by their authors. Today we’re gonna take a look on how to release your github project.

Suppose your github.com repository is your project. And you are currently working on its version 1.0.0. Some other committers are also committing on the repository. And you all decided to finish its work for a stable 1.0.0 release. So, in that stage finish committing and go for a release.

Release using Git

The process of releasing product using git is actually git tag. Doing so you have to write in command line (git bash):

git tag -a v1.0.0 -m "First Release"

It will tag the last commit with v1.0.0 tag. Now push tags using command line and that will create a tag in Github too.

git push -u origin --tags

But it will write Release Note for you. So creating tags and release a product, Github has a feature called ‘Release’:

How to release

Continue reading