Sliding and Absolute Expiration
The performance of an application can be increased by reducing the round trips made by server to database. This performance enhancement can be achieved by using asp.net cache. For using asp.net cache, cache...
I'm working on an App which recognizes a song and draws similar song recommendations from Echo Nest. I want to know if Google Song Recognition is any good and how easy/hard it is to implement.
Hye. I am Nabilah and below is my Java code at Jframe in netbeans. It is code about attach file or imageto display to Jframe. Here I hope someone can help me
1. how to resize image (stadardize the size I upload) that already attached and...
To generate an excel file in core php we can use PHPExcel library.
download library from the following link here - Download PHPExcel library
Lets cut the chase and see how can we do it :
First of all extract the .zip fo...
Vuforia is basically used for image recognization or object recognization, you can scan from local images or from cloud database.
In this tutorial, we will learn how to use vuforia service to recognize images from cloud database.
1. First o...
This is our last blog on shopify where we will show listing of orders history of particular customer.
With this api you can track all orders in your webview by passing only order number.
1. Fetch orders in your main activity like this :
...
In our previous tutorial we learn about checkout and shipping address process, now we ll learn about payment process. Basically Shopify provides paypal, credit card shopify payments, web checkout etc you can check all the payments options on shop...
Before proceeding cart checkout user have to enter shipping address and shipping address contains shipping rate and tax rates that you can set from your shopify admin panel.
here are the procedure :
1. Layout for shipping address file :
...
I need assistance in measuring the circumferene of a human head. And also the diagonal distance between two points depicted by the beads on the head.I just want a starting point to build an application on an ...
Hey Guys! I made the twitter account in 2010 while I graduated from college. Back then, Twitter wasn’t that cool, neither hyped nor important so I stuck to FB and Orkut. But now, I’m in an immediate need to get my Twitter channe...
In our previous blog we read about categories and their products now we ll look how to add each product into cart for checkout.
Each product has a unique id and product varients that we ll add into cart.
This is the basic method we uses to ...
We know that how to fetch categories from shopify store there we get each category id that we ll used further to get products.
1. Main activity class to get product list :
public class ProductsListActivity extends AppCompatActivity implem...
Shopify sdk provides interface to get the saved categories of store on shopify and you can get that in your android app. you can show lots of information in list view like image of product, name, date, price etc.
1. Activity class to show cate...
Hello Friends,
I have a gaming website in which I am running Google AdSense advertisements, now I want to update the advertisements on my gaming page to show new one. So I want to know how to refresh Google AdSense after some time to...
Whether your business is going well or in troubled waters, you should always be considering ways to cut unnecessary expenses. This doesn’t always have to involve compromising the quality of your product or service. Here are fi...
I am very new in socket programming. I installed windows server 2008 and DNS server on VMware. Now I want to change DNS server settings via client with PowerShell. What should I do?
In this post, we will understand the architecture of Angular 2 framework.
These are the modules that Angular 2 architecture contains:
Module
Component
Template
Metadata
Data Binding
Service
Directive
Dependency ...
Theming allows you to change color of complete application from one place. In Angular Material , themes can be configured using $mdThemingProvider in application configuration.
Important terms used in Theming
...
This informative article is describing the process to migrate Thunderbird to Microsoft Outlook 2016, 2013, 2010, 2007. After read the article users can migrate Thunderbird to Outlook 2016 without having difficulties.
In...
Hi Android Developers,
I am a Android Developer , i was trying to develop Turning Page Effect for sliding my views for few days but not able to do it , can any one help me out in it .
for your reference here ...
Authentication and session are two different things. Authentication is a prove of genuineness on other hand whenever new user access a website a new session starts. The way they differ in their definition the same way they differ in their ti...
Singleton pattern is basically used to maintain only a single object of a class in the application. This uses private constructor and static method to return class instance like this :
public class SingleTon {
private static Singl...
We know that factory pattern provides single level abstraction and used to create object easily but in a case of more security, we can use one more level of abstraction by using the abstract factory pattern. we can say that this provides factory ...
These are the steps you can follow to create simple products in magento with custom options them
1. Login to Admin menu, go to Catalog -> Manage Products.
2 In the upper-right corner of the Manage Products page,...
Jagged array is an array of array it means jagged array is a collection of homogeneous arrays. An arrays inside the jagged array are of different length. As the jagged array contains the arrays therefore its collection of homogeneous reference ty...
Can anybody explain to me if libgdx is a worthy option to get into game development? I just came across it in my research for taking up Game Development as my career path but am confused like what are its advantages and limitations?
Hello readers, Today in my blog I have tried to create sidebar-menu using JQuery Plugin.
As I am a beginner in this technology, while working over the dashborad admin template I faced various complications so to resolve them I came a...
Factory pattern is one of the most used design patterns in java with the help of this pattern you can create object easily by using this concept of oops.
Example of Factory pattern :
1. Create an interface
2. Create class that 'll ov...
We have different types of data structures like array, linked list, tree etc but which one is better so this is basic question that comes in mind every time when we have large data set.
In this post we can find out the best data structure type...
In magento if we need to get the custom options and their sub options of any product we need to write a query and from that result we can extract the options.
Lets see how can we do it:
Firstly, load the product from the...
In this blog i am explaining how to create a overlay effect in image with the help of css3 . Overlay effect on image is an awesome approach to include some decent interactivity to your website.
In image overlay effect when we take our cu...
Hello I am in need of help in reading the contents of this .csv file into a vector array of objects. What i mean is how do I read each individual field example:
(GIFT-01 Fresch Foundation (703) 555-0054 Lopez T-Shirts Clothing 25)
...
Hello everyone,
Please help me regarding the use of slow queries in MySQL.
I want to know how can I find out slow queries in MySQL and What is optimal query time to query a single table of 3 Million records on Indexed column??
Thank you
If you want to make your text superscript text(raises the text) or subscript text(lowers the text), css3 property can be used.
CSS3 provides vertical-align property which can be used to make superscript or subscript effects in your HTML text of ...
In Angular Material, we use <md-autocomplete> for auto complete functionality. <md-autocomplete> is a UI component with dropdown to shown all possible matches to custom query. It acts like a real time suggestion box. When ...
Generics in C#
Generics in C# allows a programmer to generate a class or method which can work with multiple datatypes.
The specification of datatype of the elements used in class or methods is delayed by using Generics until these ...
Heading off to Business School to pursue an MBA, or starting a new company is obviously an exciting time in your life.
However (there is always one of those) it means that there are sacrifices to be made. If you’r...
If we are required to import an xml file through core php,
lets how can we do it:
First of all create a form of enctype as "multipart/form-data" as we have created below in our index.html
<html...
Hello Reader,
In this blog I am going to tell you how to create Pricing Table using CSS3. It includes features like : transforms, gradient, shadow and nth-child.
Go to the link below and hover your mouse over the price...
Friend Assembly in C#
Access modifiers such as internal and private when used with types or type members defined in files in an assembly are accessed only in the files defined within same assembly.
An assembly can only access pu...
Viewport meta tag is the primary idea of Responsive Web Design. The viewport differs from device to device. It will be smaller on a mobile when contrasted with PC screen.
To set the viewport, HTML5 presented a technique <meta> tag,...
Exception handling in SQL
Whenever an exception occurs our code gets disrupted. Exception handling is a way to handle these disruptions, Like we may log when an exception occurs or we may raise error when any exception occurs. We can use...
Append and Remove Method:
We can use append method to add a div using jQuery and using remove method we can easily delete added div.
Append Syntax:
$(selector).append(content,function(index,html))
Remove Syntax:
$(selector).rem...
addAttributeToSelect() :
addAttributeToSelect() method is used to select the attributes that we want to retrieve from the database. If we want to load all attributes then we will use addAttributeToSelect('*').
Example:...
In my previous organization, I was partly involved with project management. During my short tenure of six months, I immediately noticed that a large number of projects fail? Help me with the possible reasons?
As I am a beginner in programming domain , I have developed an application in dotnet. The application is implemented in Dotnet framework 4/ MVC4.
This is my first ever hosting experience so I'm confused because I don’t know much abou...
Problem facing in customization of array adapter
I am want to
1) fetch data from a SQL server 2008
2) display fetched data into a list view.
After successfully I tried to display data with a listview, I fetched two column data that&...
TRUNCATE:
Truncate command will remove all the rows from a table, there will be no WHERE clause in TRUNCATE command and there will be no data in the table after we run the truncate command.
...
Concurrency Control
when multiple users accessing a same database at the same time, If any change made by any one of the user do not adversely affect work of the other users.
Locking technique in concurrency control means use a lock variable wi...
<md-list> is the most important directive in angular material to represent the list of items. Multiple items 1 to n can be displayed by using this directive. User don't need to write frontend or html multiple times to display ...