27 January 2015

Parse Google News RSS image in C#

If you want to parse Google News RSS image from link, for example > http://news.google.com/news?hl=us&q=android&output=rss

The following code can be used to match all img src in the source text and to populate list with value of src attribute.

private static IEnumerable<string> GetImagesInGoogleNewsString(string htmlString)
        {
            List<string> imgSrcs = new List<string>();
            //const string pattern = Imgpattern;
            //var rgx = new Regex(pattern, RegexOptions.IgnoreCase);
            var imgSrcMatches = System.Text.RegularExpressions.Regex.Matches(htmlString, string.Format(@"<\s*img\s*src\s*=\s*{0}\s*([^{0}]+)\s*{0}", "\""),
               RegexOptions.CultureInvariant | RegexOptions.IgnoreCase | 
               RegexOptions.Multiline);

            foreach (Match match in imgSrcMatches)
                imgSrcs.Add("http:" + match.Groups[1].Value);

            return imgSrcs;
        }

16 January 2015

Android Splash Screen sizes

For drawable resolutions I found these most suitable :


Density

Resolution

Format

Color

ldpi

240x320

png

24bit

mdpi

320x480

png

24bit

hdpi

480x800

png

24bit

xdpi

720x1280

png

24bit

xxdpi

1080x1920

png

24bit

xxxdpi

?







05 January 2015

Making money with Android

Follow one developer's journey to making an income from Android apps. The goal: $1000 a month. 

23 September 2014

How To Recreate the Birthday and Anniversary reminders in the Outlook Calendar

Here is how to recreate the Birthday and Anniversary reminders in the Outlook Calendar. Put this macro code in Outlook MVA Editor (Alt-F11) and run.

Sub olRobot()
' Outlook VBA script by Sergii Vakula
' Auto generation the Birthdays and Anniversaries appointments of all Contact folders to a specific calendar
' Auto changing Contact's FileAs fields: FullName for humans, CompanyName for companies

Dim objOL As Outlook.Application
Dim objNS As Outlook.NameSpace
Dim objItems As Outlook.Items
Dim obj As Object
Set objOL = CreateObject("Outlook.Application")
Set objNS = objOL.GetNamespace("MAPI")

On Error Resume Next

' *****************************************************************************************************
' *** STAGE 1: Rebuilding Contact's Birthdays and Anniversaries to the main calendar, fixing FileAs ***
' *****************************************************************************************************

Dim Report As String
Dim mySession As Outlook.NameSpace
Dim myFolder As Outlook.Folder
Set mySession = Application.Session

' Method 1: Ask for Contact folder
'MsgBox ("Select Contact folder by next step...")
'Call ContactsFolders(Session.PickFolder, Report)

' Method 2: Use default Contact folder and all subfolders
'Call ContactsFolders(objNS.GetDefaultFolder(olFolderContacts), Report)

' Method 3: Use all Contact folders
For Each myFolder In mySession.Folders
Call ContactsFolders(myFolder, Report)
Next

' ***************************************************************************************
' *** STAGE 2: Moving Birthdays and Anniversaries appointments to a specific calendar ***
' ***************************************************************************************

Dim objCalendar As Outlook.AppointmentItem
Dim objCalendarFolder As Outlook.MAPIFolder
Dim cAppt As AppointmentItem
Dim moveCal As AppointmentItem
Dim pattern As RecurrencePattern
Set objCalendarFolder = objNS.GetDefaultFolder(olFolderCalendar)
bodyMessage = "This is autocreated appointment"

' Method 1: Ask for specific calendar folder for birthdays and anniversaries
'MsgBox ("Select Birthdays and Anniversaries Calendar folder by next step...")
'Set newCalFolder = Session.PickFolder

' Method 2: Use pre-assigned calendar folder for birthdays and anniversaries
'Set newCalFolder = GetFolderPath("display name in folder listCalendarBirthdays and Anniversaries")
Set newCalFolder = GetFolderPath("\sv@pbxsphere.comCalendarBirthdays and Anniversaries")

For i = newCalFolder.Items.Count To 1 Step -1
Set obj = newCalFolder.Items(i)
If obj.Class = olAppointment And _
obj.GetRecurrencePattern.RecurrenceType = olRecursYearly And _
obj.AllDayEvent And _
obj.Body = bodyMessage Then
Set objCalendar = obj
objCalendar.Delete
End If
Err.Clear
Next

For i = objCalendarFolder.Items.Count To 1 Step -1
Set obj = objCalendarFolder.Items(i)
If obj.Class = olAppointment And _
obj.GetRecurrencePattern.RecurrenceType = olRecursYearly And _
obj.AllDayEvent And _
(Right(obj.Subject, 11) = "'s Birthday" Or Right(obj.Subject, 14) = "'s Anniversary" Or _
Right(obj.Subject, 13) = "???? ????????" Or Right(obj.Subject, 9) = "?????????") Then

Set objCalendar = obj
Set cAppt = Application.CreateItem(olAppointmentItem)

With cAppt
.Subject = objCalendar.Subject
.Start = objCalendar.Start
.Duration = objCalendar.Duration
.AllDayEvent = True
.Body = bodyMessage
.ReminderSet = False
.BusyStatus = olFree
End With

Set pattern = cAppt.GetRecurrencePattern
pattern.RecurrenceType = olRecursYearly
cAppt.Save

objCalendar.Delete

Set moveCal = cAppt.Move(newCalFolder)
'moveCal.Categories = "moved"
moveCal.Save

End If
Err.Clear
Next

Set objOL = Nothing
Set objNS = Nothing
Set obj = Nothing
Set objContact = Nothing
Set objItems = Nothing
Set objCalendar = Nothing
Set objCalendarFolder = Nothing
Set cAppt = Nothing
Set moveCal = Nothing
Set pattern = Nothing
Set mySession = Nothing
Set myFolder = Nothing

MsgBox ("Completed!" & vbCrLf & vbCrLf & "All Contact's FileAs were fixed." & vbCrLf & "All Birthdays and Anniversaries appointments were re-created." & vbCrLf & vbCrLf & "Contact folders that been processed:" & vbCrLf & Report & vbCrLf & "Calendar for Birhdays and Anniversaries:" & vbCrLf & newCalFolder.FolderPath & vbCrLf & vbCrLf & "Have a nice day!")

End Sub

Function GetFolderPath(ByVal FolderPath As String) As Outlook.Folder
Dim oFolder As Outlook.Folder
Dim FoldersArray As Variant
Dim i As Integer
On Error GoTo GetFolderPath_Error
If Left(FolderPath, 2) = "\" Then
FolderPath = Right(FolderPath, Len(FolderPath) - 2)
End If
FoldersArray = Split(FolderPath, "")
Set oFolder = Application.Session.Folders.Item(FoldersArray(0))
If Not oFolder Is Nothing Then
For i = 1 To UBound(FoldersArray, 1)
Dim SubFolders As Outlook.Folders
Set SubFolders = oFolder.Folders
Set oFolder = SubFolders.Item(FoldersArray(i))
If oFolder Is Nothing Then
Set GetFolderPath = Nothing
End If
Next
End If
Set GetFolderPath = oFolder
Exit Function
GetFolderPath_Error:
Set GetFolderPath = Nothing
Exit Function
End Function

