Wednesday, 4 August 2010

SQL loader hangs when you have uncommited changes on tables you're trying to load to.

Monday, 2 August 2010

Sometimes you would prefer to use database engine to pass information between threads.
Idea from Multithreading - The Delphi Way. Martin Harvey.

Tuesday, 8 June 2010

Shell script to convert all files from 866 to cp1251 using iconv.

#! /bin/sh
for f in ../mac/*.mac
do 
 cp $f $f.old
 rm -f $f
 iconv -f 866 -t CP1251 $f.old>$f
done
rm -f ../mac/*.old
Find version:
find . -name '*.txt' -exec iconv --verbose -f windows-1252 -t utf-8 {} > {} \;

Friday, 28 May 2010

Replace text in multiple files

A simple perl command to replace all occurencies of 'RESULT_FAILURE' with 'RESULT_FAIL' in all *.sql files in current directory:

perl -pi -e 's/RESULT_FAILURE/RESULT_FAIL/g' *.sql

Wednesday, 16 April 2008

hosting

http://idcontent.com/2006/12/01/2-essential-questions-to-yours-hosting-provider/

обжимка rj45

Вот такая вот она должна быть, обжимка.
зел/бел
зел
оранж/бел
син
син/бел
оранж
коричн/бел
коричн

wget

wget [-t 0] [-i inputfile] [-c] [-o outputfile]
outputfile - log