How to install Viber for Windows

The long awaited Viber for Windows has finally been officially released today. You can download and install Viber on your desktop computer right now.

Viber for Windows lets you send free messages and make free calls to other Viber users, on any device and network, in any country!

feature

Viber syncs your contacts, messages and call history with your mobile device, so you can start the conversation on the Viber mobile application and continue from the comfort of your PC.  Best-quality HD voice calls

The main features are:

  • Video calls
  • Free text and photo messages
  • Group conversations
  • No registration, passwords or invitations required
  • Contacts and messages sync between your mobile and Windows
  • Transfer ongoing calls between device

Installation procedures

1. First update your Viber on your smar phone. There is just a new realase

2. Download the Viber installation from here

3. Run the installation and follow the steps.

step1

step2

4. After it is installed, the application will automatically run (if it doesn’t, you should run it) and it will ask you to enter the mobile phone number for your Viber account. (Dont use the country code, you will select the country from the list, and just enter your phone number as 06112313), You need to enter the exact number you use on your smart phone with Viber.

step4

5. After clicking on the continue button, you will receive a message with a four-digit activation code on your Viber app on your smart phone  Enter the code into the required field in order to activate Viber for Windows.

viber_android

step5

6. That’s it! You should now see the main Viber window in front of you, like in the image below, having all of your contacts on the left side. Though, be patient when you run it the first time, it needs a couple of minutes to retrieve all contacts and their information from your Viber account.

step6

That is it. Each message that you send from your Viber app on your smart phone will be shown here and vise versa.

Enjoy with the new Viber on your Windows platform. I hope that they will soon allow the access to he Viber API so we can leverage sending messages from external application.

Viber just keep on with the good work.

Godaddy

Godaddy promo code and Godaddy coupon list for 2013

Active GoDaddy Coupons and Promo Codes can be hard to find. Almost every coupon code on other sites is inactive or expired.

The following list of GoDaddy Promotional Codes is verified and updated daily.
If you find a coupon that isn’t on the list, add it to the quick summary and I’ll add it to the list (and remove it from the quick summary)
GoDaddy Coupons for $7.99 Domains

GoDaddy Coupons for $7.49 Domains
cjc695dom
cjc749chp
cjc749b010
cjc749b007
cjctld749 - $7.49 .NET Domains
FED3
IAPtdom1
promo749
goox025afc
NEW3 (renewals too… just used it)
MTECH412
poster412
parked749
yup3
gppt02c749
FED749
GoDaddy Promo Codes for % of savings
cjc25NEW - 25% off (new customers)
cjccoupon - 10% off Coupon
cjcsave10 - 10% off Any Order
cjcchp10 - 10% off Any Order
cjcsah10 - 10% Off Any Purchase
cjcdoe10 - 10% off Any Purchase
FED1 - 10% off Any Purchase
NEW1 - 10% off whatever
promo10 - 10% off
gdbb776 - 10% off code
command10 - 10% off any order
QUEEN1 - 10% off Any Order
MIN1 - 10% off Any Order
SPN1 - 10% off Any Order
gdbb363 - 10% off Any Order
gdbba1550 - 15% off $50+ order
cjcdeal - 15% off $75 Purchase
cjcchp75 - 15% off $75 Purchase
cjcsah75 - 15% Off $75 Purchase
gdbb1729 - 15% off $50
downforce - 15% off Any Order
gdbba1550 - 15% off $50 Purchase
gdbb687 - 20% Off $65+ Purchase
BB462075 - 20% off $75+ Purchase
gdbba72965 - 20% Off $65 Purchase
fbgdhome20 - 20% Off $75 Purchase
gdbb80520 - 20% off $75
fbfhome20 - 20% off $75
gdbb45 - 20% off $40 Purchase
gdbbt1463 - 20% off $60 Purchase
bb5020d30 - 20% off $40 Purchase
gdbba1005 - 20% off Any Purchase
gdbbc805 - 20% off Any Order
gdbb686 - 20% off $65 Purchase
gdbbc1419 - 20% off $60 Purchase
gd4920d60 - 20% off Any Purchase
fbhome25 - 25% off $75 Purchase
gdbba46 - 25% off $75
gdbb1901 - 25% off $75 Purchase
fbfhome25 - 25% off $75 Purchase
gdz713c - 30% off .com Renewals
gdz739 - 30% off Any Order
gdz637cd - 30% off Any Order
gdz737a - 31% off Any Order
FUN3 - 35% off .com Domains
wallet412 - 35% off Domain Renewals and Purchases
cjchost711 - 37% off Deluxe Web Hosting (12 months or more)
fb30tld - 30% off Regular Priced Domains
gdbbc15 - 20% off $60+
gdx125z - 27% off entire order
BBCNAB - 20% off $65+
gdbbe994 - 30% off
gdx326bq - 32% off
FED15 - 15% off $75
AUCTION12 - 50% off annual membership
gdx325bq - 32% off any order
gdx426bp - 30% off any order
GDBB1995 - 25% off $100
gdc130cc - 20% off $40
gdc130bc - 25% off $75
gdc130ac - 30% off $100

 

Coupons for $ off
cjctenoff - $10 off $50
cjcdollar - $1 off Coupon
cjconeoff - $1 off Any Order
cjcdeal74 - $1 off Any Order
cjcsave - $5 off $30 Purchase
cjcchp30 - $5 off $30 Purchase
FED2 - $5 off $30 Purchase
hitch2 - $5 off $30 Purchase
spn2 - $5 off $30 Purchase
cjcsah30 - $5 off $30 Purchase
cjcdoe30 - $5 off $30 Purchase
NEW2- $5 off a $30 purchase
cjcchp50 - $10 off $50 Purchase
cjcsah50 - $10 off $50 Purchase
cjcdoe50 - $10 off $50 Purchase
cjcdeal100 - $20 off $100 Purchase
FEDOFF - $10 off $40 Purchase
FUNSSL - $12.99 SSL Certificates

Convert unix timestamp to PHP

The problem:
You are getting a unix timestamp, and you want to format it with PHP, the following is a sample unix timestamp:

If you were to use the date() function on this you would get:

which is incorrect. The issue is that the unix timestamp works with miliseconds, while PHP can only handle seconds. In order to correctly format the timestamp, you should divide it by 1000 such as:


and Voila :D you have the correct time.

jQuery: how to add li in an existing ul ?

Scenario:

In the following code an additional <li> should be added with jQuery:

This can be archived by using append()

 

 

 

How to find number of days between two dates using php

The following code returns the difference between two dates in PHP

 

 

Create MySQL function example

Scenario:

This is a simple tutorial on how to create a MySQL function.
For example, I need a MySQL function that will take in 2 integer input parameters and return a tinyint value to user.

Solution:

Here is the sample function code:

Output:

Check if a line is valid or not in Java

I had the following code:

So basically if there is a line of code outside a comment it is valid, otherwise not.

Note:
For */ I assume that the /* has been opened some lines before.

The following snippet will get only valid lines of code: