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

Search In

How to implement SLIM APIs with Database connectivity?

To connect slim apis with database follow the below steps: 1) Setup the slim enviornment in you system using the below URL. http://findnerd.com/account/#url=/list/publishnode/18162/ 2) Create a database name "slim". 3) Create a file und

How to manage each tax group in Point Of sale in OpenERP(Odoo)?

In below example, I have written Python script for each tax group. see below python code in .py file : (tax_code_pos, base_code_pos, account_pos, tax_id)= (0, 1, 2, 3) for key, tax_amount in group_tax.items(): tax = s

How to convert image into base64 string using javascript

Here is the example that shows converting an image file to base 64 string code. It can be done by the canvas method. HTML5 provides the canvas tag that is used to draw a canvas. For converting an image file to base 64 string you need to create a can

How to calculate distance from array of coordinates in iOS

If we want to calculate the distance from the array which contains the coordinates i.e Latitude and Longitude then use the following code- -(void) getDistanceFromArray { CLLocationDistance totalKilometers = 0; for (int i = 0; i < (self.arra

Basic Differences in Optional, Non Optional Value and How to Use Clousers in Swift

In this tutorial, we are going to learn the difference between optional and non optional value in swift. We represent optional value by question mark i.e “?” and non optional value by exclamation mark i.e “!”.   Non opt

How to use Google Recaptcha with Devise in rails application?

In web applications, Captcha is used to prevent spam/bot from getting into our applications, inbox or databases. It ensures that web application using by a real human. Here, we are going to implement Googles reCAPTCHA service in our rails application

Simple Digital Clock using JavaScript

In this blog, we will learn about how to create a simply animated digital clock with javascript. As we know, browser executes any javascript program at the client side, this means that the script will take the time of the client computer and will dis

How to resolve casting error in my Java program

I am trying to get data from a database using 3 Jcomboboxes and then put the data in a Jtable and i am getting a empID=(int)employees[selectedIndex-1][1];  public void updateTable()     {          int selectedIndex=employeeCmb.getSelectedIndex

Chapter 3: Authentication using node.js(passport.js) and mongoDb

As we all know authentication plays an important role in every site. Here In this blog I am explaining how we will authenticate our site in node.js as a backend and mongoDb as a database. To authenticate I am using passport.js which will help to logi

How to make a JSON call using jQuery?

To make JSON call we use “getJSON” method. Here is the syntax and description of it. Syntax : $.getJSON( url, [data], [callback] ) Description 1. url : It is URL where the request is send and which emits out JSON. 2. data : this parameter he

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