Friday, March 7, 2014

Install silverlight in linux


This post taken from webupd8.org


I've tested Pipelight with Netflix, under Chrome (Ubuntu 13.10) and I can confirm it works (and the playback was smooth!), as you can see in the screenshots in this article. Update: I've also tested it with Firefox and it works, but sometimes the browser freezes, something which doesn't happen with Chrome so I recommend using Chrome / Chromium with Pipelight.


Install Pipelight in Ubuntu


Microsoft Silverlight Google Chrome Linux

Before proceeding, it's strongly recommended to close your web browser. Without doing this, the plugin may fail to install or crash the browser (you can copy the instructions below to a text editor).

1. If you've installed the old Pipelight version, remove it before proceeding:
sudo apt-get remove pipelight

To add the Pipelight stable and Compholio PPAs and install Pipelight in Ubuntu, use the following commands:
sudo apt-add-repository ppa:pipelight/stable
sudo apt-get update
sudo apt-get install pipelight-multi

Then, you can install the Silverlight plugin using the following command:
- system-wide:
sudo pipelight-plugin --enable silverlight
- for your user only:
pipelight-plugin --enable silverlight

By default, this will install Silverlight 5.1, but you can install a different version, for instane 5.0, by using this command instead (don't use "sudo" if you don't want to install it system-wide):
sudo pipelight-plugin --disable silverlight --enable silverlight5.0

Once installed, start your browser and try THIS test Silverlight applet. If it doesn't work, check if Silverlight is available in your browser plugin list (e.g.: you can type "about:plugins" in the address bar).

Thursday, July 18, 2013

How to fix itunes 11 error sync apps


To fix the problem:

1- open itunes
2- go to top left menu and select Apps (this apps stored in iTunes )
3- select all and delete them
4- plug your iPhone
5- go to top menu File > Devices > Transfer purchases from "YOUR IPHONE NAME"

after that iTunes give error message with list of apps.
6- delete the apps in the list from iPhone.

7- again, do the step 5

DONE.

Sunday, February 3, 2013

how to print css background-color

If you want to print invoice or employee details or anything from html page with background color
just add this to the end of css element :

-webkit-print-color-adjust: exact;
 have fun :)

source link

Monday, April 30, 2012

Change CSC for Galaxy Note

When you return from custom roms and you want to flush stock rom something like this
N7000JPLA1_N7000OJPLA1_N7000XXLA4_HOME.tar.md5
be sure to know what CSC on this stock rom for example the CSC of stock rom above is XSG
and in my phone the CSC is KOR, after flash this rom when i want to check latest upgrade by  Kies says "Your device does not support software upgrading via Kies"  after searching on google i found the solution by these steps:

1- first plug your phone to PC

2- open Samsung kies

3- in "Basic Information" tap / "Firmware information" check last 3 characters in Current firmware version something like this (KOR)
now you know that the current CSC is KOR and you want to change it to XSG.


4- on you phone dial  *#272*IMEI# (you can find IMEI in setting/About phone/status)

5- finally you well get list of CSC`s scroll and find XSG and select.

Good luck

Samsung Galaxy Note CSC List

To check your device firmware just dial this number code *#1234# or go to your phone's settings > about firmware info.

You must have Samsung Kies for Galaxy Note installed on your PC so that you can upgrade to any newest firmware updates available.  


Firmware updates rolled out in the month of November 2011
Europe 
Austria ATO - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Baltic SEB - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread) 
Bulgaria (MTL) MTL - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Bulgaria (GBL) MTL - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Czech Republic XEZ - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Cyprus (Cytamobile Vodafone) CY0 - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Czech Republic (Vodafone) VDC - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Croatia (VIPNET) VIP - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread) 
France (SFR) SFR - N7000XXKKA / N7000SFRKK1 (Android 2.3.6 Gingerbread)
France (Orange) FTM - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
France (La Poste Mobile)  XEF - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Germany DBT - N7000XXKK9 / N7000OXAKK9 (Android 2.3.6 Gingerbread)
Greece  EUR - N7000XXKK9 / N7000OXAKK9 (Android 2.3.6 Gingerbread)
Greece  (Vodafone) VGR - N7000XXKK9 / N7000OXAKK5 (Android 2.3.6 Gingerbread)
Hungary XEH - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Hungary (VDH) VDH - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Hungary (Telenor) PAN - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Italy ITV - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Macedonia VIM - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Netherlands XEN - N7000XXKKA / N7000XENKK1 (Android 2.3.6 Gingerbread)
Nordic countries NEE - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Poland XEO -  N7000XXKKA / N7000OXXKK6 (Android 2.3.6 Gingerbread)
Poland (PLUS) PLS - N7000XXKKA / N7000PLSKK1 (Android 2.3.6 Gingerbread)
Portugal (TPH) TPH - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Romania (Vodafone) CNX - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Romania (Cosmote) COA - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Serbia TOP - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Serbia (Telenor) MSR - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Slovakia ORS - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Slovakia XSK - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Slovenia (Si.mobil) SIM - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)
Switzerland AUT - N7000XXKKA / N7000OXXKK5 (Android 2.3.6 Gingerbread)  
Turkey TUR - N7000XXKK9 / N7000OJVKK2 (Android 2.3.6 Gingerbread) 
United Kingdom XEU - N7000XXKKA / N7000XEUKK3 (Android 2.3.6 Gingerbread)
United Kingdom (Carphone Warehouse) CPW - N7000XXKKA / N7000CPWKK3 (Android 2.3.6 Gingerbread)

Africa
South Africa XFA - N7000XXKK9 / N7000OJVKK2 (Android 2.3.6 Gingerbread)
South Africa XFC - N7000XXKK9 / N7000OJVKK2 (Android 2.3.6 Gingerbread)
South Africa XFM - N7000XXKK9 / N7000OJVKK2 (Android 2.3.6 Gingerbread)
South Africa XFV - N7000XXKK9 / N7000OJVKK2 (Android 2.3.6 Gingerbread)
South Africa XFE - N7000XXKK9 / N7000OJVKK2 (Android 2.3.6 Gingerbread)

Middle East
United Arab Emirates XSG - N7000JPKK2 / N7000OJPKK2 (Android 2.3.6 Gingerbread)

Asia 
Hong Kong TGY - N7000ZSKK1/N7000OZSKK1 (Android 2.3.6 Gingerbread)
Indonesia XSE - N7000DXKK1 / N7000OLBKJ6 (Android 2.3.5 Gingerbread)
Malaysia XME - N7000DXKK1 / N7000OLBKJ6 (Android 2.3.5 Gingerbread)
Thailand THL - N7000DXKK1 / N7000OLBKJ6 (Android 2.3.5 Gingerbread)
Vietnam XEV - N7000DXKK1 / N7000OLBKJ6 (Android 2.3.5 Gingerbread)

Firmware updates rolled out in the month of December 2011

Asia
India INU- N7000XXKL3 / N7000ODDKL1 (Android 2.3.6 Gingerbread)
Indonesia XSE - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Singapore XSP - N7000DXKL1 / N7000OLBKJ6 (Android 2.3.5 Gingerbread)
Singapore (SingTel) SIN - N7000DXKL1 / N7000OLBKJ6 (Android 2.3.5 Gingerbread)
Singapore(SingTel) SIN - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Singapore XSP - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Thailand THL - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread) 
Malaysia XME - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines XTC - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines (Globe) GLB  - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines (Sun Cellular) XTE - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines (Smart) SMA - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Vietnam XEV - N7000DXKL3 / N7000OLBKL2 (Android 2.3.6 Gingerbread)

Europe
Germany DBT - N7000XXKL7 / N7000OXAKL7 (Android 2.3.6 Gingerbread)
Germany DBT - N7000XXLA4/N7000OXALA4 (Android 2.3.6 Gingerbread)
United Kingdom - CPW (CarPhone Warehouse) N7000XXKKA / N7000CPWKK3 (Android 2.3.6 Gingerbread)

Firmware updates rolled out in the month of January 2012
Europe
Austria (3 Hutchison)  DRE - N7000XXLA4/N7000DREKL1/N7000NELA1 (Android 2.3.6 Gingerbread)
Russia SERN7000XXLA6 / N7000OXELA1/N7000XXLA4 (Android 2.3.6 Gingerbread)

Asia
Brunei BMobile ??? -N7000XXKLA6/N7000OXXLA4 (Android 2.3.6 Gingerbread) 
Indonesia XSE - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Malaysia XME - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Singapore (SingTel)- N7000DXLA1 / N7000OLBKL2(Android 2.3.6 Gingerbread)
Singapore XSP - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Thailand THL - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines XTC  - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines (Globe) GLB - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines (Sun Cellular) XTE - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Philippines (Smart) SMA - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)
Vietnam XEV - N7000DXLA1 / N7000OLBKL2 (Android 2.3.6 Gingerbread)

Middle East
United Arab Emirates XSG - N7000JPLA1 / N7000OJPLA1 (Android 2.3.6 Gingerbread)

February 2012 firmware updates for Galaxy Note
Europe
Austria ATO - N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Baltic SEB - N7000XXLA6/N7000OXXLA1/N7000XXLA4(Android 2.3.6 Gingerbread) 
Belgium LUX - N7000XXLA6/N7000LUXKL1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Bulgaria MTL - N7000XXLA6/N7000LUXKL1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Bulgaria GBL - N7000XXLA6/N7000LUXKL1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Croatia (Vipnet) VIP – N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Czech Republic XEZ - N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Czech Republic (Vodafone) VDC - N7000XXLA6/N7000OXXLA1/N7000XXLA4(Android 2.3.6 Gingerbread)
Germany DBT - N7000XXLB1/N7000OXALB1/N7000XXLB1 (Android 2.3.6 Gingerbread)
Germany (T-Mobile) - N7000XXKKA/N7000DTMKK3/N7000BOKK2 (Android 2.3.6 Gingerbread)
Greece EUR - N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Greece (Vodafone)VGR – N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Hungary XEH -N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Hungary VDH -N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Hungary (Telenor) PAN -N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Italy ITV - N7000XILB1/N7000ITVKL1/N7000XXLB1 (Android 2.3.6 Gingerbread)
Romania (Cosmote) COA – N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Romania (Vodafone) CNX – N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Russia SER – N7000XXLA6 / N7000OXELA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Serbia (Telenor) MSR – N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Serbia TOP - N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Slovakia XSK – N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Spain (Moviestar) XEC – N7000XXLA6/N7000XECLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Switzerland AUT - N7000XXLA6/N7000OXXLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Turkey TUR – N7000XXLA4/N7000OJVKL1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Macedonia XEO – N7000XXLB1/N7000OXXLB1/N7000XXLB1 (Android 2.3.6 Gingerbread)

Netherlands XEN - N7000XXLA6/N7000XENLA1/N7000XXLA4/N7000XXLA6 (Android 2.3.6 Gingerbread)
Poland XEO - N7000XXLB1/N7000OXXLB1/N7000XXLB1 (Android 2.3.6 Gingerbread) 
United Kingdom XEU – N7000XXLA6/N7000XEULA1/N7000XXLA4 (Android 2.3.6 Gingerbread)

Latin America
Argentina (Claro) CTI - N7000UBKK8/N7000UVCKK1/N7000UBKK3 (Android 2.3.6 Gingerbread)
Argentina (Personal) PSN - N7000UBKK8/N7000UVCKK1/N7000UBKK3 (Android 2.3.6 Gingerbread)
Brazil ZTO - N7000UBKK3/N7000ZTOKK1/N7000UBKK1 (Android 2.3.6 Gingerbread)
Brazil (VIVO) ZVV - N7000UBKK8/N7000PSNKK1/N7000UBKK3 (Android 2.3.6 Gingerbread)

Asia
India INU - N7000DDLA5/N7000ODDLA1/N7000DDLA2 (Android 2.3.6 Gingerbread) 
India INU - N7000DDLB2/N7000ODDLA1/N7000DDLB1 (Android 2.3.6 Gingerbread)
Hong Kong TGY – N7000ZSLA2/N7000OZSLA2/N7000XXLA4 (Android 2.3.6 Gingerbread)


March 2012 firmware updates for Galaxy Note
Europe
Germany DBT - N7000XXLC1/N7000OXALC1/N7000XXLB2 (Android 2.3.6 Gingerbread)
Macedonia VIM - N7000XXLC1/N7000OXXLB3/N7000XXLB2 (Android 2.3.6 Gingerbread)
Nordic countries N7000XXLC1/N7000OXXLB3/N7000XXLB2 (Android 2.3.6 Gingerbread)
United Kingdom (Carphone Warehouse) CPW - N7000XXLC1/N7000CPWLB2/N7000XXLB2 (Android 2.3.6 Gingerbread)
Portugal (TPH) TPH - N7000XXLC1/N7000OXXLB3/N7000XXLB2 (Android 2.3.6 Gingerbread)  
Slovenia (Si.mobil) SIM - N7000XXLC1/N7000OXXLB3/N7000XXLB2 (Android 2.3.6 Gingerbread)
France XEF - N7000XXLC1/N7000OXXLB3/N7000XXLB2 (Android 2.3.6 Gingerbread)
Poland (Plus) PLS - N7000XXLC1/N7000PLSLB1/N7000XXLB2 (Android 2.3.6 Gingerbread)
France (SFR mobile) SFR - N7000XXLC1/N7000SFRLC2/N7000BUKK1 (Android 2.3.6 Gingerbread)

Middle East
Kingdom of Saudi Arabia KSA - N7000JPLA1/N7000OJPLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)
Kingdom of Saudi Arabia JED - N7000JPLA1/N7000OJPLA1/N7000XXLA4 (Android 2.3.6 Gingerbread)

Asia
Thailand THL - N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Indonesia XSE -  N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Malaysia XME - N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Singapore XSP - N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Singapore SingTel SIN - N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Philippines XTC - N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Philippines Globe - GLB - N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Philippines Smart SMA- N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)
Vietnam XEV - N7000DXLC2/N7000OLBLC2/N7000DXLC1 (Android 2.3.6 Gingerbread)

You can always check for any  latest firmware updates for your Galaxy Note in your region by installing Kies on your PC or by creating an account at the official Samsung website to get an OTA (over the air) firmware update notifications.

Source site here
http://devsrom4android.blogspot.com/2011/11/samsung-galaxy-note-n7000-firmware.html

Tuesday, February 14, 2012

to populate date to dojo in Zend

you need to convert date to ISO :

$q = Doctrine_Query::create()
                        ->from('Model_Emp e')
                        ->where('cid = ?', $input->id);

$result = $q->fetchArray();
  
$date = new Zend_Date();
$date->set($result[0]['job_date'], Zend_Date::ISO_8601);
$result[0]['job_date'] = $date->getIso();

$this->view->form->getSubForm('empform')->populate($result[0]);