Private Sub ContactsFolders(CurrentFolder As Outlook.Folder, Report As String)
Dim objItems As Outlook.Items
Dim obj As Object
Dim objContact As Outlook.ContactItem
Dim strFileAs As String
Dim SubFolder As Outlook.Folder
Dim SubFolders As Outlook.Folders
Set SubFolders = CurrentFolder.Folders
If CurrentFolder.DefaultItemType = 2 Then
Report = Report & CurrentFolder.FolderPath & vbCrLf
Set objItems = CurrentFolder.Items
For Each obj In objItems
If obj.Class = olContact Then
Set objContact = obj

With objContact
.Display

If .FullName = "" Then
strFileAs = .CompanyName
Else
strFileAs = .FullName
End If

.FileAs = strFileAs

mybirthday = .Birthday
myanniversary = .Anniversary
.Birthday = Now
.Anniversary = Now
.Birthday = mybirthday
.Anniversary = myanniversary

.Save
.Close 0
End With

End If
Err.Clear
Next

End If

For Each SubFolder In SubFolders
Call ContactsFolders(SubFolder, Report)
Next

Set SubFolder = Nothing
Set SubFolders = Nothing

End Sub


07 September 2014

29 July 2014

How to disable Frame Rate Counter in Windows 8 Applications

To disable Frame Rate Counter in Windows 8 Applications there should enter next line in MainPage.xaml.cs on public MainPage() method :

public MainPage()
        {
            this.InitializeComponent();
            Application.Current.DebugSettings.EnableFrameRateCounter = false;
         }


23 July 2014

Windows Phone 8 and SQLite deploy to device error

On the Build tab, you’ll see Conditional compilation symbols under the General header, containing a default value of SILVERLIGHT;WINDOWS_PHONE on a Windows Phone app project. Change the value to SILVERLIGHT;WINDOWS_PHONE;USE_WP8_NATIVE_SQLITE and save the project file.

22 April 2014

MS Windows 8.1 : Add shortcut to This PC Explorer sidebar

I'm going to share a very small and easy trick which can be used to add any desired shortcut, file or folder in This PC Explorer sidebar in MS Windows 8.1.

Type following string in RUN (Win+R) or start menu search box and press Enter:
%AppData%\Microsoft\Windows\Network Shortcuts
It'll open "Network Shortcuts" folder.
You can also directly open the same folder by typing Network Shortcuts in Explorer addressbar and press Enter.
Now what you have to do is simply create shortcut to the desired folder and PASTE it in this "Network Shortcuts" folder. You can also paste file shortcuts or simply move the original file in this folder. 

06 April 2014

Microsoft Visual Studio development versions and target platforms

It's a little bit confusing to choose which version of Visual Studio is for desired Windows Phone or Windows Store platform. So I create this table :

Platform
Development
MS Windows Phone 7
MS Visual Studio 2010 Express for Windows Phone

MS Visual Studio 2012 Express for Windows Phone
MS Windows Phone 8
MS Visual Studio 2012 Express for Windows Phone
MS Windows Phone 8.1
MS Visual Studio 2013 Express for Windows Update 2 RC
MS Windows 8 Store Application
MS Visual Studio 2012 Express for Windows
MS Windows 8.1 Store Application
MS Visual Studio 2013 Express for Windows Update 2 RC


30 January 2014

Install Indy components into Lazarus

To have internet or server time in your application, you must install Indy components.
For a lot of users, I'm sure that the information given above won't work, or will be somewhat confusing given the differences between versions and inconsistent explanations.

The website points you to download the latest version from the snapshots page.
This wiki tells you to copy a lot of files over into directories.For me, neither worked, and ended up making a mess of my Lazarus installations.
  • Firstly, the page I would retrieve this from is here. Other sites I tried had problems with some files inside the archive.
  • When you open up the archive above, you will see there are folders: "fpc" and "lazarus".
  • You can copy the contents of "fpc" into: LAZARUS_DIR\fpc\2.6.0\source\packages\indylaz if you want to have things neat and tidy.
  • The "lazarus" folder, you copy into LAZARUS_DIR\components\indylaz
  • With both of these, make sure that there isn't a sub-directory inside the folders given. i.e. LAZARUS_DIR\components\indylaz\lazarus\
  • Go into Lazarus and go to "Package" -> "Open package file" and point it to the "indylaz.lpk" inside the LAZARUS_DIR\components\indylaz directory.
  • Once the package loads inside your project, click on the "options" button, which resembles an image of a parcel with a cog next to it.
  • Click the "Compiler Options" on the left-hand side and Click on the ".." button next to "Other unit files (-Fu) (delimiter is semicolon)". Select the "fpc" folder you created above and click OK. Lazarus will sort out the relative path for you. Don't change it.
  • Click OK and compile and then direct angry bile towards the individual who has steered you wrong with the previous, unhelpful, instructions.
  • Compile then install (will rebuild Lazarus). 
  • Currently, due to a know bug in FPC, you must compile the Indy package TWICE before installing it.

05 November 2013

Getting 'System.IO.FileNotFoundException' in Windows Phone Project with Background Agent

If you start getting 'System.IO.FileNotFoundException' in Windows Phone Project with Background Agent, than you probably missed to add Reference in main project on background agent.

28 October 2013

How to force full sync and have good old SkyDrive in MS Windows 8.1 (syncDriver)

I tried to find the way to force MS Windows 8.1 for full sync of my SkyDrive, because SkyDrive desktop version and notification tray icon is disappeared in 8.1 version of operating system.

Microsoft claims that these new SkyDrive brings smart files in a heart of a system, but smart sync is disappear. After reading many sites, forums and blogs, I finally find one small utility syncDriver which is free for personal use and does missing job perfectly.


"syncDriver is a desktop application that serves as client software for Microsoft SkyDrive cloud file storage solution. syncDriver maps a local folder of your choice to the SkyDrive root directory and keeps these two in sync. Whenever a file is modified locally on your computer, it gets uploaded to SkyDrive. If a file is uploaded or modified in SkyDrive, syncDriver notices that and downloads the file."

The sweetest feature is that program can map drive letter as virtual local drive. And there is a tray icon, too. Brilliant. I suggest this small efective tool to everyone who needs good old SkyDrive on MS Windows 8.1.

MS Windows 8 and 8.1 Speed Up Tweaks

