Coding Frenzy

Quick solution to Pureftpd 553 error

After setting up an account with Pureftpd, you are likely to be greeted by an error 553: Pureftpd error 553 Can’t open that file: Permission denied It has to do with the user and group permission. Solution: 1. Edit your Pure-ftpd account and set UID and GID to www (or any other). 2. SSH to [...]

Share

Step by step LNMP installation guide for CentoOS servers

Believe me: Installing the LNMP one-key package is the easiest and most time-saving way to set up a production CentoOS server. After installation, your server will installed with Nginx, PHP, MySQL, phpMyAdmin, Zend and ready to serve. LNMP one-key package is a bunch of shell scripts that automate the installation of Nginx, PHP and MySQL [...]

Share

GT4T: a different approach to MT

GT4T takes a rather different approach to MT: The result is often disappointing when sending the whole segment to MT. With GT4T you can select any portion of a sentence. GT4T aims to incorporate MT into the translation process, helping translators with suggestions and reducing keystrokes, rather than using MT as a first draft translator. [...]

Share

End a process with Inno setup

So easy. These two functions will ctry to close the process gt4t.exe at installation and uninstallation. Notice tskill.exe is for Windows XP and taskkill.exe is for Windows 7. [Code] function InitializeSetup(): Boolean; var ErrorCode: Integer; begin ShellExec(‘open’, ‘taskkill.exe’, ‘/f /im gt4t.exe’,”,SW_HIDE,ewNoWait,ErrorCode); ShellExec(‘open’, ‘tskill.exe’, ‘ gt4t’,”,SW_HIDE,ewNoWait,ErrorCode); result := True; end; function InitializeUninstall(): Boolean; var ErrorCode: Integer; [...]

Share

VB msgbox always on top

Very easy. MsgBox “This is a test”, vbOKCancel + 4096

Share