Posts

Showing posts with the label computers

MySQL change root password

Image
To change the root password for the database in linux you use mysqladmin utility. The parameters you need to pass are: -u root the username used for logging in. In this case we want to be root obviously -p'currentPassword' the password for logging in. Notice there are no space between p and quote. password newPassword define the new password. So for example: mysqladmin -u root -p'myoldpassword' password mynewpassword

Outlook 2007 certificate install

Image
A time ago a wrote how to solve the certificate issue in Outlook 2010 . I was explaining how to set up Outlook 2010 with your own POP3 server in case you are using SSL authentication with self made certificate. While in Outlook 2010 you just needed to install your certificate, on Outlook 2007 the process for adding certificate is bit more complex so follow these steps to add your own created certificate to trusted publishers on windows machine. Start->run, or +R type "mmc" and hit enter On opened window choose File->Add/Remove Snap-In... From Availbale Snap-Ins select Certificates and click Add In new window choose Computer Account, press next Select Local computer: (the computer this console is running on) Click Finish, and click Ok Expand the folder Colsole Root->Certificates->Trusted root certification Right click on Certificiates, select All Tasks->import and now you need to import your SSL certificate. The easiest way to get your certificates is by saving...

Open file manager window from console

Some times you work in console, and need to open current path in file manager window. You can open any window and then navigate to location that is in your console path, or you can simply type xdg-open . & The "." means that you pass the current location to the command "xdg-open", and appending the "&" sign at the end will able you to detach xdg-open command from the console, so you still can contine to work on the console and keep the file manager window opened.

Adding Gnome 3 to Ubuntu 11.04

This works for Ubuntu 11.04. To install Gnome 3 on Ubuntu 11.04 you basically do sudo apt-get install gnome-shell and then switch to it doing gnome-shell --replace If after first command you get an error about unmet dependencies like gir1.2-atk-1.0 you might open Ubuntu Software Center and click Edit->Software Sources... and add "ppa:gnome3-team/gnome3". Or do it via terminal by running sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt-get update sudo apt-get dist-upgrade After that re-run the first command

Security certificates

Image
Well this has been annoying, so I will make a post as a reminder for myself. When connecting to mailserver with outlook through SSL you might get an error saying: The server you are connected to is using a security certificare that could not be verified. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. Do you want to continue using this server? And then question, whether or not you want to install the certificate. And even if you install the certificate, nothing changes. Next time the same warning pops up. This might be caused by several reasons, but mine was simple. Just make sure, that your POP3 server name is *exactly* the same as the server name the certificate is issued to. If in your configuration you type in IP, it will not work, because Outlook will think, that this is different server. To install certificate on Outlook 2007 follow these steps

Apollo new portal quick review

Image
I had this wonderfull chance to test www.apollo.lv upcomming portal version. In this quick review I’ll start with some imperfections, and finish with some good words afterwards. Probably the most notable and most visible drawback is that portal design lacks flexibility. I really like some competitor portals, mainly because their designs are fluid and takes advantage of higher screen resolutions. This is how new portal design looks at Full High Definition resolution. The code is not W3C valid. Although this is not extremely important, it usually shows, that coder cares about the code he writes, and is able to follow standards. I’ve tested portal loading performance for several times, and average complete site loading time was 10.5 seconds. So that could be faster. Latter site surfing performance is greatly improved when all of the files are loaded into browser cache, but still there are things to improve. One thing is that all JavaScript files that are loaded from one domain should ...

Tutorial. How to upload cat picture. Fun version.

In this tutorial, i will show you how to upload cat picture on any Pixaria image gallery. To do this I use tool called "Pixaria Gallery 2.3.5 Remote File Disclosure" which can be downloaded from wonderfull tool site called securityfocus.com. Here is finished example. Take a look .

Software compatibility problems for Windows 7

Image
Many times software developers for their product installation adds an OS version checks. OS version checks simply checks what version of OS user has, and in case their product is not fully tested on detected OS, installation is aborted. As Windows 7 for now is realively new OS, many older software, released prior to Windows 7 was announced, refuses to run on Windows 7, although they could run perfecty well, but because of OS version check failure, software can not be installed. To overcome this obsticle you need to simply run installation in compability mode. In most cases, what run on Windows Vista will run on Windows 7 as well. Just right click installation file and select TroubleShoot compability. One such example is WinPcap .

Change interface language of Google webmaster

Image
To change your Google webmaster interface language you need to set your browser language to whatever language is you need. Of course not the browser interface language, but the Accept-Language header browser sends. So, for example, this HTTP request to Google webmaster will return a Swedish version GET /webmasters/ HTTP/1.1 Host : www.google.com Accept-Language : sv,lv;q=0.8,lv;q=0.6,lv;q=0.4,en;q=0.2 But this is going to return an English one GET /webmasters/ HTTP/1.1 Host : www.google.com Accept-Language : en,lv;q=0.8,lv;q=0.6,lv;q=0.4,en;q=0.2 Where to configure browser headers differs from browser to browser, but for chrome it is under Options->Change font and language settings. I’m not sure that showing interface language based on headers is the best solution. I think much better would be if there was an option where to switch a language, just like it is for gmail.com .

Google webmaster and other Google product interface language

Image
There is something that is driving me nuts about Google webmaster? It's that i can not change the interface language to English. No really, I’ve tried like a zillion times, but somehow I just can’t figure it out. In Google products I always set English as my default language. I’ve even set that I live in U.K. so that Google do not dare to offer me Latvian. But somehow webmaster is different. It knows me. It knows me deep inside. It even scares me ;D. The reason why I prefer English over Latvian is pretty simple though – when the specific words are being translated into Latvian, in most cases text become unreadable, and I constantly need to think – now what's that word would be in English. Some examples include: Noildze – delay; Rādītājs - index; Iesūtne - inbox; Rāpuļprogramma - crawler; Not only words are confusing, but in many cases translation is ambiguous too. It can easily be seen, that translator did not take context into account. And today I was exceptionally upset, be...

Drupal first impressions

Image
As of 2009 Drupal is one of the leading opensource CMS on the web. Others worth mention would be Joomla and WordPress. There are two ways actually to create a Drupal based web page.   Easy way . No programming skills required. Download drupal from the drupal.org.  Extract contents onto your server public_html directory. Launch www.yourdomain.com/install.php and follow the instructions provided. After installation successfully completes: the following things can be performed - Adding a content to web site - Installing additional modules, wich can be downloaded from drupal module download page - Choose from existing themes from drupal theme page Advanced way At heart drupal contains a very a flexible module system. Module system not only provides scaleability, but also code reusability and structured manner into which the whole system is developed. And because developers share their modules, it really speeds up web site development. Because it's like code reusing among whole commun...

Difference between software architecture and design pattern

If you are like me, then time to time you wish there would be a site www.what-is-the-difference.com, where you could find the key differences between all two similar terms. Sometimes it's driving me nutts, when i know the deffinitions of both terms, but still i can't tell the difference. Today again i stubled against the question - what is the difference between software architecture and design pattern. So - it turns out the answer is as follows. "Software archecture is used in more abstract sense, talking about components of software and relationships between them, whereas programming design pattern is a programming style which might be used by programmer to achieve some particular benifit". Most of the times the benifit programmer gains is reduced complexity and scaleability. Hope this helps.