She asked me ” Excuse me do i know you? “, to which i replied ” hi, i’m Mr. Brightside “, she smiled and said “well that’s tragic”, i mustered up a smile of my own and said ” I guess it is, guess it is” then i asked her “and might i know who…(Continue Reading)
Fire Fighters of Nepal
All the festivities were over, we spent the day laughing, having fun, playing cards and now it was time for rest like every other tika in every other dashain. But today would not be just another tika. I heard the first screams around ten, I ignored them : i’d seen men drink the whole day,…(Continue Reading)
My Dark Lady
Put back on the mask let no one see what hides behind; Beauty or Beast let no one see what are thee. Do not let the mask slip you’ll tarnish the mystery. Go hide now, your secret is safe with me. Adieu fair lady before the sun dawns upon us! In the darkness you have…(Continue Reading)
Ramblings of a Mad Man
Of all the words that i have written and not said, of all the things i have wanted but not done, of all the things i have seeked but not recieved: i have had quite a few. Yet it is the words i have written for you and have not said, the things i’ve wanted…(Continue Reading)
The Value of Information
After 4 years of being an IT student it is ironic that this will be my first article regarding my field of choice. Yet I feel the time is right to write and share. What does it mean to be an IT student? Many of aspire to be the next Zucherberg or Bill Gates, most…(Continue Reading)
Custom Post Type with Custom Meta Boxes Part 1 of 2
First lets start with registering a custom post type, to be used at our discretion.There are 5 basic post_types that comes with wordpress these are not to be messed with. They are : Post (Post Type: ‘post’) Page (Post Type: ‘page’) Attachment (Post Type: ‘attachment’) Revision (Post Type: ‘revision’) Navigation menu (Post Type: ‘nav_menu_item’) If…(Continue Reading)
WordPress Backend: Add Custom Field to Users Page
So this is to add a custom field to your wordpress users page on the admin side. For well a plethora of things come to mind, if you want to show custom usermeta and make them editatble on the back end i’m guessing this would be pretty useful no? Ok the first part the function…(Continue Reading)
How to set up a virtual host on WAMP server
Step 1: C:\Windows\system32\drivers\etc\hosts # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the…(Continue Reading)
WordPress: Making Ajax Calls
Just Like i promised, today we will cover making Ajax Calls Well lets start with the basics shall we? Each request needs to supply at least one piece of data (using the GET or POST method) called action. Based on this action, the code in admin-ajax.php creates two hooks, wp_ajax_my_action and wp_ajax_nopriv_my_action, wheremy_action is the…(Continue Reading)
Sync Roles of Multisite Users
So this happened at work today, was working on a multiste and the client required that under a certain condition. For now lets say the condition is that I’m subscribing to the site and for 5 days i’m a free user on the 5th day i need the client to revert to role => unpaid.…(Continue Reading)