Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Find out a particular column throughout the database in Postgresql

Previously got a situation where I needed to get the list of all the tables where a particular column lets say partner_id exists, might be useful for you too. Just run the following query in PostgreSQL: SELECT * FROM information_schema.columns WHE

Hide format text from body in drupal

If anyone wants to hide the format text from the body field in drupal then try it:- // override hook_form_alter function CUSTOM_MODULENAME_form_alter(&$form, &$form_state, $form_id) { if($form_id == 'restaurants_node_form') {/

Wiring MongoDB Repository class with Springs controller

Wiring MongoDB Repository Class with SpringMVC:- Spring Data point out the specialties of repository support for MongoDB. To use the repository concept you have to define your repository and attach the required XML element inside Spring Context XML f

Solr schema unique key id

Solr schema.xml have a default unique key which is "id". This field has "string" type hence can not be used for sorting. We can not change its type as it is required as "string" because if you have enabled the QueryElevationComponent in solrconfig.xm

Simulating click event in Javascript or Faking Javascript click event..

<script> function fakeClick(event, objId) { var obj=document.getElementById(objId); if (obj.click) { obj.click() } else if(document.createEvent) { if(event.target !== obj) { var evt = document.createEvent("MouseEvents");

how to consume Asp.net webservice from php client

I have tried this code: require_once('php/lib/nusoap.php'); $client = new nusoap_client('http://210.212.23.51/rtpsappeal/service1.asmx?WSDL',true); $userKey = "Zxo7654IBN"; $applicationId = '040172192101500191'; $result = $client->call(

How to find available user in live chat in OpenERP(Odoo)?

In below example, I have written Python script to find available user in live chat . If you are stuck in such case then directly copy below python code in your .py file: users = self.get_available_users(cr, uid, channel_id, context=context)

Getting status bar height

Hello everyone , I was working on status bar and found that we could get the height of the navigation bar at runtime. following is the code to get the height of the status bar. private int getStatusBarHeight() { int result = 0; int resourc

Navigation Bar Height

Hello Everyone, Want to get the height of on screen navigation bar ?? Here is a solution private int getNavigation_bar_Height(){ Resources resources = getResources(); int resourceId = resources.getIdentifier("navigation_bar_heigh

How to get child of Category(Parent Child relation)

Hello reader's today we discussed about "How to get child of Category". In Wordpress, if we create a category and their sub category and we want to call category and their sub-category. In Programming language we called it Parent Child relation. The

1 … 85 … 466
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: