subscribe
апреля 2, 2013

http://www.feofilaktov.ru/page/baza-gorodov-rossii-sql

http://geo.webnabor.com/?link=16

No
Comments
марта 28, 2013

Отличный ресурс, на котором можно сгенерировать любой индикатор: Тыц

No
Comments
марта 27, 2013

http://aboutubuntu.ru/content/antivirus-dlya-ubuntu-prosto-i-nadezhno

No
Comments
марта 5, 2013

Например, у вас есть форма, в которой несколько кнопок. Как в JQuery определить, какую кнопку нажали. Для этого, надо добавить скрытый элемент, в нем и будет хранится имя нажатой кнопки

Пример формы:

1
2
3
4
5
6
<form>
   <input id="button_action" type="hidden" name="button_action" />
   <input type="submit" name="test 1" value="test 1" />
   <input type="submit" name="test 2" value="test 2" />
   <input type="submit" name="test 3" value="test 3" />
</form>

Обработчик JQuery:

1
2
3
4
5
6
7
8
9
10
11
12
<script type="text/javascript">
    $(document).ready(function (){
      $('input[type=submit]').click(function(){
        $('#button_action').val($(this).attr('name'));
      });
 
      $('form').submit(function(){
        console.info($(this).serialize());
        return false;
      })
    });
</script>

Источник

No
Comments
февраля 16, 2013
1
2
3
4
5
6
7
8
9
10
pre {
	white-space: pre;           /* CSS 2.0 */
	white-space: pre-wrap;      /* CSS 2.1 */
	white-space: pre-line;      /* CSS 3.0 */
	white-space: -pre-wrap;     /* Opera 4-6 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap;  /* HP Printers */
	word-wrap: break-word;      /* IE 5+ */
}

Источник

No
Comments
февраля 1, 2013

One of the most important parts of a torrent site is definitely the search engine. It is probably the first thing people are going to use, and a bug free search form will greatly improve user experience. In this tutorial, we are going to implement a Browse section including torrent details columns, paging, and a form which will be used to filter results based on search queries.

Continue reading Как создать свой торрент. Часть 4.

No
Comments
февраля 1, 2013

In this third part of the tutorial (Parts I & II here), our goal is to show some information about our torrents and users. We’ll go through a bunch of tips and snippets that any developer may find useful while developing a torrent site, such as some util functions to display relative times, friendly sizes and a tree with files and folders.

Article republished with permission from Valadiléne.org - source here.

Continue reading Как создать свой торрент. Часть 3.

No
Comments
февраля 1, 2013

In the previous part of this guide, we have seen how to run the XBTT tracker on our server and built a basic torrent download system with passkey support. Now we need a way to upload our torrents, so in this second part we’ll see how to create a fully working upload form featuring validation of metainfo .torrent files, including checks such as MIME type, private flag, announce URL, and torrent hash to detect duplicates.

Continue reading Как создать свой торрент. Часть 2.

1
Comment
февраля 1, 2013

Итак. Как-то захотелось мне создать свой торрент трекер. Исключительно из любви к искуству. Я начал с того, что погуглил, какие движки есть на данный момент. Их было несколько. Больше всего отзывов было у XBT.  Но это был голый торрент трекер, т.е. к нему надо было писать свой сайт, а хотелось, чтобы был и сайт и движок сразу. В итоге был найден Torrent Pier II. Это фактически полный аналог рутрекера. Форум, к которому прицеплен трекер. Я его установил, покопался и понял одну вещь, что невозможно на один топик несколько торрентов. А это ужасно неудобно. Например, для фильмов было намного удобнее иметь один топик о фильме и несколько торрентов с разным качеством (как это сделано на кинокопилке, например).

В итоге, пришлось вернуться к XBT и начать писать к нему сайт. Но обо всем по порядку.

В этой части, я расскажу, как установить XBT Tracker и настроить его.

Continue reading Как создать свой торрент. Часть 1.

2
Comments
февраля 1, 2013

http://filesharefreak.com/2009/06/24/how-to-create-a-torrent-tracker-with-php-xbtt-part-1

http://filesharefreak.com/2009/07/15/how-to-create-a-torrent-tracker-part-2-upload-form

http://filesharefreak.com/2009/08/17/how-to-create-a-tracker-part-3-torrent-user-details

http://filesharefreak.com/2009/09/07/how-to-create-a-torrent-tracker-part-4-search-engine

No
Comments