If you are a getting warning messages like this one on your local developer oracle installation,
java.sql.SQLWarning: ORA-28002: the password will expire within 1 days
then there are two easy step to avoid the situation that you are not able to login with a given database user.
Step 1: Set the passsword policy to never expire passwords. Execute this SQL Query with your SYSTEM database user.
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Step 2: The expiring database user accounts are not affected by the above statements. You have to set a password for them to get rid of the warning and only then is the password never expiring again. You just have to start your “Run SQL Commandline” oracle console and first connect via the sysdba user (don’t be afraid, you don’t need a password for that one).
connect / as sysdba;
When you are connected successfully, just change the password for any database user
alter user SYSTEM identified by NEWPASSWORD;
(Disclainer: I’m no fan of oracle, but in my workplace I have to use it)
IF you need to find HTML elements in a web page via XPath, it’s desirable to do this with an already existing web page in your browser. in Chrome/Chromium this is especially easy. If you open the web developer tools and switch to the console, you can type something like that
And the browser will return you the found HTML element (or nothing if it does not exist).
An interesting video busting myths about cloud computing can be found on infoq.com
Khawaja Shams presents how NASA’s JPL uses cloud computing, and evaluates some of the existing cloud computing myths in the MythBusters style.
There is an easy way to merge two or more PDF files. You can use the free software called Pdftk. You can get it via the package system of your preferred linux distribution or the homepage of the project.
Here is an example for merging threepdf files
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
You can find more examples on the projects website.
If you are looking for a reasonable priced mono laser printer which works flawlessly under linux: I recommend the Samsung ML series. For example the Samsung ML1860.
For more information how to install the driver, just look here: http://ubuntuforums.org/showthread.php?t=341621
I’ve decided to build kde4 trunk on my computer again. For this, one of the first steps was to get qt 4.8 running. As the debian repositories only contained qt 4.6, I had to build and instal qt for myself. I created a user named “kdedev” and a build and src directory in his home directory.
- get the QT sources and place it under /home/kdedev/src : git clone git://anongit.kde.org/qt
- Change into the result qt directory and configure qt: .configure -no-phonon -prefix <where/I/install/Qt>
- make install
voila, you have your working qt trunk installed in the home directory of a local user account…
After installing Ubuntu on my new Samsung Series 9 NP900X3A notebook, I was having massive problems with my wireless connection. The problem was, that the speed of the wireless connection was changing from full speed to transmitting nothing at all. After quite some googling and researching on the web, I found the solution.
and add the line:
options iwlagn 11n_disable=1
The wireless controller is from intel… after all, I’m quite happy with the new notebook…
Martin Fowler’s Website is teaching about the do’s and don’ts of handling flag arguments
A flag argument is a kind of function argument that tells the function to carry out a different operation depending on its value. Let’s imagine we want to make booking for a concert. There are two ways to do this: regular and premium .
If you are interested in improving your coding skills read the whole article.