
Search In
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
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)
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
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()
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
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
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
#!/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
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
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
