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