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

Search In

How to use thread in Odoo ?

In thread we have to move on .py file and after this using thread you have to create you own cursor and initiate a new environment for each thread. committing is done by committing the cursor,For example you can see below code. Environment.manage()

How to use page redirection in Zend Framework

Hello Friends, If you are looking to use page redirection in zend framework. Like as you know we always need to redirect our web-page from one page to another webpage for example after successful record insertion in you always wants to redirect your

How to check login status in Wordpress

Hello Friends, Generally in the website you can see lots pages are restricted to have access before login. If you want to add this feature in your Wordpress website. Please follow the below code in your in page. if(is_user_logged_in()) { // Place y

How to put text align to veritcal using CSS 3

Hello Reader's if your are looking for the code to write the text with alignment upward, Then you can use the code css as below:- -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -o-transform: rotate(90deg); writing-mode: tb-rl; He

How to get last insert id in Wordpress

Hello Friends, Programmer generally need last insert id for their coding requirement. If you are new in Wordpress and you need to fetch last insert id after insertion. Please follow the code below: // Define the DB object global $wpdb; // Define

How to pass JSON in AJAX

Hello Everyone, today I will guide you "To pass JSON in AJAX ". In the below code information is a variable that store JSON. We can pass this variable into AJAX data and get user records, and show it into a userDetail <div>. You can use the b

How to write basic query(find and findById) using node.js and mongoDb?

As in my previous chapter I have explained how we will authenticate using passport module. Now I will explain that how we will write basic query using node.js and mongoDb. Here are the few query which I will implement step by step:   Step 1:

Weasyprint only gives me empty pdfs when I'm trying to print newsarticles

#!/usr/bin/python3.5 from weasyprint import HTML url = "http://ekstrabladet.dk/112/nye-oplysninger-i-30-aar-gammel-mordgaade/6579176" HTML(url).write_pdf("test.pd") The problem is that the final pdf has only part of the webpage. I'm assumin

Can You Please Spot the Error in the Following Python Code?

How to display a powerset using the following code? what is the mistake and where? why the output is not getting displayed? What to do to display the output?   def power_set(items): N = len(items) # enumerate the 2 ** N possible combi

how to run this program in do while loop

Hi, I want to run the below program in do while loop, please help me. #include<stdio.h> int main() {     int num;     char another;          do     {         printf("enter the number");         scanf("%d", &num);         printf("the squar

1 42 408
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: