
Search In
Array Conditions and selecting specific fields to find or retrieve from database through Active records
Array Conditions
To retrieve some specific data from the database we use the where method which gets the records in the form of arrays
STEP 1
Choose File > New. Once the new document window appears name the document then add width and height.
STEP 2
Create a triangle having width 2 in and height 3. Then fill it orange color ( R= 255, G= 163, B= 41 ). Make the corners r
When we define a function only gives it a name, specifies the parameters that are to be included in the function and structures the blocks of code and refer to that value .In calling function you have to define specifies parameters.For example you ca
In the below example I have created a animation ImageView. When user click the image , then image will appear on full screen, after this when user tab again on image it will be Zoomout like a facebook image tab.
Here In activity_main.xml layou
If you want to capture screen of an iOS device as you take the same from iPhone by pressing 'Power' button an 'Home' button then here is the code. It will take screen shot even if there is any transformation or transition running.
Fi
Here we will learn how to create a server instance in node.js. First of all we will have to check if the node.js is properly setup in our local machine. Let us create a file with name demo.js and write the below code in the file:
console.log(“Testi
In this tutorial we will come to know about the difference between the working of synchronous and asynchronous programming. To explain the difference let us take two examples, one for asynchronous and another for synchronous programming.
First examp
Cross-Site Request Forgery (CSRF) mainly occurs when user logs in vulnerable site and then user visit the malicious site in the another tab of browser. Malicious site may contain some code which can call actions/methods from vulnerable site.
For exam
Hey Readers!
This blog post is going to solve the problem you must have faced sometime while putting a background image. There are situations when we want the background image to fill the entire div (instead of the viewport) without distorting. That
Hello readers, today I guide you to "Remove Apache Version and OS Identity from Error Pages".
At the time you install Apache on your server, it displays the version of your web server installed on your server along with the OS name
