Accounting

Accounting, as an information system is the process of identifying, measuring and communicating the economic information of an organization to its users who need the information for decision making.

It identifies transactions and events of a specific entity. A transaction is an exchange in which each participant receives or sacrifices value (e.g. purchase of raw material). An event (whether internal or external) is a happening of consequence to an entity (e.g. use of raw material for production). An entity means an economic unit that performs economic activities.

In all activities and in all organizations which require money and other economic resources, accounting is required to account for these resources.

In other words, wherever money is involved, accounting is required to account for it. Accounting is often called the language of business.

The basic function of any language is to serve as a means of communication.

American Institute of Certified Public Accountants (AICPA) which defines accounting as “the art of recording, classifying and summarizing in a significant manner and in terms of money, transactions and events, which are, in part at least, of a financial character and interpreting the results thereof”

Getting Started with Ionic Framework in Ubuntu 14.04

What is Ionic Framework ?

Ionic is a powerful HTML5 native app development framework that helps you build native-feeling mobile apps all with web technologies like HTML, CSS, and Javascript.

Installing Ionic Framework

Step 1: Installing NodeJS

Step 2: Installing Ionic Framework

sudo npm install -g cordova ionic

Step 3: Once the above step is completed your Ionic is Successfully Installed. Now lets start with a Blank Ionic Project

ionic start myApp blank

Step 4: Go Inside the Directory myApp.

cd myApp

Step 5: If you are building for Android

sudo ionic platform add android
sudo ionic build android
sudo ionic emulate android

Troubleshooting

Problem

[Error: ANDROID_HOME is not set and “android” command not in your PATH. You must fulfill at least one of these conditions.]

Solution

This error was caused because Android SDK was not installed on the Ubuntu Desktop

Step 1: Download SDK from below link

You can download and Install the SDK from below link

https://developer.android.com/sdk/index.html#Other

You will be able to download the Ubuntu Linux Package

Step 2: Extract the SDK and give its path

 

export ANDROID_HOME=~/android-sdk-linux
export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH

Step 3: Make Sure Java is Installed in your Ubuntu Desktop

sudo apt-get install openjdk-7-jre

 

Sources:

http://blog.ionic.io/where-does-the-ionic-framework-fit-in/

http://ionicframework.com/getting-started/

https://developer.android.com/sdk/installing/index.html?pkg=tools

 

How to Install NodeJS in Ubuntu 14.04

What is NodeJS ?

Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Good Thing about NodeJS

Node.js contains a built-in library to allow applications to act as a Web server without software such as Apache HTTP Server or IIS.

The biggest difference between PHP and NodeJS is

PHP is a Blocking Language

NodeJS is a Non Blocking Language

Installing NodeJS in Ubuntu 14.04

The best way to Install Latest version of NodeJS is via its repository hosted in the GitHub.

Step 1: Download the Latest Source Code of NodeJS

curl -sL https://deb.nodesource.com/setup | sudo bash -

Step 2: Now Install NodeJS via Terminal

sudo apt-get install nodejs

 

How to connect to MySQL using Ubuntu Command Line

mysql -u USERNAME -pPASSWORD -h HOSTNAMEORIP DATABASENAME 

To export

If it’s an entire DB, then:

$ mysqldump -u [uname] -p[pass] db_name > db_backup.sql

If it’s all DBs, then:

$ mysqldump -u [uname] -p[pass] –all-databases > all_db_backup.sql

If it’s specific tables within a DB, then:

$ mysqldump -u [uname] -p[pass] db_name table1 table2 > table_backup.sql

You can even go as far as auto-compressing the output using gzip (if your DB is very big):

$ mysqldump -u [uname] -p[pass] db_name | gzip > db_backup.sql.gz

If you want to do this remotely and you have the access to the server in question, then the following would work (presuming the MySQL server is on port 3306):

$ mysqldump -P 3306 -h [ip_address] -u [uname] -p[pass] db_name > db_backup.sql

To import

Type the following command to import sql data file:

$ mysql -u username -p -h localhost DATA-BASE-NAME < data.sql

In this example, import ‘data.sql’ file into ‘blog’ database using Sathish as username:

$ mysql -u sat -p -h localhost blog < data.sql

If you have a dedicated database server, replace localhost hostname with with actual server name or IP address as follows:

$ mysql -u username -p -h 202.54.1.10 databasename < data.sql

OR use hostname such as mysql.cyberciti.biz

$ mysql -u username -p -h mysql.cyberciti.biz database-name < data.sql

If you do not know the database name or database name is included in sql dump you can try out something as follows:

$ mysql -u username -p -h 202.54.1.10 < data.sql

How to Install FileZilla in Ubuntu 14.04

FileZilla is a most widely used Software to transfer files between your computer and the Server.

Below are the steps involved in Installing FileZilla on your Ubuntu Desktop.

Step 1: Open Ubuntu Software Center .

ubuntu software center

Step 2: Search for FileZilla

Step 3: Click on Install Button

Step 4: Validate you are an Admin by giving your Password

FileZilla has been successfully installed on your Desktop.

 

How to Install Rabbit SVN in Ubuntu 14.04

If you are looking for an alternative of TortoiseSVN in Ubuntu , Then Rabbit SVN may be your choice

Step 1: Open your Terminal

Step 2: Run the following commands one by one

sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus3

Step 3: Restart your desktop

Bingo! You have successfully installed Rabbit SVN Enjoy.

Snipping tool alternative for Ubuntu

Looking for an Alternative of Snipping Tool in Ubuntu. Then shutter may be your choice .

You can install the shutter using following steps

Step 1: Open the terminal using Ctrl+T

Step 2: Then run the following command in your terminal and follow the steps

sudo apt-get install shutter

Congratulations Shutter! Has been successfully installed on your Ubuntu Desktop

Thanks!

How to Install GIMP on Ubuntu

If you are looking for an Open Source Alternative of Photoshop, Then it may be you are looking for GIMP.

Step 1: Open Ubuntu Software Center(Remember you should have the latest version of the Ubuntu)

Step 2: Search for Gimp and install it .

Or

Step 1: Run following command

sudo apt-get install gimp

Once you have done this . Congratulations You have successfully installed GIMP(The free open source alternative for Photoshop).

Thanks!

How to Set Up Google Analytics in Your Magento Website

Google Analytics is a free Google service which allows the web site administrators to monitor their web sites’ traffic and conversion ratio. Magento supports two types of tracking:

  • Page View Tracking – Lists the origin from which your web store visitors linked to your store.
  • E-commerce Tracking – Lists the customers that make purchases and what they buy.

Step 1: Sign Up for a Google Analytics Account 

First you need to sign up at http://www.google.com/analytics/sign_up.html. You will receive a Google Analytics account number. Write it down since you will need it for the Magento configuration.

Step 2: Login to your Magento Admin Panel

Now, you need to configure the Google Analytics tracking in your Magento store. Open the your Admin area and navigate to System -> Configuration -> Sales -> Google API and expand the Google Analytics section.

Step 3: Configure Google API

Pick the Yes option from the Enable drop-down menu. Enter the Google Analytics account number in the Account number field and click on the Save Config button. That’s it, the Google Analytics code is added to your site.