HQL current time like NOW() in PostgreSQL
If you want to set the actual timestamp to a field in HQL just use current_timestamp() instead of setting it in your code via a param.
HQL current time like NOW() in PostgreSQL Read More »
If you want to set the actual timestamp to a field in HQL just use current_timestamp() instead of setting it in your code via a param.
HQL current time like NOW() in PostgreSQL Read More »
to change the label on the checkout button from “Bestellung abschließen” to “Zahlungspflichtig bestellen” you just have to change the file app/locale/de_DE/Mage_Checkout.csv
Magento Button “Bestellung abschließen” Read More »
I needed the Oracle SQLPlus client. Here are the steps to get it running: Go to http://www.oracle.com/technetwork/database/features/index.html. There you find a link named Database Instant Client. Follow that link and choose x86 or x86-64. Download the following 3 packages: basic, sqlplus, devel. The install these packages with alien: sudo alien -i oracle-*sqlplus*.rpm sudo alien -i
Oracle SQLPlus under Ubuntu 12.10 Read More »
If you have a file with dos format, simply open it with vim and type :e ++ff=unix to get it as unix file format. Supported file formats are: unix LF only dos CRLF mac CR only CR is carriage return (Ctrl-M, ^M or hex 0D). LF is linefeed (Ctrl-J, ^J or hex 0A)
Change FileFormat from DOS to UNIX Read More »
I recently tried to install oracle under ubuntu. I added a new user and could not start any x-windows as this new user. “xhost +” was the solution. oracle@orabox:/home/oracle/database$ xclock No protocol specified Error: Can’t open display: :0.0 root@orabox:/home/oracle/database# xhost + access control disabled, clients can connect from any host root@orabox:/home/oracle/database# su oracle oracle@orabox:/home/oracle/database$ xclock
Error: Can’t open display: :0.0 Read More »
I had the problem that starting my jboss application server was veeeeery slow – don’t know how long it would have taken as I always killed it after a few minutes. After some experiments with more memory without a change I removed all my breakpoints in the debug view of eclipse and voilá – it
Eclipse: JBoss very slow in Debug mode Read More »
Magento creates lots of files and database entries no one really needs. So here is how I tried to clean up the mess – based on this script from the magento site http://www.magentocommerce.com/wiki/groups/227/maintenance_script First I logged in into the shell and executed the following in the magento directory: rm -rf var/cache/* var/log/* var/report/* var/session/* var/tmp/*
Magento Manual Cleanup Read More »
To mount an nfs filesystem under fedora 17 I had to take the following steps: sudo yum install nfs-utils sudo service rpcbind start sudo mount -o hard,intr,noatime 192.168.1.123:/nfs /mnt/nas The first step installs the needed libraries to be able to mount nfs. This is like nfs-common under debian based distris. The second step eliminates the
Mount NFS under Fedora 17 Read More »
First i installed alacarte and added my launcher as usual. Then I had to refresh the shell by pressing ALT+F2 and type r. After that my launcher appeared in the menu.
Gnome-Shell Add Custom Launcher Read More »
moving the window buttons to the right has changed a bit since 12.04. Now you are able to use the following command to have the good old school button layout: gsettings set org.gnome.desktop.wm.preferences button-layout ‘menu:minimize,maximize,close’
Window Buttons right in Ubuntu 12.10 Read More »