środa, 7 grudnia 2011

Solution Postgres sql error, problem

For pdo postgres errors:

'SQLSTATE[42P01]: Undefined table: 7

SQLSTATE[42703]: Undefined column: 7

try to add quotes in sql for table name and column names. 


Example, good code can be (php):
$sql='SELECT "id","name",
    ("f1"=\'aaa\' OR
    "f1"=\'bbb\') AS "myflag"
        FROM "mytable"';

poniedziałek, 8 sierpnia 2011

Integration of the new template to my CMS

Preview main page:
 
CMS Features:

  • php, smarty, jquery, mysql,
  • jquery validate script,
  • prettyPhoto script,

środa, 27 lipca 2011

Start a new plugin for jQuery - jshine

Start a new plugin for jQuery - the shine effect to html elements (animation) without using Adobe Flash. Homepage:
http://soofit.blogspot.com/p/jshine-jquery-project-on.html 
Page to download the plugin:
http://code.google.com/p/jshine/

piątek, 22 lipca 2011

Problem : "Nie można uruchomić aplikacji, ponieważ jej konfiguracja jest niewłaściwa"

Problem: "Unable to start application because its configuration is incorrect"

When you start the application a message appeared:
"Unable to start application because its configuration is wrong."  

czwartek, 9 czerwca 2011

How to omit "Press F11 for recovery" on HPs notebooks

On some HP notebooks before system starts (eg Windows) we have a prompt "Press F11 for recovery". It takes whole 5 seconds (some people it makes 'angry') to the next step. Pressing 'Esc' forwards it.
But I found that pressing Esc just after starting up a bios system causes that the prompt is not visible at all.

niedziela, 22 maja 2011

Jak zrobić i używać dwa profile Mozilli Firefox

Cel - dwa profile Mozilli Firefox. Pierwszy, domyślny, na początku ze wszystkimi rozszerzeniami. Przeznaczony do szybkiego uruchamiania przez Start/Uruchom 'mo'.
Drugi, nowy, uruchamiany przez skrót o nazwie 'mo2'.

Adding a new profile to Firefox by cloning another

When you want to use Firefox with other settings you have to have additional profiles.

piątek, 20 maja 2011

Unwanted Chinese fonts in Adobe Photoshop CS5 [ENG] [Portable]

Portable, a very useful solution to many desktop applications. I encountered a problem while launching Adobe Photoshop CS5 [ENG] [Portable]. It was my first launch on this computer. There was only chinese fonts what made my Adobe like driving a car with a blindfold.

poniedziałek, 18 kwietnia 2011

Michal switched to reCaptcha

After many, many spam emails used by robots on my website (not this blog), I decided to test a google script:
www.google.com/recaptcha

środa, 16 lutego 2011