Archyvas

‘Informacinės technologijos’ Kategorijos archyvas

Windows Vista atnaujinimai – negi negana?!…

Kovas 2nd, 2010 Ernestas Kardzys 2 komentarai

Vakar galutinai užlūžo mano nešiojamas kompiuteris su Windows Vista OS. Tad teko perinstaliuoti.

Su mano nešiojamu Asus kompiuteriu buvo licencijuota Windows kopija. Neaišku, kaip ten instaliavo, bet tai užtruko dvi valandas: pradžioje Windows Vista, poto Asus priedai. Aišku, aš žinojau, kad dar reikia atsisiųsti atnaujinimus…

Šiandien prijungiau savo kompiuterį prie interneto – 300 MB atnaujinimų. Na, siunčiamės… Tačiau praėjo jau 4-ios valandos, o dar suinstaliuota tik 80 iš 102 atnaujinimų. Laukiu pabaigos…

P.S. Visas procesas truko 4h 50 min :)

Kategorijos:Informacinės technologijos Raktažodžiai:

Can not login to Joomla administrator page

Vasaris 19th, 2010 Ernestas Kardzys Nėra komentarų

Yesterday I had a problem: I couldn’t connect to administrator page of Joomla.

After some gooogling I found out, that there has to be no blank lines in configuration.php file and (in my case): THIS FILE HAD TO BE ENCODED AS ANSI, NOT AS UTF8.

I have no idea why…

Ubercart images do not show up!

Vasaris 19th, 2010 Ernestas Kardzys Nėra komentarų

I have installed latest version of Ubercart (currently – 2.2.) and I had one problem.

I posted a new product, attached image to it, but those images do not show up. Well, and solution is quite simple.

For Drupal 6 you need to enable: CCK, Imagefield, Imagecache, ImageAPI modules and (that was my problem) ImageAPI GD2 OR ImageAPI ImageMagick. I suggest enabling ImageAPI GD2, but it’s up to you and your server configuration.

Kaip surasti mobiliojo ryšio operatorių pagal telefono numerį

Turite telefono numerį ir nežinote, kokio ryšio tiekėjo jis yra (Tele2, Bitės, Omnitel ir t.t.)? Tada šios svetainės Jums padės:

http://www.rrt.lt/nnp/

http://nnpas.numeris.lt/wpnquery/pnQuery.html

Dėkui Aurimui už nuorodas :)

Sony Ericsson SDK && Eclipse && JAVA

Lapkritis 25th, 2009 Ernestas Kardzys Nėra komentarų

I tried to install Sony Ericsson SDK with my Eclipse IDE.

I found awesome tutorial how to do that: http://randomconsultant.blogspot.com/2008/07/creating-j2me-app-with-eclipseme-and.html

WordPress RSS full entries do not show up!

Lapkritis 16th, 2009 Ernestas Kardzys Nėra komentarų

If you have a blog with WordPress, you probably use RSS for your website. Unfortunately, WordPress doesn’t want to show the full entries of RSS feeds – only summary.

To show the full blog post, you need:

  • Go to Settings->Reading  and select Full text.
  • The open a file wp-includes/feed-rss2.php. By default it has  this code at the end:

<…Other PHP code…>

<guid isPermaLink=”false”><?php the_guid(); ?></guid>
<?php if (get_option(‘rss_use_excerpt’)) : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php if ( strlen( $post->post_content ) > 0 ) : ?>
<content:encoded><![CDATA[<?php the_content() ?>]]></content:encoded>
<?php else : ?>
<content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>
<?php endif; ?>
<?php endif; ?>

<… More PHP code…>

  • Change it to look like that:

<…Other PHP code…>

<guid isPermaLink=”false”><?php the_guid(); ?></guid>
<?php if (get_option(‘rss_use_excerpt’)) : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_content() ?>]]></description>
<?php endif; ?>

<… More PHP code…>

So: remove additional if()s-else()s and instead of content:encoded write description

Happy blogging!

Reikalavimai vairuotojams arba programuotojams

Spalis 5th, 2009 Ernestas Kardzys 8 komentarai

Jei vairuotojams įsidarbinant būtų keliami tokie pat reikalavimai kaip programuotojams, skelbimas apie ieškomus darbuotojus atrodytų taip: “Siūlome darbą vairuotojui. Reikalavimai: aukštasis išsilavinimas, profesionali darbo patirtis vairuojant troleibusus, tramvajus, traukinius, laivus, funikulierius, metro, ekskavatorius bei atomines elektrines. Ralio varžybų bei lėktuvo dispečerio patirtis būtina. Kandidatas privalo turėti patirtį gaminant dyzelinius variklius bei turbinas. Taip pat, būtina turėti BMW, Mercedes, KamAZ, ir Boeing inžinieriaus sertifikatus. Gali būti studentas. Privalumai: darbo patirtis tiesiant kelius, dažant kėbulus. Atlyginimas: 600 litu.”

Šaunu, a? ;)

Kategorijos:Džiaukai, Informacinės technologijos Raktažodžiai:,

How to access “icons” directory of Apache installation?

Rugsėjis 8th, 2009 Ernestas Kardzys Vienas komentaras

By default Windows Apache directory looks like that:

2009.09.08  21:31    <DIR>          .
2009.09.08  21:31    <DIR>          ..
2004.11.21  13:50            15.159 ABOUT_APACHE.txt
2009.09.08  21:27    <DIR>          bin
2009.09.08  21:27    <DIR>          cgi-bin
2009.08.06  02:33           102.237 CHANGES.txt
2009.09.08  21:27    <DIR>          conf
2009.09.08  21:27    <DIR>          error
2009.09.08  21:27    <DIR>          htdocs
2009.09.08  21:27    <DIR>          icons
2008.09.18  13:16             4.835 INSTALL.txt
2009.08.06  16:15            36.833 LICENSE.txt
2009.09.08  21:29    <DIR>          logs
2009.09.08  21:27    <DIR>          manual
2009.09.08  21:27    <DIR>          modules
2009.08.06  16:15             1.323 NOTICE.txt
2008.10.15  08:22             1.650 README-win32.txt
2007.01.10  00:50             6.094 README.txt

The point is that I have a file index.html which is located in htdocs directory. The file index.html needs a file apache_pb.gif from icons directory. So, how can file htdocs/index.html access the file icons/apache_pb.gif?

One way is to make a copy of icons directory and paste it into htdocs.

But I did in other way. I edited the file httpd.conf and added the fallowing lines:

Alias /icons/ “C:/Program Files/Apache Software Foundation/Apache2.2/icons/”
<Directory “C:/Program Files/Apache Software Foundation/Apache2.2/icons/”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

My index.html looks like that:

<html>
<body>
<img src=”/icons/apache_pb.gif” alt=”Apache Logo” />
</body>
</html>

It works! :)

“Fortakas” vėl dirba!

Rugpjūtis 27th, 2009 Ernestas Kardzys 6 komentarai

Į savo gerąją “Mozilla Firefox” interneto naršyklę įkeverzojau www.fortakas.lt ir atsidariusiame puslapyje radau, kad buvęs “Fortako” direktorius įsteigė naują įmonę “Novanet”, kuri pasižada nemokamai remontuoti “Fortako” garantinę įrangą. Valio!

Taip pat rašo, kad studentams (tradiciškai) bus taikomos žemesnės kainos. Puiku!

Prekyba prasidės rugsėjo 2-ą dieną, rugsėjo 10-ą bus galima užsisakyti prekes per interneto sistemą.

Kągi – linkiu sėkmės naujai/senai įmonei :) Pirksim prekes :)

Kategorijos:Informacinės technologijos Raktažodžiai:

How to improve the speed of apt-get

Rugpjūtis 5th, 2009 Ernestas Kardzys Nėra komentarų

When I was in Austria, I use the Austrian servers for updating my Ubuntu system. Unfortunately, I am in Lithuania right now, so dowloading updates from Austria takes some time (the speed is 20 kBps). So, I how to improve the speed of apt-get?

The answer is very simple: just use the servers which are closer to you. You can add the addresses into /etc/apt/sources.list, or you can do in more convienent way:

  1. Select System -> Administration -> Software Sources.
  2. In the tab “Ubuntu Software”, select “Download from” -> “Other…” and press “Select best server” and “Close” :)

Good luck ;)