Wednesday 8 April 2009

How to secure your PC from autostart/autorun viruses on flash

Introduction

This article has been inspired after reading of the another article devoted to mounted disks within Windows XP. To know details follow the link. Here i will briefly explain essentials from that article and will demonstrate how this feature can be applied for the subject. Of course, do not need to accept these instructions with high seriousness.

Sunday 5 April 2009

Prepare a request from an assoc.array

I am continuing (with sorry about this) to free from unused codes in my box. Meet next code - it allows to convert an assoc.array to an URL request and backward.

Highlight of selected words in html texts

Create hex-dump of string

Однажды я упражнялся в алгоритмизации простой задачи на PHP. Вот результат (с небольшими доработками перед отправкой сюда).

Bit collection from integer value

The next example of code that was appeared once without any historical bounds of it's appearance. Look. It collects all bits from an integer value into an array.

Saturday 4 April 2009

Extended floor and ceil functions

I do not remember why i done this. Maybe this was used somewhere. Maybe i had practised in algorithms simply. Do not remember. There are two functions allowing round fractions down/up accordingly divider.