If you want to speed up your MS Windows installation, consider these tips :

  • Turn off Real-time protection in Windows Defender in Control Panel
  • Turn off Windows Firewall in Control Panel
  • Disable System Restore in Control Panel/System/Advanced system settings/System Protection
  • Disable Windows Search service in Control Panel/Administrative Tools/Services
This is my personal tweak, but Anti-Virus and Firewall is turned on when is massive Internet activity.

21 October 2013

Privacy Statement

This application does not collect or transmit any user’s personal information, with the exception of technical information included in HTTP requests (such as your IP address). No personal information is used, stored, secured or disclosed by services this application works with. If you would like to report any violations of this policy, please contact our support.

09 September 2013

Setup Screen Saver in Ubuntu

To Setup screen saver in Ubuntu type in Terminal:

sudo apt-get remove gnome-screensaver
sudo apt-get install xscreensaver xscreensaver-data-extra xscreensaver-gl-extra

To configure your screensaver

After installation, perform a search in the Dash for Screensaver. Launch the Screensaver utility and use it to configure XScreenSaver and select your screensaver settings.

03 September 2013

Install OpenERP in Ubuntu 13.04

To install OpenERP CMS in Ubuntu 13.04:

1. Add the following line to your /etc/apt/sources.list:
deb http://nightly.openerp.com/7.0/nightly/deb/ ./

2. Type in Terminal:
sudo apt-get update
sudo apt-get install openerp

3. Type in Terminal:
sudo -u postgres createuser -s openerp

Than you can see installed OpenERP CMS on adress:
http://localhost:8069

The PostgreSQL host configuration file was not found on your system

If you get message in ubuntu 13.04 webmin 1.650 for the PostgreSQL 9.1 module: host configuration file /etc/postgresql/pg_hba.conf was not found on your system...

Modify > Paths to host access config file, in module configuration on :
/etc/postgresql/9.1/main/postgresql.conf

21 August 2013

Ubuntu 13.04 > Install LAMP (Linux+Apache+MySQL+PHP)




To install LAMP platform in Ubuntu 13.04, for local CMS testing purposes, go to Terminal and type >

sudo su

apt-get install mysql-server mysql-client
apt-get install apache2
apt-get install php5 libapache2-mod-php5
apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
apt-get install php5-xcache
apt-get install phpmyadmin

chown -R <username> /var/www
chmod -R a+rwX /var/www

15 July 2013

Ubuntu 13.04 : Manual installation of Libre Office 4

Download latest Libre Office from :
http://www.libreoffice.org/download

To install LibreOffice 4 you will need to remove all previous versions.
Run:
sudo apt-get remove --purge libreoffice-core libreoffice-common
sudo apt-get autoremove --purge

Extract the files:

cd to the Downloads directory: cd Downloads

Extract the tar.gz:

For 64 bit:
tar -xvzf LibreOffice_4.0.3_Linux_x86-64_deb.tar.gz

For 32 bit:
tar -xvzf LibreOffice_4.0.3_Linux_x86_deb.tar.gz

Install the program:

cd to the programs folder:

For 64 bit:
cd LibreOffice_4.0.3.3_Linux_x86-64_deb/DEBS

For 32 bit:
cd LibreOffice_4.0.3.3_Linux_x86_deb/DEBS

Install part one (for both 32 and 64 bit):
sudo dpkg -i *.deb

Install the desktop integration (again for 32 and 64 bit):
cd desktop-integration
sudo dpkg -i *.deb

You're done!


Ubuntu 13.04 64bit : Unable to install ia32-libs

If you are unable to install ia32-libs package on your fresh installation of Ubuntu 13.04 64bit, for installation of Skype, Teamviewer or Adobe Reader, than you should do :

- Switch Update server to Main, in System Settings / Software & Updates
- Check on all Install updates from option on Update tab

than do in Terminal :

sudo dpkg --add-architecture i386

sudo apt-get update
sudo apt-get install ia32-libs

02 July 2013

Increase php memory limit

If you get this error on OpenCart system 1.5x :

PHP Fatal Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes)

then

in system/startup.php add line

// Register Globals

ini_set('memory_limit','-1');

02 June 2013

[July 24th] [Sense 3.5] Energy™ -.¸¸.·´¯ Sense 3.5 with working SD-EXT Mod

I want to share my successful procedure with this Sense ROM for HD2 :

  1. Prepare Ext4 partition on your SD card (min 1 Gb)
  2. Setup system partition to 380 Mb in CLK
  3. Clean everything throw ClockworkMode Recovery
    1. Wipe data/factory reset  
    2. Wipe cache partition
    3. Advanced > Wipe dalvik cache
    4. Advanced > Wipe battery stats
  4. Install [July 24th] [Sense 3.5] Energy™ -.¸¸.·´¯ Sense 3.5 ROM in NAND mode 
  5. Don't reboot just exit
  6. Install SD-EXT Mod - AMARULLZ DATA TO SD-EXT  
  7. Now reboot
Now you have best and fastest Sense ROM for your HTC HD2 with working DataOnExt.
Just update it throw Google Play and that's it.

If you experience robotic voice throw calls follow this fix.

25 May 2013

How to remove robotic voice in HTC HD2 Sense Android roms

- go to settings/sounds
- uncheck audible touch tones
- make a phone call and when finished
- reboot

03 May 2013

OpenCart CMS - Import multilanguage data


- Make first language default which is the same with your data. And import these language data.
- And then make second language default. And import this language data.

Now you have items in two languages.

OpenCart CMS - Export/Import Excel file


Categories

Categories looks like the most confusing to get your head around at the start however it’s fairly straight forward.

The technique to doing it is to add all your categories in first and assign a unique id to it and group the categories together.  It’s probably best to even work backwards too.

  • Category_id – the unique id of the category, you cannot assign multiple id’s to a category or assign a single id to multiple categories
  • Parent_id – the id of the category that the category belongs to.  ‘0’ is a top level category (the category that will be shown and that houses sub-categories etc)
  • Name – the name of the category
  • Sort_order – if you want categories to appear in a specific order you can number them, just remember if you don’t assign a number to a category it will default to ‘0’ which will place it before all the other categories in that particular level / sub-category
  • Image_name – the image that is assigned to the category.  See additional images in products section for example and explanation
  • Date_added – put today’s date
  • Date_modified – put today’s date
  • Language_id – keep at 1 (English)
  • Seo_keyword – similar to meta_keywords
  • Description – the description of the category
  • Meta_description – a brief concise description of the product / category to help with search engines
  • Meta_keywords – keywords that are specific to the product / category, to help with search engines
  • Store_ids – keep at ‘0’, don’t change
  • Status enabled – whether or not a product is enabled or disabled (shown or hidden) true = shown, false = hidden


Products

With products, only the product name is a mandatory field, you can leave as many areas blank as you like.  You don’t need to fill them all in.

