
Search In
Many a times we need to take out time difference between two time zone using Date class in php. We can use the following code :-
$timeZone = ['Any Timezone'];
$default = date("Y-m-d h:i:s A");// UTC
$dateTimeZone = new Dat
Hello all, I was facing problem with loading URL in UIWebVIew because of wrong encoding method. After that I tried this code. It helped me.
- (NSString*)encodeURL:(NSString *)string
{
NSString *newString = NSMakeCollectable([(NSString *)CFURLCr
With the help of the notification "UIApplicationUserDidTakeScreenshotNotification" in our application we can detect the screenshot taken from iPhone.
Use the following line of code to generate notification for same.
[[NSNotificationCenter defaultCen
Hello all,
In this video i am gonna create a 3D text with help of 3D extrusion in Photoshop CS6. Photoshop had introduced 3D workflow with the release of CS5 version. It was earlier known as Repousse.
3D Extrusion is not only limited with text. We
I have been using Views Bulk Operations (VBO) module from long time. I always found an option appear in list after enabling the module Enqueue the operation instead of executing it directly , this make me appealing to learn more about Drupal Queue
Find value in all tables in a Database
Some times we know the value which is in our database, but we don't know the Database architecture and mapping with our code base. So if i want to know that where a particular value store, we can use below quer
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)
To take backup database in PostgreSQL in ubuntu follow these step in terminal
1- sudo su - postgres
2- psql
3- pg_dump abctest_db > /home/sachin/abc.sql
Here,
abctest_db = is a dbname whose backup I want to take
abc.sql file = this i
Hi All Developers,
http://www.katjaboehm.de/kontakt/ On this page, after submitting the form. I've setup error message gets fade off (hide) on hover of text field. This form is created using contact form 7.
I need same functionality on this http://
Hi Friends, Please help me with the Problem, I want to migrate from OpenERP-7 to Odoo-9 and while doing so I got an error.
Error is below .
File "/home/shiva/WORKSPACE9/OPENERP-9/openerp/addons/rent/rent.py", in get_totals
prices = tax_pool.co
