Posterous theme by Cory Watilo

Filed under: tool

SQL*PLUS vs ; --

Az SQL*PLUS nem enged -- kommentet tenni az utasítást lezáró ; után.

Vim to the rescue:

:buffdo!%s:;\s\+--:;\r--

(És akkor már ez is, mert persze megint túl hosszú számot küldtek...

:bufdo!%s:\('\d\{12\}\)\d':\1':

)

Mi lenne velem nélküle?

 

Kell

Kiwix: An Offline Reader for Wikipedia!

Wikipedia is an excellent resource, and, let’s be honest, it can be quite fun to get lost in it for hours at a time. However, to read Wikipedia, you need to be connected to the Internet, and not everyone has access to the World Wide Web 24 hours a day. Have you ever been stuck away from home and desperately needed to look something up, only to see no available wireless networks on your netbook, tablet, or laptop? It’s a problem that has frustrated many since the birth of Wikipedia, and finally, an offline reader for Wikipedia has become available.

Kiwix is a neat little program that allows users to read content from Wikipedia offline. Using ZIM files, Kiwix displays articles exactly as they would appear on Wikipedia (pictures and all!), and also provides some functions that are used in web browsers (such as the ability to use tabs and bookmarks). Combine this with links to other articles, options, like selecting a random article to view, and it’s easy to forget that this is only an offline version of Wikipedia!

Free unlimited SVN and GIT, and much more

Free unlimited SVN and GIT, and much more

Posted by Andy Singleton on Wed, Apr 14, 2010 @ 06:00 AM


This is a huge day for Assembla repository users. We are now offering free, privately permissioned, encryption enabled, unlimited user, full gigabyte, commercial quality subversion and git repositories, and that is just the beginning.

Our free private repository spaces have only the Source/svn or Source/git tool. If you want more tools, like tickets, collaboration, ftp, etc you'll have to add your space to a paid subscription plan.  

To grab your free private repository select the free svn or git entries from the catalog, or by forking an existing repository. You can get the free repository without a subscription, or add an unlimited number to your existing subscription.

Why did we do it?

  1. Because we love you and we want you to give you free unlimited commercial-quality repositories, and it's the right thing to do.  Now there is no excuse for not using a professional quality repository to handle any software work.

Mert a GitHub-on csak a nem privát az ingyenes.

I do LOVE Vim! part III.

Ha egy nagyon hosszú Vim parancsot, akar az ember végrehajtani (mint pl. ez: :%s:^\([A-Z_]\+\)$:select 'update linc.systwodb_rasth set \1 = '||case when sr.ccy != 'HUF' then round(cl.\1,2) else round(cl.\1) end ||' where racc_no = '''||cl.racc_no||''' and \1 = '||cl.\1||' ; ' from linc.systwodb_rasth cl, rasth_tizedes sr where sr.racc_no = cl.racc_no and ( ( sr.ccy = 'HUF' and round(cl.\1) != cl.\1 ) or ( sr.ccy != 'HUF' and round(cl.\1,2) != cl.\1) ) ;\rselect 'commit;' from dual ;\r), akkor sokkal célszerűbb egy külön – akár ideiglenes – bufferben megírni, majd belemásolni a sort egy regiszterbe, és kiadni a :@<regiszter> parancsot.

:help :@

(A fenti az nem is hosszú Vim parancs, hirtelen belepislantva a history-ba, a leghosszabb 1211 karakter volt J…)