Product_id – the unique id of the product, you cannot assign multiple id’s to a product or assign a single id to multiple products

  • Name – The name of the product
  • Categories – the categories that the product belongs to.  You can add a product to multiple categories,  just separate category id’s with a comma (eg. 23, 56, 5)
  • Sku – the SKU number of the product (SKU’s are assigned to barcodes to allow for easy identification when scanned)
  • Location – the location of the product (eg. Brisbane, Australia)
  • Quantity – the about of the product that you have in stock
  • Model – the model number of the product
  • Manufacturer – this is the brand of the product (for example, windows 7 is a Microsoft product so you’ll add in ‘Microsoft’ and people will be able to search for products by manufacturer) note: you can only have one manufacturer
  • Image_name – same as additional images (see for example)
  • Requires shipping – set to yes unless it’s a digital download
  • Price – the price of the product (before tax)
  • Date_added – put today’s date
  • Date_modified – put today’s date
  • Date_available – put today’s date unless it will be available at a specific date.
  • Weight – weight only needed if you have a shipping method that is weight based (eg AusPost) also be sure to keep the weight in kilograms (eg. 250g = 0.25)
  • Unit – keep at ‘kg’
  • Length – not needed for anything but you can add it if you like
  • Width – not needed for anything but you can add it if you like
  • Height – not needed for anything but you can add it if you like
  • Length unit – keep at ‘cm’
  • Status enabled – whether or not a product is enabled or disabled (shown or hidden) true = shown, false = hidden
  • Tax_class_id – keep at ‘9’ (GST)
  • Viewed – number of times the product has been viewed (leave blank)
  • Language_id – keep at 1 (English)
  • Seo_keyword – similar to meta_keywords
  • Description – the description of the product / category (the description is in HTML however don’t be afraid of this, all you need to do is have a at the start of each paragraph and an at the end of each paragraph and that will format it.  If you want bold add around the words you’d like in bold and for italics.
  • Meta_description – a brief concise description of the product / category to help with search engines
  • Meta_keywords – keywords that are specific to the product / category, to help with search engines
  • Additional images – the links to additional images for a product, if there are additional images for a specific product, add a comma after each image url, don’t add spaces.  Start all links with data/(name of folder that will contain the image)/(image name)
  • Stock_status_id – this is the status that is shown when a product is out of stock (keep at ‘5’ which is the default ‘out of stock’)
  • Store_ids – keep at ‘0’, don’t change
  • Related_ids – id’s of products that are related to a specific product
  • Tags – tags act as keywords, however it will list them at the bottom of the product page and if someone clicks on a specific keyword, then all the products with that tag will be grouped and displayed.  (add commas between each tag)
  • Sort_order – if you want products to be displayed in a specific order
  • Subtract – whether or not it will subtract from the products stock number when purchased
  • Minimum – the minimum amount of a specific product that the customer has to buy when purchasing the product
  • Cost – the cost price of the product  (not needed)


Options

This area is for additional options that a product might have.  For example, a shirt will have shirt sized of small, medium, large, etc, etc.

  • Product_id – the product id number that this option will belong to.
  • Language_id – keep at 1 (English)
  • Option – the name of the option (eg shirt sizes)
  • Option_value – the options of the product (eg small, medium, large)
  • Quantity – the quantity of stock of the option (you can leave blank if you don’t have to worry about stock quantities)
  • Subtract – whether or not it will subtract from the products stock number when purchased
  • Price – the price difference of the option to the base product (for example of the additional option is $50 more then it will be 50)
  • Prefix – add a ‘+’ or ‘-‘ here to indicate whether the above price subtracts from or adds to the base product price.
  • Sort_order – the order of which you’d like the individual options to be listed


Specials

  • Product_id – the product id number that this discount/special will belong to.
  • Customer_group – if you have customer groups, for example the store has retail set as the default however if you were to add wholesale it too you can set the discount/special for a specific group only.
  • Priority – priority of discounts
  • Price – price of product after discount (eg. $500 product has $50 dicount, price = $450
  • Date_start – starting date, must be in this format – yyyy/mm/dd
  • Date_end – ending date, must be in this format – yyyy/mm/dd


Discounts

  • Product_id – the product id number that this discount/special will belong to.
  • Customer_group – if you have customer groups, for example the store has retail set as the default however if you were to add wholesale it too you can set the discount/special for a specific group only.
  • Quantity – I think this is in reference to the amount that can be bought at the discount price before it ends (just leave it blank)
  • Priority – priority of discounts
  • Price – price of product after discount (eg. $500 product has $50 discount, price = $450
  • Date_start – starting date, must be in this format – yyyy/mm/dd
  • Date_end – ending date, must be in this format – yyyy/mm/dd

22 April 2013

MS Access : Wizard isn't installed or has been disabled.


When I discover that none of the MS Access wizards are working, first noticed it when I tried to run the Query wizard. Form and Report wizards also do not work.

The error I get when trying to link tables is: "The Wizard you've requested is not installed or is in a bad state. Please install or reinstall the wizard. If you do not have permissions to do this on your computer see your system Administrator."

For the Report or Query wizard the message is: "This feature isn't installed or has been disabled."

I did an Office Diagnostic and a Repair installation. Neither helped. I've been doing some searching on the Internet and found this tip:

Remove folder : C:/Program Files/Common Files/Microsoft Shared/VBA/VBA6 (apparently MS Access 2010 creates it). After deleting that folder, I launched MS Access 2010, and automatically, some repair process started, which thankfully, fixed this frustrating problem.

Now, all my Wizards are working again. :-)

09 April 2013

Lockscreen Policy - Disable Android 4.2 Lockscreen Widgets and Camera

Install application Lockscreen Policy from Google Play to get rid of widgets and camera on the Android 4.2 lockscreen.

P.S.: from XDA Developers

XDA: NexusHD2-JellyBean-CM10.1 - 2G/3G signal indicator

To correct signal strength indicator change line in /system/build.prop to ro.telephony.ril.v3=signalstrength,singlepdp,apptypesim

P.S.: Download BuildProp editor from Play Store and edit it the easy way.

26 February 2013

Prepare HTC HD2 for XDA Nexus 4.1.2 rom


1. Install HSPL 2.08;
2. Install Magldr
3. Partition correctly with Magldr: 5MB cache, 285MB ROM (choose custom and type 285 in the textbox, then repartiton with HD2 tools)
4. After partitioning, you will have access to AD Recovery.
4.1 Use AD recovery to partition your SD card: 2G sd-ext, 256M swap.
4.2 Use AD recovery to mount USB storage, copy ROM and upadates on the card.
4.3 Flash ROM then reboot. Do NOT boot.
4.4 Flash all other updates. Reboot phone, go through the setup.

How to install mobile phone over USB on Windows 7 VirtualBox


If you are trying to install the drivers for HTC mobile phone inside MS Windows 7 VirtualBox, try installing the VirtualBox Extension Pack and enable USB 2.0 in the settings after doing that.

15 February 2013

How to install Clementine music player in Ubuntu


In Terminal window type :

sudo add-apt-repository ppa:me-davidsansome/clementine
sudo apt-get update
sudo apt-get install clementine

06 February 2013

Speed Up Ubuntu

1. sudo apt-get install preload

2. sudo apt-get autoclean

3. sudo gedit /etc/fstab
  • - At the end of the file, add these lines:
  • # Move /tmp to RAM
  • tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0
4. sudo gedit /etc/sysctl.conf
  • - At the end of the file, add these two lines:
  • #
  • # Decrease swap usage to a workable level
  • vm.swappiness=10
5. gksudo gedit /etc/init/network-manager.conf
  • Copy and paste the below code, below the existing ‘stop on stopping dbus’:
  • kill timeout 1
6. gksudo gedit /etc/init/modemmanager.conf
  • Then look for the existing ‘stop on stopped network-manage’ text line, and simply paste the below code just below it :
  • kill timeout 1
7. Comment out this line works too in /etc/init/modemmanager.conf :
  • #start on starting network-manager
  • stop on stopped network-manager
* If your Eclipse Android SDK Manager wont start after 3rd step in moving /tmp to RAM,
then execute :
  • sudo mount -o remount,exec /tmp
and in /etc/fstab comment line
  • # Move /tmp to RAM
  • # tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

04 February 2013

How to configure Ubuntu to allow IP Forwarding for torrent ?


I figured it out.

Edit /etc/default/ufw and set

DEFAULT_FORWARD_POLICY="ACCEPT"

and restart network...

Set root password in Ubuntu


Open the terminal and type


  • sudo passwd root


and write new password .

03 February 2013

How to setup CodeTyphon - for Cross compiling FPC and Lazarus - AIO

This is install procedure in Ubuntu 12.10 64bit environment :

1. Install last CodeTyphon zip packet from


2. Extract archive in folder , for example :

  • /home/ct 

3. Enter that folder from Terminal with root privileges and start

  • ./install.sh

4. Only for the first time of CodeTyphon installation in your Computer, select option

  • (3) "Install System Libraries" (about 10 min.)
    • for Ubuntu 12.10, you will need to manually add these packages
      • sudo apt-get install binutils-dev devel-essential

5. After System Libraries Installation, run again "Install.sh" and select option

  •  (0) "Install CodeTyphon Studio"

6. After copy operation, select option
  •  (8) "Remove and Build All" (about 15 min.)

6. After that, you have CodeTyphon Studio installed in your dash, start it and select :

  • menu Cross-Build and choose desired platform

7. Than you should start Lazarus and choose related fpc, for example :

  • /usr/lib/codetyphon/fpc/bin/x86_64-linux/ppcx64 (for Linux64)
  • /usr/lib/codetyphon/fpc/bin/x86_64-linux/ppcross386 (for Win32)
  • /usr/lib/codetyphon/fpc/bin/x86_64-linux/ppcrossx64 (for Win64)

8. Finally, don't forget to choose menu Project/Project Options/Code Generation/Target OS :

  • Linux
  • Win32
  • Win64

Write Once, Compile Anywhere

How to build FPC and Lazarus from SVN for cross-compiling

This procedure is implemented in Ubuntu 12.10 64bit.

1. You need to install subversion via apt-get in Terminal window :

  • sudo apt-get install subversion

2. Than you can download your first trunk of fpc and lazarus :

  • cd /home/svn
  • cd fpc
  • svn checkout http://svn.freepascal.org/svn/fpc/trunk
  • cd lazarus
  • svn checkout http://svn.freepascal.org/svn/lazarus/trunk

3. For later update from svn sources :

  • cd /home/svn
  • svn update fpc 
  • svn update lazarus

4. To build fpc and lazarus

  • make clean all


29 January 2013

How to download source code from SVN or GIT in Ubuntu

In terminal windows type :

sudo apt-get install subversion
sudo apt-get install git

than you can download trunk with sort of these commands :

svn checkout http://android-samples.googlecode.com/svn/trunk/ android-samples-read-only
git clone https://code.google.com/...

28 January 2013

How to set RelativeLayout inside ScrollView

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >

<RelativeLayout
android:id="@+id/RelativeLayout01"
android:layout_width="fill_parent"
android:layout_height="638dp" >

... UI elements here ...

</RelativeLayout>
</ScrollView>

How to fix unreadable tooltips in Ubuntu Eclipse

An easy workaround to fix this is to install gnome-color-chooser.
Open it, go to Specific -> Tooltips and put black foreground over pale yellow background.

27 January 2013

Create new application shortcut in Ubuntu 12.20 Unity

First you must have installed Gnome Panel :

sudo apt-get install gnome-panel

Then you must start gnome panel window for creating new shortcut:

sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

After that, you can search for and open it from the Unity Dash, and drag and drop it to Launcher.

25 January 2013

Eclipse Android SDK Manager not work in Ubuntu 12.10 (64bit)

If you have error with Android SDK Manager in Eclipse, while installing Android SDK, you are missing ia32-libs from your Ubuntu 12.10 (64bit), than you need to install it with:

sudo apt-get install ia32-libs

Install Java SDK 7 on Ubuntu 12.10

To get started, press Ctrl – Alt – T on  your keyboard to open the terminal. When it opens, run the commands below to add the required PPA.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-java7-installer


14 December 2012

How to change the Windows 8 product key

Start the Command Promt in Administrator mode by pressing [WinLogo]+X,
then execute
slmgr.vbs -ipk ABCDE-VH26C-733KW-K6F98-J8CK4
To activate windows after changing the key:
slmgr.vbs -ato

07 December 2012

How to fix broken packages

To fix broken packages in Ubuntu,

Go to System > Administration > Synaptic Package Manager and click Edit > Fix Broken Packages.

or in a terminal (Applications > Accessories > Terminal)
 

sudo apt-get -f install

23 November 2012

Fixing VirtualBox on Ubuntu 12.10

I installed VirtuaBox (4.1.18) on Ubuntu 12.10 (host os) so I can install Windows 8 (guest os) and use Microsoft office products as they are way superior to LibreOffice. Anyway, as soon as I opened Virtualbox, it came up with the error message, "Kernel driver not installed (rc=-1908)"


Well, after browsing for hours, I found a way to fix the issue. I just had to use the following commands.

        sudo apt-get install linux-headers-$(uname -r)

        sudo apt-get remove virtualbox-dkms

        sudo apt-get install virtualbox-dkms

Furthermore, after installing Windows 8 as a guest os and after installing guest additions, I wasn't able to enable "Switch to seamless mode", so I wasn't able to set the resolution to 1366x768 and I had to stick with 1024x768. Finally I found a workaround for that problem too. I had to use the command,

         sudo vboxmanage setextradata global GUI/MaxGuestResolution any

Hope this information will be useful for other Ubuntu users.

from xchamitha blog: Fixing VirtualBox on Ubuntu 12.10

19 October 2012

Definitive Android SDCard folder structure


In the root of the external storage (SDCard) save your shared files in one of the following directories:

Music - Media scanner classifies all media found here as user music.
Podcasts - Media scanner classifies all media found here as a podcast.
Ringtones - Media scanner classifies all media found here as a ringtone.
Alarms - Media scanner classifies all media found here as an alarm sound.
Notifications - Media scanner classifies all media found here as a notification sound.
Pictures - All photos (excluding those taken with the camera).
Movies - All movies (excluding those taken with the camcorder).
Download - Miscellaneous downloads.

from : http://developer.android.com/guide/topics/data/data-storage.html#filesExternal

18 October 2012

ClockworkMod Recovery Custom ROM procedure


Everytime I install a new Rom, I double check to make sure it has a boot.img, then upon using CWM to install it, I first do the following(some of them are redundant, but I do so for good measure):


  • wipe data/factory reset
  • wipe cache partition
  • advanced > Wipe Dalvik Cache
  • advanced > Wipe Battery Stats
  • mounts and storage > unmount cache
  • mounts and storage > format /boot (If the rom had a boot.img)
  • mounts and storage > format /cache
  • mounts and storage > format /data
  • mounts and storage > format /system


Then I install the ROM zip, and if I want GAPPS, I flash those afterward.
Then reboot.

This ensures that ALL data is gone, and it will not allow for unique bugs caused by remaining data from a previous rom.

from: http://forum.xda-developers.com/showpost.php?p=32947067&postcount=11

12 October 2012

Cyanogenmod Partitioning SD Card

Partition the SD card
- Scroll down, and select “Advanced”
- Select “Partition SD Card
- Choose your Ext Size (I recommend choosing half of the storage space that your card is.
   - For a 256mb card, select 128M
   - For a 512mb card, select 256M
   - For a 1gb card, select 512M
   - For a 2gb card, select 1024M
   - For a 4gb card, select 2048M
   - For a 8gb card, select 4096M
- any memory card higher than this will not be partitioned, the phone will not be able to read it properly, but I would recommend an 8gb card, and if you have any smaller than 1gb, I wouldn’t even bother wasting your time – but go ahead if you wish.
- Now it will ask you what Swap size you want:
   - If you have a 256mb or a 512mb card, select 0M.
   - If you have a 1gb or a 2gb card, select 32M.
   - If you have a 4gb or a 8gb card, select 64M.
- If it asks to confirm, select yes, now wait for a few minutes, and reboot

13 September 2012

Install VLC in OpenSuse 12.2


In Terminal mode type :

sudo zypper ar http://download.videolan.org/pub/vlc/SuSE/12.2 VLC
sudo zypper mr -r VLC
sudo zypper in vlc

11 September 2012

How to install Lazarus in OpenSuse 12.2


To install fresh packages from Lazarus Daily Snapshots (http://freepascal.dfmk.hu/test/lazarus/)
type in Terminal (Super User mode):

rpm -Uvh fpc-2.6.0-0.laz.i686.rpm
rpm -Uvh fpc-src-2.6.0-0.laz.i686.rpm

zypper in lazarus-1.1.38611-20120911.laz.i686.rpm
(instead of rpm -Uvh lazarus-1.1.38611-20120911.laz.i686.rpm)

How to install Google Chrome in openSUSE

Don’t be confused about Chrome and Chromium. Both are browsers and using the same engines, then what’s the difference?, the difference is one is actively developed by open source community[Chromium] and the other is maintained and developed by Google[Chrome]. Google Chrome can say provide stable version, while Chromium is dev build version[unstable] which is stable though but have new features which then go to Google Chrome stable version later. Chromium is already provided in openSUSE default repositories. But for Google Chrome we need to add new repository. Which will have three versions, stable, beta, unstable. If you want to have different versions of this browser, install both Chromium and Chrome. Currently i’m running both versions, stable version from Google[Chrome] repository and dev build[Chromium] from openSUSE repositories. 1st of all open terminal and become root by su - , and then type, choose your system architecture:

64bit version


         zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome

32bit version


         zypper ar http://dl.google.com/linux/chrome/rpm/stable/i386 Google-Chrome

Now type:

         zypper ref


And install Google Chrome:

        zypper in google-chrome-stable

Now you will have two versions of Chrome/Chromium browser.

taken from :
http://anl4u.com/blog/how-to-install-google-chrome-in-opensuse

08 September 2012

MS Windows 32bit vs. 64bit

"The key consideration is RAM: 32-bit Windows can address only 3.5GB, while 64-bit Windows can address 4GB or more. Because so many new PCs come with at least 4GB, that's why you're seeing Windows x64 as the default OS."

from: http://www.pcworld.com/article/205885/windows_32bit_vs_64bit_personalize_your_os.html

P.S.: But, I must report that this my HP 2730p with 4Gb RAM work faster with 64bit versions of MS Windows and OpenSuse.

30 August 2012

Lazarus 1.0 release available for download

The Lazarus team is glad to announce the release of:

Lazarus 1.0

At this important stage the current team would like to thank all the past and current people who were involved in getting us here.

* Thanks also go to the FPC team for providing the compiler that makes it all possible.

* Special thanks go to the founders of the project who started Lazarus more than a decade ago in 1999: Cliff Baeseman, Shane Miller and Michael A. Hess.

* A history of developers involved can be found at http://wiki.lazarus.freepascal.org/History. And a list of the many contributors comes with the distribution.

The release is available for download at the SourceForge download page:

http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.0" directory.

Minimum requirements:

Windows: 98, 2k, XP, Vista, 7, 32 or 64bit

FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit

Mac OS X: 10.4, LCL only 32bit, non LCL apps can be 64bit

This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too).

The svn tag is

http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0

The list of changes:

http://wiki.lazarus.freepascal.org/Lazarus_1.0_release_notes

For people who are blocked by SF, the Lazarus releases from sourceforge are mirrored at:

ftp://freepascal.dfmk.hu/pub/lazarus/releases/

and later at (after some time for synchronization)

http://michael-ep3.physik.uni-halle.de/Lazarus/releases/

and

http://mirrors.iwi.me/lazarus/

22 August 2012

Lazarus : idemake.cfg is missing

If you try to rebuild lazarus and get compiler message for not finding file idemake.cfg, you should find it on "C:\User\AppData\Local\Lazarus\idemake.cfg" and copy to lazarus installation folder...

23 July 2012

Google Drive does nothing (Grayed "not signed in")

Problem : 


Google Drive Icon appears in task bar, but right clicking it reveals gray "sign in" and "not signed in" messages.


Solution :


Terminate Google Drive service via. Task Manager. 
Now in Windows 7 Control Panel - Region and Language option, you have to change only a Format (on first tab) in English-US. Everything else you can change in English-US format (Time format (12 to 24h), Us to Metric, date format....etc.). Now start Google Drive and it should work...

11 June 2012

Post-install procedure in Lazarus


This is post-install procedure for fresh lazarus build :

1. Install Fortes report package
    from http://fortes4lazarus.svn.sourceforge.net/viewvc/fortes4lazarus/?view=tar
    and copy file rlreportshared.dll to c:\lazarus folder
2. Install ZeosDBO database package
    from http://sourceforge.net/projects/zeoslib/files/Zeos%20Database%20Objects/
3. Install ZVDateTimeControls package
    from http://sourceforge.net/projects/lazarus-ccr/files/Time%20and%20Date/ZVDateTimeControls%20Pack/
4. Install zeddbtreeview package
    from http://code.google.com/p/zeddbtreeview/
5. Install uniqueinstance package
    from http://code.google.com/p/luipack/downloads/detail?name=uniqueinstance-1.0.zip
6. Install Lazarus Data Dictionary package
    from c:\lazarus\components\datadict\lazdatadict.lpk
7. Install PowerPDF package
    from http://sourceforge.net/projects/lazarus-ccr/files/PowerPDF
8. Install UNIDAC packages, in this order:
    C:\lazarus\components\UniDAC\Source\Lazarus1\dclunidac10.lpk
    C:\lazarus\components\UniDAC\Source\Lazarus1\accessprovider10.lpk
    C:\lazarus\components\UniDAC\Source\Lazarus1\msprovider10.lpk
    C:\lazarus\components\UniDAC\Source\Lazarus1\myprovider10.lpk
    C:\lazarus\components\UniDAC\Source\Lazarus1\pgprovider10.lpk

 

9. Build the project Lazarus Data Desktop
    from c:\lazarus\tools\lazdatadesktop\lazdatadesktop.lpr

10. Activate sqlite3laz package throw menu Package option Install/Uninstall
    (if you are in Linux, add packages : sqlite3, sqlite3devel, before,
     or on Windows download dll from https://sqlite.org/download.html and
     put in lazarus folder)
11. Activate lazreport package throw menu Package option Install/Uninstall
12. Activate lazreportpdfexport package throw menu Package option Install/Uninstall

13. Copy sqliteadmin folder to c:\lazarus\tools\
      from http://sqliteadmin.orbmu2k.de/
      and register it in Tools/Configure External Tools menu item

14. Install Help in Lazarus IDE :
    * Install CHM Help package
       from c:\lazarus\components\chmhelp\packages\idehelp\chmhelppkg.lpk
    * Build the project lazarus/components/chmhelp/lhelp/lhelp.lpi
    * Download the latest stable Lazarus CHM help files
       from http://sourceforge.net/projects/lazarus/files/Lazarus%20Documentation/
       and copy all CHM files to c:\lazarus\docs\chm
    * Go to the Environment Options, tab "Help Options' and select the "CHM Help Viewer".
       "HelpExe" should be the lhelp you just built - lhelp.exe.
       "HelpFilesPath" should be, where you put the CHM files - c:\lazarus\docs\chm
     Now context sensitive help using F1 should work.

24 May 2012

Delphi XE2 : Compile error : Invalid PLATFORM variable "HPD"

Problem :

I just install a new Delphi XE2.
I create a new classical VCL project and I try to compile it.
I obtain this message :

'[Error Erreur] Invalid PLATFORM variable "HPD". PLATFORM must be one of the following: "Win32", "Win64", or "OSX32". If PLATFORM is defined by your system's environment, it must be overridden in the RAD Studio IDE or passed explicitly on the command line to MSBuild; e.g., /p:Platform=Win32.'

Reason :

It's a battle between Microsoft and Hewlett Packard over
the use of the PLATFORM environment variable.

"HP Easy Setup" uses it for it's own purposes.
MSBUILD uses it for another purpose.

Solution :

Right click on "My Computer" and select Properties. In the Advanced tab,
you will find a button for "Environment Variables". Click on it, and in
the list that follows, delete the PLATFORM variable from the list of
System variables.
Close the dialog, restart XE2, you should now be able to recompile
without further problems

Source :

https://forums.embarcadero.com/thread.jspa?threadID=59930

16 April 2012

Installing ClockworkMod Recovery


This is the same ClockworkMod Recovery 4.0.1.5 as in this post, just with the kernel patched to run on phones upgraded to Android 2.3.4.

    Windows users should download and install One Touch Upgrade Q (it includes the needed Windows drivers). Linux and Mac OS X users should download and install the Android SDK starter package, then use the Android SDK and AVD Manager to install at least the Android SDK Platform-tools component. Linux users should also configure the system as described in the Google Android development documentation.
    Download the attached file: recovery-clockwork-4.0.1.5-ot990-kernel-v53B-0-anyboot.zip, unpack it.
    Switch the phone into fastboot mode:
        disconnect the USB cable, turn off the phone;
        press and hold the Volume Down button;
        while holding the Volume Down button, press the Power button;
        when the phone vibrates, release the Power button, but keep holding the Volume Down button;
        keeping the Volume Down button pressed, connect the phone to your computer with the USB cable;
        wait 3 seconds after connecting the USB cable, then release the Volume Down button.
    If using Windows, just run the install.bat file included in the archive. For other systems you need to run the commands manually:
    Code:

    fastboot erase recovery
    fastboot flash recovery recovery.img
    fastboot reboot

Entering ClockworkMod Recovery

    Disconnect the USB cable, turn off the phone.
    Press and hold the Volume Up button.
    While holding the Volume Up button, press the Power button.
    When the phone vibrates, keep holding the Volume Up button, release the Power button, and immediately press and hold the Home button.
    Continue holding both the Volume Up and the Home buttons until the Android logo disappears, and you see a black screen with the keypad light turned on, then release both buttons.
    Wait while CWM recovery boot completes; you should see the menu as shown here.

WARNING: If you forget to press the Home button, or release it too early, a hardreset will be performed instead of entering the recovery — it will wipe all user data from the phone memory (but files on the microSD card will not be affected).

When working with the CWM recovery, use the Volume Up and Volume Down buttons to move between menu items, and the Home button to activate the selected item. Use the "reboot system now" item to exit the recovery.

Rooting the phone with ClockworkMod Recovery

    Download Superuser-3.0.7-efghi-signed.zip (or maybe a newer version from the Superuser home page).
    Place the downloaded file on the microSD card.
    Enter CWM recovery on the phone as described above.
    Select "install zip from sdcard" in the menu, then select the Superuser-3.0.7-efghi-signed.zip file.
    Select "reboot system now" to exit from recovery.

(from forum.xda-developers.com)

15 April 2012

Alcatel OT-990 (Telenor OneTouch) on Gingerbread 2.3 from XDA


BOOTLOADER SUCCESSFULLY UPGRADED WITHOUT OTU!!!!!!!!! GINGERBREAD 2.3 BOOTED ON TELENOR ONE TOUCH SERBIA

WE HAVE A WORKING GINGERBREAD ON A TELENOR ONE TOUCH SERBIA!!! THANK YOU EVERYONE FOR YOUR HELP, ESPECIALLY qltsar, sigprof, gulyuk.s !!!!
***-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------***

This is how I did it, step by step. I CHECKED THESE STEPS SEVERAL TIMES BUT THERE IS A POSSIBILITY THAT I FORGOT SOMETHING!!!!!!!!!

IF YOU DONT KNOW WHAT ARE YOU DOING PLEASE DONT FOLLOW THIS MANUAL. I'M NOT RESPONSIBLE FOR BRICKED PHONES OR ANY DAMAGE CAUSED BY YOUR OWN ACTIONS. IT WORKED FOR ME AND IT'S DONE ONLY ON TELENOR ONE TOUCH SERBIA. ITS FUNCTIONALITY IS NOT FULLY TESTED YET, THERE COULD BE BUGS*!! YOU ARE DOING IT AT YOUR OWN RISK!!!
* currently known bugs: cant update google apps, gmail,search,youtube..
THESE STEPS WERE TESTED ON TELENOR BRANDED OT-990 WITH v53R-0 BUILD NUMBER. THE PHONE WAS PREVIOUSLY UPDATED FROM v53H-0 to v53R-0 WITH OTU(ONE TOUCH UPGRADE) APPLICATION

BACKUP EVERYTHING BEFORE YOU PROCEED!!

DO NOT PROCEED WITH STEPS IF ANYTHING DIFFERS FROM THIS MANUAL!!

THESE ARE INSTRUCTIONS FOR WINDOWS 7, i did it on Win7 64bit

1. You need to install Alcatel Android Manager and One Touch Upgrade from THIS LINK.Find it in Download tab. All the drivers are here.
Also download and install Android SDK Tools. I have installed all this things so maybe you should too.
2. Download CWM recovery image, Recovery Manager apk, FOTA update.zip. Unpack the RecoveryManager_v0.34b.zip. Put those recovery-clockwork-4.0.1.5-ot990.img, RecoveryManager_v0.34b.apk and update.zip (dont unpack this archive) files in the root of SD card.
3. Download the Hungarian rom dump 2.2.2. Unpack the archive, you'll see two folders - dump and firmware. Copy boot.img, custpack.img, recovery.img, system.img files from 'firmware' folder and FOTA.img, FOTAFLAG.img files from 'dump' folder to a new folder with name 'gingerbread' (for example).
4. Download fotaflag_modem_upgrade.zip and unpack the fotaflag_modem_upgrade.mbn file to a 'gingerbread' folder.
5. Download the Telenor Gingerbread rom dump Unpack it, and copy(dont move, just copy) adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll, fastboot.exe,install.bat files to the 'gingerbread' folder. (REMEMBER WHERE YOU EXTRACTED THIS ARCHIVE, WE WILL NEED THIS FOLDER IN STEP 17!!!)
6. Right click on install.bat in 'gingerbread' folder and choose Edit. Replace the whole content of file with following commands:


adb.exe reboot-bootloader
ping 1.1.1.1 -n 1 -w 10000
fastboot.exe -w
fastboot.exe erase boot
fastboot.exe erase recovery
fastboot.exe erase system
fastboot.exe erase custpack
fastboot.exe flash boot boot.img
fastboot.exe flash recovery recovery.img
fastboot.exe flash system system.img
fastboot.exe flash custpack custpack.img
fastboot.exe flash FOTA FOTA.img
fastboot.exe flash FOTAFLAG FOTAFLAG.img
fastboot.exe flash FOTAFLAG fotaflag_modem_upgrade.mbn
fastboot.exe reboot

Save it and exit.

7. Shutdown the phone and then when its off enter the fastboot mode by holding the Volume Down and Power button. When you feel the vibration, release the Power button but hold the Volume Down a few seconds longer, dont let the android logo appear. Release the Volume Down button. The screen will be black, and you'll see the light from Options, Search, Back buttons of the phone.
8. Connect your phone with usb cable.
9. Double click on the install.bat in a 'gingerbread' folder and wait for process to finish. If everything is ok, the DOS prompt window will close and phone will reboot. He'll still be off, showing Battery charging.
10. Disconnect the usb cable and power on the phone. When you walk through the Setup process of the phone (Language, Google account etc.) you'll have a rooted 2.2 ROM on your phone.
11. Allow non-market applications to be installed by checking 'Unknown sources' in Setting/Applications, then go to File Manager and click on RecoveryManager_v0.34b.apk to install it.
12. When Recovery Manager is installed open it and go to Recovery tab, choose install recovery and when he shows you a recovery-clockwork-4.0.1.5-ot990.img select it. After he is done select the Reboot into Recovery option. Phone will reboot.
13. When phone enters a Recovery mode you will see something like this. (You are moving through the menu with Volume Up and Volume Down buttons and select with Home button.) Choose a second option apply sdcard:update.zip. Confirm this decision when he ask you are you sure. Wait him to finish. When he is done choose reboot, i think its a first option.
14. Have patience, booting will be slow. At this point Gingerbread should be installed and offer you to choose a language. But after that when you try to select a keyboard he will probably give an error, something like 'android.process... blah blah..' and give you a force quit option. SHUT DOWN THE PHONE!
15. When the phone is off we are doing the step 7 again. Enter the fastboot mode!
16. Connect the usb cable!
17. Find the folder from step 5 where we extracted the Telenor Gingerbread romdump archive (folder name will be 'original_telenor_GB_v5GY-0' - DONT USE THE 'gingerbread' folder we previously used) and execute install.bat. Wait him to finish, when its done phone will reboot and start charging battery.
18. Disconnect the usb cable.
19. Power on the phone and go through the setup.

YOU ARE DONE!


Telenor Hungary 2.2 and 2.3 ROMS, FOTA Update.zip are provided by qltsar,
FOTAFLAG modem upgrade is provided by sigprof.

ONE MORE TIME, IF YOU DONT KNOW WHAT THESE THINGS ARE THEN YOU SHOULD PROBABLY NOT DOING THIS!!

(from forum.xda-developers.com)

13 February 2012

Ubutnu 11.10 install additional things

Type in terminal window :

sudo apt-get install ubuntu-restricted-extras

sudo apt-get install vlc

sudo apt-get install gimp

sudo apt-get install gnome-panel
sudo apt-get install gnome-shell
sudo apt-get install kde-standard


sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer



Install PostgreSQL on Ubuntu 11.10

Just type in terminal window :

sudo apt-get install postgresql
sudo apt-get install postgresql-contrib
sudo apt-get install pgadmin3