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

Search In

Sorting in Ruby

Using sort method we can sort any string, numbers, even classes either in ascending order or descending order .To sort an array ,you need to compare its element using <, >, <=, >= . return -1 if x < y return 0 if x = y return 1 if x &

Math.pow() Method in javascript

The Math.pow() function calculates the power of x to y, x ^ y. Matrix exponentiation is supported for square matrices x, and positive integer exponents y. It returns the base to the exponent power, that is, base exponent. It Gets a number raised to t

SVG Shapes

Hello Readers, Today's topic is how to create a SVG?- Every shapes in SVG are based on coordinates (x and y axis). So if you want to edit ,create and script, you have to know about coordinates. SVG has pre define shape like, 1) Circle 2) R

Local and Global Variables

Local Variables: Variables that are defined within a function or a block are called local variables. They can only be used within a function or a block. These can't be accessed outside their scope or we can say outside their function. #inc

What are the different array functions in sorting an array?

Hello Readers Below is the Sorting functions in PHP: sort(): It is an array function which is used to sorts the array and it will be arranged the elements in ascending order (lowest to highest). Example of sort(): <?php $subject = array("

HTML5 Canvas Game

Canvas can be used to draw graphs, shapes, images, and to make animations. Here is the example below for making the game in canvas <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <titl

Why Validation Accuracy Doesn't Change in Classification Using Stateful LSTM - Python

I am trying to classify some video into 3 different classes. Each video has different length of frame. The training data has the shape of (104, None, 528) where:     - 104 = Number of videos  - None = number of frames for each v

How to get the outstanding residual value in invoice currency in Odoo?

If you want to get the outstanding residual value in invoice currency in Odoo then follow the following code in your .py file. # -*- coding: utf-8 -*- import json from lxml import etree from datetime import datetime from dateutil.relativedelta imp

Understanding Partial View from Beginning in MVC

Partial View in MVC is used when we want to use section for the master or the main page again and again.   It is just like a user control that is used to display or get data in the view that we want.   So as a beginner, you first need t

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: