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

Search In

How to Use HTML5 “picture” tag or Responsive

Most Common Solution for responsive images We are using this code below : img { max-width: 100%; height: auto; } A new option (tag) has come <picture> <picture> is a new element which is set to become part of HTML5.

How to set the Price Security in OpenERP(Odoo)?

Step-1 Install the Price Security module. Step-2 After that custmozie .py(Python file) file: In below example, I have custmozied .py file. You can directly copy the below python code in your .py file. class account_invoice_line(models.Model):

Adding attributes to short code in wordpress

Welcome to Findnerd. We all knows the power of shortcodes. It is very simple way to create a new functonality. We are going to discuss the way how we can add attributes in shortcode. We can give any name to shortcode and then manage attributes using

Interface with default methods vs Abstract class in Java 8

Interface with default methods in Java 8 In later version of Java Interfaces always contained only method declaration. We are not giving method definition in the interfaces because java did not allow multiple inheritance of classes. But in Java 8 it

Returning a Collection instead of Stream in Java 8?

In Java 8, the Streams is the new addition in the Java Collections API. It is the new method to process collections of objects. That is a different concept than the IO streams in the Java . Streams can be designed to work with Java lambda expressions

How to use UIAlertController for iOS8 and above.

Apple has deprecated UIAlertView in iOS 8 and above. Now they have introduce UIAlertController, below are the examples. AlertView without buttons:- UIAlertController * alert= [UIAlertController alertControllerWithT

How to make Purchase Usability Extension in OpenERP/Odoo ?

Step-1 Install the purchase_usability_extension module. Step-2 purchase_usability_extension->Purchases.py Step-3 After that custmozie purchases.py(Python file) file: In below example, I have custmozied purchases.py file. You can directly copy the

How to check invoice date in OpenERP/Odoo ?

Step-1 Install the account_invoice_sequential_dates module. Step-2 Account_invoice_sequential_dates->invoice.py Step-3 After that custmozie invoice.py(Python file) file: In below example, I have custmozied invoice.py file. You can directly copy t

How to add/call plugin method from javascript

Use the following code to make plugin javascript Here connectwebsocketserver is the function which called by javascript (index.js). If your plugin javascript file name is test then by following lin you can call this function test.connectwebsocket

How to disable csrf spring security 4

In spring security bydefault the csrf protect in on. As a result it asks for token during login and other requests. Although its not a good practise to disable the protection but we can do it. As we can see in the code below, http.csrf().disable() ,

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