After installing the Ruby installer you might need to install some gems. For example, if you are developing with RedHat OpenShift you want to install 'rhc' gem to access remote files on OpenShift. To install 'rhc' you would run the following command. ...
Override parent shortcodes in your WordPress Child Theme
Overriding shortcode defined in WordPress parent theme is pretty easy. Just use a after_theme_setup section in functions.php of the child theme; example: add_action( 'after_setup_theme', 'my_child_theme_setup' ); function my_child_theme_setup() { ...
Unlocking HTC Sensation Z710e Bootloader for Android
Take the following steps to Unlock your Device's Bootloader. Step 1 After powering down, press Volume Down and while pressing Volume Down, press Power holding both buttons to start the device into Bootloader mode. If you have difficulty, power u ...
git – the simple guide
setup Download git for OSX Download git for Windows Download git for Linux create a new repository create a new directory, open it and perform a git init to create a new git repository. checkout a repository create a working copy of a loca ...
AngularJS vs BackboneJS vs EmberJS? What I decided and why?
What I was looking for that framework should be easy to learn and should be integrated in the project easily. Keeping in that mind I searched a little bit about each and went through some reviews. What I concluded I’ll just say it in one line for each.
Microsoft Windows 10 Great UI Changes
My first experience with Windows 8 inspired bafflement and frustration. But I walked away from my first few minutes with Windows 10 with a sense of jealousy. It looks like a significant improvement, and I want it on my PC right now. Microsoft is lau ...
Create your first real-time AngularJS application
In my previous article I talked about creating real-time PHP application. That was on the server side and I demonstrated a very very basic client to connect with it. Let's take that to next step and create a Javascript client with AngularJS. Code ang ...
Create your first real-time PHP application
If you ever wondered if there is a way to write a real-time web application using PHP where any event or message is delivered/pushed to all recipients as they occur, in real-time? Then you are at the right place. We'll be building a sample real-time ...
How can I test if mod_rewrite on my server is enabled and working?
Note that mod_rewrite can only be used with the web server Apache. Follow the instructions below to check whether module mod_rewrite is installed and correctly configured on your server. Create the file .htaccess and add these two lines RewriteEngin ...
Global Variables in AngularJS
I’ve followed the angularjs tutorial and I noticed that I wasn’t able to have global variables. Turns out to be actually simple but Angular doesn’t mention it. You will need to edit your app module (app.js ) var app = angular.module('appName',); //A ...
Android? Too many pattern attempts? Can’t hard reset?
I had a pattern screen lock on my HTC One X Android phone. Yesterday my nephew tried to unlock it too many times and it got permanently locked. Too many pattern attempts After too many attempts, my phone got locked and asked for my Google username an ...
Photoshop Color Replacement Tool Tutorial
The Color Replacement Tool is not the most professional way to change colors in an image and won’t always give you the results you need, but it usually works well for simple tasks and it’s such an easy tool to use that it’s worth giving it a try befo ...
How To: Open a WordPress Menu Link In New Window or Tab?
I have come across multiple WordPress users who aren’t aware that WordPress has a bunch of functions hidden in the “Screen Options” section of multiple Administration Pages. Today I want to show you how to open links in custom menus in a new window o ...
Set up Microsoft Office365 email on an Android
From the Applications menu, select Email. This application may be named Mail on some versions of Android. Type your full email address, for example [email protected], and your password, and then select Next. Select Exchange account. This option ...
How to change expired password in Oracle?
In Oracle when the password is expired you will get the following error: ORA-28001: the password has expired This is because the password has reached 180 Default limit for a Password lifetime. Solutions: 1. Connect to the database using sys user ...
Convert IMG to VMDK.
I had an IMG image of our server which I wanted to mount on our virtual machine. Since I was using VMWare Player which supports VMDK so I was finding a way to mount IMG on a virtual machine or convert it to VMDK. I found the StarWind V2V Converter wh ...
Converting Oracle DATE types and PHP/Unix Timestamps
If you need to convert between Oracle date and PHP/Unix timestamp then you might need to implement two functions in Oracle. The following two Oracle functions implement this for DATE types. To convert a UNIX timestamp into an Oracle DATE type: CREA ...
Working with Dates and Times in Oracle and PHP
Both PHP and Oracle provide functionality manipulating dates and times. Which to use and when? If you're new to PHP or Oracle, working out how to handle dates efficiently can be tricky. You may have strategies, which you've applied successfully on o ...
Going Google-Free: The Best Alternatives to Google Services on the Web
Face it: Google runs your life. The search giant turned web ecosystem owns your email, calendar, and even your voicemails. Your most important data lives on Google's servers. What you may not realize is that, despite the quality of Google's produc ...
CodeIgniter Support in NetBeans
Lately I’ve been doing some development using CodeIgniter (a very popular PHP framework), and I was wondering, how to get CodeIgniter support in NetBeans. So anyway, I’ve found a NetBeans plugin under the Project Kenai This plugin will allow you to ...
Change password in Oracle SQL Developer
To change password in Oracle SQL Developer you can just right click on connection and click the Reset Password option. Alternatively, you can run the following query to update your password: alter user <username> identified by <newpassword& ...
Using Response.Redirect in try…catch block
Use overload Response.Redirect(String url, bool endResponse) if using in try catch block.
REST Web Services calls with C#
It's really easy to call REST based web services from C#.Net. Let's see how to do it. We'll be calling Yahoo Web Services as an example here. Make REST Calls With C# The .NET Framework provides classes for performing HTTP requests. This HOWTO descr ...
MySQL Query Cache
MySQL query cache is good to cache select queries and their results and improve some performance of your database applications. So, enable query cache in just one step.