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

Search In

How to combine two NSSet objects?

Hello all, If you want to combine to NSSet objects, use the below code- NSSet *affordableMakes = [NSSet setWithObjects:@"Ford", @"Honda", @"Nissan", @"Toyota", nil]; NSSet *fancyMakes = [NSSet setWithObjects:@"Fe

How to use new fonts in iPhone SDK

Following are the steps to add new fonts which not available in iOS sdk. 1) Download the font file and add that file in resource folder 2) go to App- info.plist and add key "Fonts provided by application" and in value add the name in that font. 3)

How to use Cursor in Odoo ?

When we use cursor first we have to move on Record Recordset and environment share the same cursor.And you can access cursor using like below code. def my_fun(self): cursor = self._cr # or self.env.cr Note- if you need to use the tcurso

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

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

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

Magento Models Overriding

In this tutorial, i will explain how to override magento models using an XML- based configuration file. Models play an important role as they connect our application to database & implement most of the business logic. we should not change any cor

1 258 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: