Prihlásiť

Programming


Apache Core Features

12. 2. 2010 Zobraziť článok
Security Tips Apache Core Features

Formatted listing of the directory

Options +Indexes

If a URL which maps to a directory is requested, and there is no DirectoryIndex (e.g., index.html) in that directory, then mod_autoindex will return a formatted listing of the directory. #Options Directive

.htaccess tips and tricks

.htaccess file generator

http://corz.org/serv/tricks/htaccess.php#denied http://corz.org/serv/tricks/htaccess2.php
Zobraziť článok

Rounded Corners Techniques

8. 2. 2010 Zobraziť článok
  • Teaser Box: Flexible, Fixed width - one "as is" image and css background positioning
  • Rounded corners in CSS - CSS only technique works with browsers that support the :before and :after pseudoelements.
  • jQuery Corner - native border-radius rounding in browsers that support it (Firefox, Safari, and Chrome). So in those browsers the plugin simply sets a css property on the element. But in IE and for all browsers, choosing a pattern other than "round" requires the use of the "div stips" method.
  • Nifty Corner Cube - Javascript, GNU GPL licence

Native support

-moz-border-radius / -webkit-border-radius
-moz-border-radius-topleft  / -webkit-border-top-left-radius
-moz-border-radius-topright / -webkit-border-top-right-radius
-moz-border-radius-bottomleft / -webkit-border-bottom-left-radius
-moz-border-radius-bottomright / -webkit-border-bottom-right-radius

Zobraziť článok

Markdown

7. 2. 2010 Zobraziť článok

PHP Markdown is a port to PHP of the Markdown program written by John Gruber.

Markdownify is a HTML to Markdown converter.


Zobraziť článok

Distributed version control system

7. 2. 2010 Zobraziť článok

And the winner is...

Mercurial

Mercurial homepage

Alternatives

Git (Linux kernel)
Bazaar (Ubuntu)


Zobraziť článok

Social bookmarking

2. 2. 2010 Zobraziť článok

Social bookmarking je metóda pre internetových používateľov na ukladanie, organizovanie, vyhľadávanie a správu záložiek (bookmarkov) webových stránok na internete. Viac na Wikipédii...

Formát odkazu pre zdieľanie na najpoužívanejších sociálnych sieťach

Facebook

http://www.facebook.com/sharer.php?u=[URL]&t=[urlencode_TITLE]

Twitter

http://twitter.com/home?status=[urlencode_TITLE]+http://nawebe.net/v/[shortURL]

E-mail

mailto:?body=[URL]&subject=[rawurlencode_TITLE]

Digg

http://digg.com/submit?url=[URL]&title=[urlencode_TITLE]

Delicious

http://delicious.com/save?url=[URL]&title=[urlencode_TITLE]

Posterous

http://posterous.com/share?linkto=[URL]&title=[urlencode_TITLE]

Google Buzz

Zatiaľ to riešim cez Google Reader (16.02.2009):

http://www.google.com/reader/link?url=[ARTICLE_URL]&title=[urlencode_ARTICLE_TITLE]&srcTitle=[urlencode_SITE_TITLE]&srcUrl=[SITE_URL]

Keď to spravia za nás iní

<a href="http://www.addthis.com/bookmark.php"  class="addthis_button_expanded"><span class="share"> </span></a>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>

Grafika

Výsledok viď ikonky vpravo hore.

Spravil som ešte SHARE ikonku, ak by niekto chcel:

SHARE

Použité technológie a zdroje


Zobraziť článok

MySQL Administration

13. 8. 2009 Zobraziť článok

How to reset root password?

pkill mysqld
mysqld_safe --skip-grant-tables
mysql --user=root mysql
update user set Password=PASSWORD('my_pass') where user='root';
flush privileges;
exit;

Create database and grant user

mysql -u root -p
my_password
create database my_db;
grant all privileges on my_user.* to 'my_db'@'localhost' identified by 'my_pass';

Import sql file

use mydatabase
source filename.sql

Export/Import database

mysqldump -u username -ppassword database_name > dump.sql
mysql -u username -ppassword database_name < dump.sql

Zobraziť článok

JavaScriptObject – 3D models

15. 7. 2009 Zobraziť článok
JavaScriptObject is an application to publish 3D models via JavaScript http://finnrudolph.de/JavaScriptObject
Zobraziť článok