Quantcast
Channel: Just for fun ;-)
Browsing all 33 articles
Browse latest View live

Легко перебрать кодировки

При помощи данного цикла:for e in `iconv -l`; do echo $e; iconv -f $e /dev/null | less

View Article



Полезные комманды

dmidecode -- is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other...

View Article

Анонимность в сети

Torэто программный проект, который поможет вам защититься от "анализа потока данных"— разновидности сетевого надзора, который угрожает персональной свободе и приватности, конфиденциальности бизнес...

View Article

Тема GTK для Netbeans for Ruby

Устанавливается в netbeans.conf:--laf GTK

View Article

Удобная утилита для генерации паролей

pwgen - generate pronounceable passwordsПример использования:pwgen -A1 13A - использовать small case1 - вывести один пароль на строку13 - количество символов в пароле

View Article


Контролировать пропеллеры просто (DELL)

1. Download the tar zipped file from dellfand's site(http://dellfand.dinglisch.net), unzip it , cd into the folder and run 'make'. This produces the executable. You have done this already.2. As root,...

View Article

Забавно

Когда компьютер заражён вендой, другие вирусы и черви уже не представляют опасности.Заставить "разговаривать" винчестер (Linux way):cat /dev/sda | aplay -fdat

View Article

Время, создание образа директории

Use the date command with the -d parameter, and pass in a number of date increments in the future in days, minutes, years, months, or even weeks. For instance, to find the date 3 weeks in the future,...

View Article


Показывать прогресс при запущеной dd

dd is a generic command-line tool for copying files from 1 location to another. It is often used to copy entire disk images.Like many Linux command line tools, it operates silently unless something...

View Article


Get Directory Path of an executing Batch file (win)

Most people probably know that can use the variable %0 in a batch file to get the name of the executing batch file. However if you use that in conjunction with some batch parameter modifiers you can...

View Article

rsync usage

rsync --include-from=/tmp/include.txt --exclude-from=/tmp/exclude.txt -aRv ./src /tmp/destinclude.txt>>*.pdfexclude.txt>>*.*команда копирует из источника все файлы с расширением pdf.

View Article

Легко прибить процесс (win)

taskkill /F /IM прога /T/F Принудительное завершение процесса./IM Имя образа процесса, который требуетсязавершить. Для указания всех процессовможно использовать символ шаблона '*'./T Завершение...

View Article

Quickest way to send files on local network

On the receiving end:Code:nc -vv -l -p 1234 > filenameon the sending machine:Code:cat myfile | nc -c 192.168.1.22 1234Change IP and port (1234) if needed.

View Article


Restore files by grep

Шустро восстановить удаленные/потерянные/случайно_измененные текстовые файлы можно и грепомgrep -i -a -B10 -A100 'Строка или текст из файла, который потерпел катастрофу' /dev/sda1 > result.txt...

View Article

Как погасить питание на USB программно?

echo "suspend" > /sys/bus/usb/devices/usb2/power/levelecho "auto" > /sys/bus/usb/devices/usb2/power/level

View Article


android vibrator

To make vibrator works you need make few steps:1. in sources:Vibrator vb = ( Vibrator )getApplication().getSystemService( Service.VIBRATOR_SERVICE );vb.vibrate( 1000 );2. in application manifest:...

View Article

Переименовать группу файлов

Often over time, we will want to reorganize a group of files by renaming them.To rename *.txt to *.bak (e.g. to rename ham.txt to ham.bak)for f in *.txt; do mv "$f" "${f%.txt}.bak"; doneTo remove...

View Article


Find file by content in linux

grep -rIn 'what' where

View Article

Split large file

Have you ever want to split a large file into several small files? I’ve face this problem few days ago. I need to split a large file (3GB log file) into several smaller file where i can read it using...

View Article

Create bootable USB key with Windows 7 from Linux

1. dd if=/w7.iso of=/dev/sdx2. ms-sys -7 /dev/sdxLink to ms-sys in AUR (archlinux) 

View Article
Browsing all 33 articles
Browse latest View live




Latest Images

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.