суббота, 19 ноября 2011 г.

sdfsdf

http://www.oneddl.com/tag/Hell-on-Wheels+s01
prime-suspect
Person.of.Interest LOSTFILM
american-horror-story LOSTFILM
Pioneer.One
A.Lonely.Place.for.Dying.Part.1.2011.XviD-VODO
Death.In.Paradise
Death.Valley
http://www.oneddl.com/movies/puncture-2011-limited-720p-bluray-x264-amiable/

http://www.oneddl.com/tv-shows/national-geographic-mystery-files-king-arthur-720p-hdtv-x264-vild/
http://www.oneddl.com/tag/national-geographic/

пятница, 18 ноября 2011 г.

http://code.google.com/p/gerrit/
https://github.com/masone/gitosis-web-admin
http://gitblit.com/
http://gitorious.org/gitorious
http://forums.admon.org/linux-software/6073-best-web-interface-git-repositories.html
http://www.indefero.net/open-source/

среда, 9 ноября 2011 г.

Dynamic DIV Adding To Document



Div :

понедельник, 31 октября 2011 г.

TurnkeyLinux русский язык

Instead ru_RU.UTF-8 you can use any other encoding which are listed here
Вместо ru_RU.UTF-8 можно использовать любую другую кодировку, которые перечислены здесь
http://www.elxis.org/guides/developers-guides/elxis-languages-locales-li...

Редактируем файл /etc/environment
(Edit the file "/etc/environment")

nano /etc/environment

Вот как должен выглядеть вывод команды в «правильной» системе:
(Here's how to look at the output of the "correct" system:)

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANGUAGE="ru_RU.UTF-8"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"


Генерим русскую и английскую UTF-8 локали (Generating Russian & English UTF-8 Locales)
locale-gen ru_RU.utf8 && locale-gen en_US.utf8

Переконфигурируем локали (Reconfiguring locales)
dpkg-reconfigure locales

Определяем дефолтную локаль (Determine the default locale)
localedef ru_RU.UTF-8 -i ru_RU -f UTF-8

Для того, чтобы удалить из системы ненужные локали, заходим в папку
(In order to uninstall unneeded locale, go to the folder)

cd /var/lib/locales/supported.d
и правим, соответственно файлики en, ru и local.
(and edit respectively files en, ru, and local.)

echo "ru_RU.UTF-8 UTF-8" > ru
echo "en_US.UTF-8 UTF-8" > en
echo "ru_RU.UTF-8 UTF-8" > local

Перезагружаемся )) (Reboot)))
reboot

++ Всё SSH работает норм

далее
env LANG=C dpkg-reconfigure console-setup
reboot
всё теперь и не только SSH

понедельник, 26 сентября 2011 г.

http://www.harder.fm/
http://yp.shoutcast.com/sbin/tunein-station.pls?id=1295705

errorfm
http://yp.shoutcast.com/sbin/tunein-station.pls?id=1893119

DubStep

http://listen.di.fm/public2/dubstep.pls

http://www.cafecircus.ru/DANJAH_Radio64.pls

http://yp.shoutcast.com/sbin/tunein-station.pls?id=134593

!!! http://yp.shoutcast.com/sbin/tunein-station.pls?id=655104

среда, 14 сентября 2011 г.

Android SDK Offline

1. Устанавливаем (если не установлена) Oracle JDK (jdk-7-windows-i586.exe) (В комплекте)
2. Добавляем в переменную среды PATH путь к JDK (например c:\Program Files\Java\jdk1.7.0\bin)
3. Правим файл hosts (c:\WINDOWS\system32\drivers\etc\hosts), добовляем запись "127.0.0.1 dl-ssl.google.com"
Важно!!! порт 80 должен быть свободен на время установки Android SDK
4. Запускаем Abyss Web Server Х1 (abyssws.exe)
5. Вариант а - ручная установка Вариант б - рекомендует Google
5а. Распаковываем sdk_installer\android-sdk_rXX-windows.zip в папку куда будет установленно Android SDK и запускаем "SDK Manager.exe"
5б. Запускаем sdk_installer\android-sdk_rXX-windows.exe нажимаем "Next"))) тут сообщение что мол JDK не найдено)) ничего нажмите "Back" и потом снова "Next" и следуйте дальнейшим инструкциям по установке
6. В окне "Android SDK and AVD Mannager" в разделе "Settings" ставим галку как показанно на рисунке
pic
7. Далее выбираем и устанавливаем пакеты))
8. После усановки не забудьте закоментировать или удалить в файле hosts (c:\WINDOWS\system32\drivers\etc\hosts) запись "127.0.0.1 dl-ssl.google.com"
это понадобиться для обновления))
9. Удачи)))
З.Ы. Так же можно в принципе и по лану устонавливать)) на сетевом компе нужно будет в пункте 3 вместо 127.0.0.1 вписать IP веб сервера с репозиторием

пятница, 19 августа 2011 г.

auto lo eth0
allow-hotplug eth1

iface lo inet loopback

mapping eth0
script /usr/local/sbin/map-scheme
map HOME eth0-home
map WORK eth0-work

iface eth0-home inet static
address 192.168.1.1
netmask 255.255.255.0
up flush-mail

iface eth0-work inet dhcp

iface eth1 inet dhcp

http://manpages.ubuntu.com/manpages/hardy/man5/interfaces.5.html
https://help.ubuntu.com/10.04/serverguide/C/serverguide.pdf
http://help.ubuntu.ru/wiki/%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0_%D1%81%D0%B5%D1%82%D0%B8_%D0%B2%D1%80%D1%83%D1%87%D0%BD%D1%83%D1%8E

пятница, 12 августа 2011 г.

(\W(\d\.|\d\d\.|1\d\d\.|2[0-4]\d\.|25[0-5]\.){3}(\d|\d\d|1\d\d|2[0-4]\d|25[0-5]))\s*$
Spaces must be trimed

For
# # This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp
allow-hotplug eth0
auto eth0

#Example 4-1. Bridge setup via dhcp


iface br0 inet dhcp
allow-hotplug br0
pre-up ifconfig eth0 down
pre-up brctl addbr br0
pre-up brctl addif br0 eth0
pre-up ifconfig eth0 up
post-down ifconfig eth0 down
auto br0
post-down brctl delif br0 eth0

#In case you have static IP address add following lines to /etc/network/interfaces. Remember to replace tags below with your network information. Also if your network #interface card uses some other interface than eth0 replace it too.

#Example 4-2. Bridge setup statically

auto br0
iface br0 inet static address
netmask
network
broadcast
gateway
pre-up ifconfig eth0 down
pre-up brctl addbr br0
pre-up brctl addif br0 eth0
pre-up ifconfig eth0 up
post-down ifconfig eth0 down
post-down brctl delif br0 eth0

#Eth0 is now included in your bridge configuration. We need to add an another interface there too. This will be your Bluetooth device's interface. It is probably pan0. Add #the following lines to /etc/network/interfaces

#Example 4-3. Bluetooth device setup

auto pan0
iface pan0 inet manual
pre-up brctl addbr br0
pre-up brctl addif br0 $IFACE
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
post-down brctl delif br0 $IFACE

allow-hotplug eth0
iface eth0 inet static
address 192.168.11.100
netmask 255.255.255.0
broadcast 192.168.11.255
gateway 192.168.11.1
dns-domain lan
dns-nameservers 192.168.11.1

среда, 10 августа 2011 г.

http://www.easy-share.com/f/1326081279/Testing

четверг, 21 июля 2011 г.

QTP Tutorials

http://www.guru99.com/quick-test-professional-qtp-tutorial.html
http://www.videojug.com/film/interactive-qtp-online-training
http://www.youtube.com/profile?user=qtpelearn&feature=iv&annotation_id=annotation_998973

понедельник, 4 июля 2011 г.

The .NET Framework SDK provides a helpful utility called mgmtclassgen.exe, which can be used to create .NET-friendly wrappers of the WMI classes. Open up a Visual Studio command prompt and enter the following:

mgmtclassgen Win32_NetworkAdapter -p NetworkAdapter.cs

This will generate a file called NetworkAdapter.cs which will contain a C# representation of the WMI Win32_NetworkAdapter class. You can add this source code file to your C# project and then access all the properties without too much extra effort.

SelectQuery query = new SelectQuery("Win32_NetworkAdapter", "NetConnectionStatus=2");
ManagementObjectSearcher search = new ManagementObjectSearcher(query);
foreach(ManagementObject result in search.Get())
{
NetworkAdapter adapter = new NetworkAdapter(result);

// Identify the adapter you wish to disable here.
// In particular, check the AdapterType and
// Description properties.

// Here, we're selecting the LAN adapters.
if (adapter.AdapterType.Equals("Ethernet 802.3"))
{
adapter.Disable(); // for disable
adapter.Enable(); // for enable
}
}

hope this will help you.


http://www.eggheadcafe.com/community/aspnet/2/10308416/enable-disable-lan-connection-in-cnet.aspx

пятница, 1 июля 2011 г.

Manage Time in Ubuntu Through Command Line

What if you would like to manage your computer’s time in Ubuntu? It’s easy if you are in a graphical desktop environment. But what if you are on the command line? For example, in Ubuntu Server? Well, it is easy as well. A very helpful, everything-in-one-place resource is Ubuntu Time.

View Time

To view the current date and time, the following command will be enough

date

Set Time

To change time means to set a new time. To set time in Ubuntu (or any Linux), just run the following command

sudo date newdatetimestring

where newdatetimestring has to follow the format nnddhhmmyyyy.ss which is described below

  • nn is a two digit month, between 01 to 12
  • dd is a two digit day, between 01 and 31, with the regular rules for days according to month and year applying
  • hh is two digit hour, using the 24-hour period so it is between 00 and 23
  • mm is two digit minute, between 00 and 59
  • yyyy is the year; it can be two digit or four digit: your choice. I prefer to use four digit years whenever I can for better clarity and less confusion
  • ss is two digit seconds. Notice the period ‘.’ before the ss.

Let’s say you want to set your computer’s new time to December 6, 2007, 22:43:55, then you would use:

sudo date 120622432007.55

It couldn’t be any easier, could it? The source of this information was a good post on Ubuntu Forums (Set time/date via command line).

Change Time Zone

You may update or change your time zone by

tzconfig
dpkg-reconfigure tzdata (thanks to Mario, see comment below)

This command will guide you through the process of setting a new time zone. You may also choose UTC (GMT) if you want.

If your system does not have tzconfig, you may use something else.

tzselect

If your system does not have tzdata, install it as below:

sudo aptitude install tzdata

This will provide a set of different time zones to choose. If you would like to set the time to UTC, choose the option which says something like ‘none of the above’, or ‘none of these’ or something to this effect. In my case it was option 11. Then it asks for difference from UTC (GMT and GST is also the same thing). I chose GST-0 as the option and it set the time as UTC.

Sync Clock Via NTP

If you want to sync your clock with NTP servers, it is also very easy. Just make sure you have the file ntp.conf file in /etc. How can you check it?

ls /etc/ntp.conf

If you see /etc/ntp.conf as a result, you already have that file. If the ls command gives an error, you do not have it. If so, you may create it yourself.

sudo vim /etc/ntp.conf

This file will be used to automatic synchronization of the clock. I do not know if the client uses this file automatically or one has to configure something first. Thanks to Sean (see comment below): You need to install ntpd in order to make use of this ntp.conf file.

Whether you have the file already or not, make sure it has at least the following data

driftfile /var/lib/ntp/ntp.drift
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server pool.ntp.org

Here you may replace, add, and/or remove any servers you wish. You will find a list of time servers from the public NTP time server list.

You may manually sync the clock using the following

sudo ntpdate servername

where servername can be any public or private time server. You may always choose the following without hesitation

sudo ntpdate pool.ntp.org

If you don’t have ntpdate installed, you can install it via:

sudo aptitude install ntpdate

See, it was quite easy. Enabling NTP Services helped me gain this knowledge.

Cover your eyes, the devil nears

суббота, 25 июня 2011 г.

http://sourceforge.net/projects/openpages/files/openpages-utils/
LinuxSysInfo

http://www.softsoft.ru/search/12935/index.htm

Process And Port Analyzer

Process And Port Analyzer

Рейтинг:
Автор: OpenPages.info | Весь софт этого автора
Лицензия: Бесплатная
ОС: Windows 2003/Vista/XP/7


Программа отображает, какие программы используют порты, программа просмотра TCP и UDP соединений.
Скриншот Process And Port Analyzer
Скачать - 6,6 MB

TCPView

TCPView 2.54: детальный список всех TCP и UDP подключений

TCPView - Windows программа, которая покажет вам детальный список всех TCP и UDP endpoints на вашей системе, включая удаленный адрес и состояние TCP подключений.

TCPView обеспечивает удобно представленный поднабор программы Netstat, которая поставляется с Windows.

воскресенье, 5 июня 2011 г.

Screamo Radio

BEST

other
other2

понедельник, 23 мая 2011 г.

ZOHO ManageEngine SupportCenter Plus Настройка исходящей почты

На примере Ubuntu Server Настройка исходящей почты:

Код:

1.find / -name mysql-ds.xml
2.cat /root/ManageEngine/SupportCenter/server/default/deploy/mysql-ds.xml
3.jdbc:mysql://localhost:33356/supportcenter 33356 it’s mysql local port
4.root DB UserName
5. DBUserPassword
6.сd /root/ManageEngine/SupportCenter/bin
7.Запускаем Приложение если не запущенно
8.юзаем Navicat Mysql для коннекта к БД через ssh или чтото другое=)
9.добавляем в таблицу “outgoingmail” новую запись с ID = 1!!! Остольное и так понятно по названиям столбцов
10.наслаждаемся =)))

+ Если возникает проблема что почта всётаки не отправляется, гляньте в лог возможно это связанно с сертификатами JAVA
на всякий случай вот настройка сертификатов:

Код:

1. Apt-get install python-software-properties
2. add-apt-repository ppa:sun-java-community-team/sun-java6
3. apt-get update
4. apt-get install sun-java6-jdk
5. wget http://blogs.oracle.com/andreas/resource/InstallCert.java
6. javac InstallCert.java
7. java InstallCert hostname:port
8. cp ./jssecacerts ./ManageEngine/SupportCenter/jre/lib/security/

вторник, 3 мая 2011 г.

magnet:?xt=urn:btih:5AA6A160A7470B00E4B3D0EE824333FB7C934CA7

MAIN LINKS
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_1xtra?cb=41992
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_radio_one?cb=43505
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_radio_two?cb=61208
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_radio_five_live?cb=42079
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_radio_five_live_sports_extra?cb=5310
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_6music?cb=44494
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_7
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_asian_network
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_world_service
http://www.bbc.co.uk/iplayer/console/bbc_radio_scotland
http://www.bbc.co.uk/iplayer/console/bbc_radio_ulster
http://www.bbc.co.uk/iplayer/console/bbc_radio_wales
http://www.bbc.co.uk/iplayer/console/bbc_radio_cymru
http://www.bbc.co.uk/iplayer/console/bbc_radio_foyle
http://www.bbc.co.uk/iplayer/console/bbc_radio_nan_gaidheal
http://www.bbc.co.uk/iplayer/console/bbc_london
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_london?cb=54386

http://www.bbc.co.uk/iplayer/console/bbc_radio_merseyside

Clasica http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_radio_three?cb=44494
BBC Radio 1
http://www.bbc.co.uk/radio/listen/live/r1.asx
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_he_radio1_p
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_he_radio1_q
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio1_p
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio1_q

BBC Radio 1xtra

http://www.bbc.co.uk/radio/listen/live/r1x.asx

http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_he_1xtra_p
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_he_1xtra_q

http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_1xtra_p
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_1xtra_q

BBC Radio 2
http://www.bbc.co.uk/radio/listen/live/r2.asx
BBC Radio 5-1
128k
http://www.bbc.co.uk/fivelive/live/surestream_int.ram
http://www.bbc.co.uk/radio/listen/live/r51.asx

To Watch

  1. BBC Horizon - Are We Still Evolving ? (2011)
  2. BBC Horizon - Predators in Your Backyard (2011)
  3. BBC Horizon - Science Under Attack (2011)
  4. BBC Horizon - The Secret World of Pain (2011)
  5. BBC Horizon - What is One Degree ? (2011)
  6. BBC Horizon - What Is Reality ? (2011)

четверг, 28 апреля 2011 г.

ftp://tweedle-dee.org/uploads/Botva/

четверг, 21 апреля 2011 г.

RealPlayer 11+ WMV Files

1. wmp11-windowsxp-x86-ru-ru.exe
2. RealPlayer 11
Here download link for "RealPlayer 14.0.1.609".
source

Наконец-то вроде финальная русская версия WMP11 вышла. И наконец-то (с помощью подсказки с одного форума) я решил проблему безболезненной установки этого продукта. А так не проходила проверку валидности и никакие WGA не помогали.

* Короче идем к дядюшке Биллу и скачиваем Windows Media Player 11 Final Русская версия
* Дальше это дело не запускаем, а распаковываем RAR'ом этот файл (wmp11-windowsxp-x86-ru-ru.exe) в отдельную папку.
* Запускаем из этой папки файл ‘wmfdist11.exe’.
* Следуем инструкциям англоязычного инсталлятора.
* Перезагружаемся.
* Теперь запускаем из папки файл ‘wmp11.exe’.
* Следуем инструкциям русскоязычного инсталлятора.
* Перезагружаемся.
* Наслаждаемся установленным Windows Media Player 11
И никаких проверок на подлинность :(
У меня усановка прошла без вопросов и проблем!

пятница, 15 апреля 2011 г.

Pol TV

mms://85.8.187.102:8081 tv Polonia
mms://85.8.187.103:8081 Polsat 2
mms://85.8.187.104:8081 tvp kultura
mms://85.8.187.105:8081 tvp 3
RTSP://69.9.41.75/TVPolonia


WORK
mms://stream.sferatv.pl:8080 512 KB/s
mms://stream.sferatv.pl:8081 1.7 MB/s

mms://stream.mni.pl/ITV
mms://195.94.205.211/Trwam
mms://mediaserver01.artcom.pl/ctv
mms://tv.bs.katowice.pl:8880
mms://stream.star.net.pl:8080/
mms://217.113.224.22/TVToya
mms://82.139.8.249/dami/
http://pl.delicast.com/tv/Polska

http://beelinetv.com/

http://www.polishforums.com/archives/2009/society-culture-38/polish-tv-internet-8086/2/

понедельник, 11 апреля 2011 г.

bginfo


http://download.sysinternals.com/Files/BgInfo.zip
http://gas-station.ru/?p=433

utorrent on Ubuntu server

https://public.me.com/jason.e.clark

wget https://public.me.com/ix/jason.e.clark/uTorrent/Linux%20Server/deb/utorrent-server_3.0-24733_i386.deb?disposition=download+1302523138975 -O utorrent-server_3.0-24733_i386.deb

Ubuntu server Upgrade to new version

Network Upgrade for Ubuntu Servers (Recommended)

  1. Install update-manager-core if it is not already installed:

    sudo apt-get install update-manager-core
  2. Launch the upgrade tool:

    sudo do-release-upgrade
  3. Follow the on-screen instructions.

понедельник, 4 апреля 2011 г.

Music which i love=)

  1. junior_caldera_feat._sophie_ellis_bextor_-_cant_fight_this_feeling_radio_edit
  2. blue cafe - buena 2011
  3. Robyn - Indestructible
  4. Feel - Weekend
  5. Natalia Kukulska - Wiernosc Jest Nudna

пятница, 25 марта 2011 г.

ССЫЛКИ НА СКАЧИВАНИЕ ПОЛЬСКИХ ФИЛЬМОВ:

http://peb.pl/
http://ewarez.pl/ewarez/
http://www.sdcv.pl/
http://all-4u.pl/
http://ewarez.eu/
http://dvdfanatic.pl/
http://megatorrent.pl/
http://e-torrent.pl/
http://www.warezisko.net/
http://all-4u.pl/
http://bitnova.info/
http://torrentbay.pl/
http://www.warezdark.com/
http://bitstrefa.net/torrenty/
http://torrentcity.pl/
http://karagarga.net/
http://other.pl/
http://tnttorrent.info/
http://darmowefilmy.eu/
http://torrenty.org/
http://forum.wiaderko.com
http://ssaki.org/
http://dvdfanatic.org
http://wilzone-x.pl/Forum-Polskie-Filmy-i-Seriale
http://nedds.pl/forum/220-filmy-polskie/page__s__f5ecd4e8ee71803c0fd533c33fe55313
http://precyl.pl/filmy-po-polsku/

ПОЛЬСКИЕ ФИЛЬМЫ ОНЛАЙН:
http://podawarka-filmowa.blogspot.com/2009/07/filmy-polskie.html
http://www.seans24.pl/index.php
http://www.qfilmy.pl/
http://www.playtube.pl/index.php
http://nafilmy.pl/polskie

четверг, 24 марта 2011 г.

Free ONLINE TV

http://americafree.tv/

пятница, 18 марта 2011 г.

Open SSL Static

http://www.bowmansolutions.com/mingw-openldap/

+
Поэтому очень советую чтобы для openssl использоваете ./config no-shared zlib enable-rfc3779 . в смысле лучше static link между mod_ssl


http://www.codealias.info/technotes/des_encryption_using_openssl_a_simple_example

All WORK =))))

http://stackoverflow.com/questions/3943412/can-i-link-msvcrt-statically-with-mingw

http://www.metalshell.com/source_code/108/OpenSSL_Server_Example.html

четверг, 17 марта 2011 г.

http://krez0n.org.ua/

вторник, 15 марта 2011 г.

LDAP + PHP + C++(Qt)

http://pdf.sp-atelier.ru/ldap/

http://api.kde.org/4.5-api/kdepimlibs-apidocs/kldap/html/annotated.html
kldap

http://www.userbooster.de/en/download/openldap-for-windows.aspx

https://laas.mine.nu/uclibc/openldap-2.1.30/libraries/libldap_r/

понедельник, 14 марта 2011 г.

QT Modal Dialog

For using Modal Dialogs in QT u must
1) setWindowModality(Qt::WindowModal);
2) exec();
3) Only exec() instead show()

суббота, 12 марта 2011 г.

Changing default storage engine in MySQL

It took me a while to find the answer to this, so I thought I'd share it to avoid anybody else wasting time with this. I needed to change the default storage engine so Django would use innoDB rather than MyISAM. Otherwise, it seemed to take the default.

You first need to locate the MySQL config file named my.cnf. On CentOS 5.2 it is located at /etc/my.cnf but this will probably vary across platforms.

Then in that file find the [mysqld] and add add the following line below it as shown below.

[mysqld]
default-storage-engine = innodb

Finally, make sure you restart MySQL.

service mysqld restart

It's pretty easy wen you know how, and you'll now had transactional tables by default.

Alterantivaley though, you could use a much better database.

пятница, 11 марта 2011 г.

MySQL charsets

Для перенастройках самого MySQД-сервера на UTF-8 следует внести изменения в MY.CNF (желательно в каталоге /etc для *nix) или MY.INI:

character-sets-dir=/путь_к_папке_с_чарсетами # если запросит...
default-character-set=utf8

Выглядеть это должно так:

[mysql]
default-character-set=utf8


[mysqld]
default-character-set=utf8

... после чего перезагрузить MySQL-сервер

вторник, 1 марта 2011 г.

Kerio

How to enable SSH
in Kerio apliance
ALT F2
Login:root
Password:adminPW
for test ... start-ssh

automatic run...
vi /etc/default/ssh
edit RUN_SSHD=no
to RUN_SSHD=yes
save
reboot
link

вторник, 22 февраля 2011 г.

Shop.NET Known Bugs

MesaVerde228
Здраствуйте =)
MesaVerde228
Вообщем Баг есть если отображать сумму заказа в гриде заказов но теперь он не 25 сек а ~0.5 сек
MesaVerde228
это функция new_fn_OrderFinalSumm
в процедурах
sp_get_dcard_orders
sp_get_orders_by_Date_Ex1
sp_get_dcard_orders
repo_get_orders_by_DCard_Ex1
repo_get_orders_by_Date_Ex1

понедельник, 21 февраля 2011 г.

Бесплатные СУБД.

Бесплатные СУБД.

PostgreSQL:
автор
- есть и блокировочный и версионный(MVCC) механизм транзакций
- есть распределенные запросы и распределенные транзакции (есть двуфазный комит)
- есть секционирование (таблиц и индексов), реализуется через наследование таблиц и трегеы
- есть мат.представления, но оптимизатор НЕ умеет переписывать запросы если данные можно взять из матвью
- есть встроенные механизмы репликаций


В Firebird
автор
- есть версионный(MVCC) механизм транзакций
- есть распределенные запросы и НЕТ распределенных транзакций (НЕТ двуфазного комита)
- НЕТ секционирование (таблиц и индексов)
- НЕТ мат.представления
- НЕТ встроенные механизмы репликаций (но есть внешнее ПО)


В MySQL
автор
- есть и блокировочный MyISAM и версионный(MVCC)InnoDB механизм транзакций (на разных движках)
- есть распределенных запросы и НЕТ распределенных транзакций (НЕТ двуфазного комита)
- есть секционирование (таблиц и индексов)
- НЕТ мат.представления
- НЕТ встроенные механизмы репликаций (но есть внешнее ПО)



Платные СУБД в бесплатных редакциях.

MS SQL 2008R2 Express (Ограничение БД 10ГБ, CPU 1шт, ОЗУ 1ГБ)
автор
- есть и блокировочный и версионный(MVCC) механизм транзакций
- есть распределенные запросы и НЕТ распределенных транзакций (НЕТ двуфазного комита) (возможность создания федеративных серсверов начинается с Enterprise)
- НЕТ секционирование (таблиц и индексов)
- НЕТ мат.представления
- есть встроенные механизмы репликаций (Только подписчик)


ORACLE 11g Express (Ограничение БД 4ГБ, CPU 1шт, ОЗУ 1ГБ)
автор
- есть и блокировочный и версионный(MVCC) механизм транзакций
- есть распределенные запросы и есть распределенные транзакции (есть двуфазный комит)
- НЕТ секционирование (таблиц и индексов)
- есть мат.представления (но оптимизатор НЕ умеет переписывать запросы если данные можно взять из матвью)
- есть встроенные механизмы репликаций (Только подписчик)

пятница, 11 февраля 2011 г.

internet tv

Сводка недоступна. Нажмите эту ссылку, чтобы открыть запись.

среда, 2 февраля 2011 г.

Sennheiser RS160

понедельник, 31 января 2011 г.

To Watch

MOM AND DAD SAVE THE WORLD (1992)
The Green Hornet 2011
Extraterrestrial 2011
Battle: Los Angeles 2011
White Wall 2010
Vanishing On 7th Street 2010
I am Number Four
Heartless
Priest 13 May 2011
Sanctum 2010
Never Let Me Go "Us release date : 15 september 2010"
Monsters "Us release date : 29 october 2010"
Mars 2010
Love 2010 A movie directed by William Eubank
Hybrid 2010
Hunter Prey 2010
Earthling 2010
Downstream 2010
Arctic Blast 2010
15 Till Midnight 2010 http://www.youtube.com/watch?v=qUncOZ_EHIs
Seventh Moon
Necromentia
Psych 9
7 Days
THE BLACKOUT (2010)
The Invited - Trailer HD (2010)
Office 2010: The Movie

вторник, 25 января 2011 г.

Mercurial + VS

https://bitbucket.org/zzsergant/hgsccpackage/downloads

Qt + Berkley DB

http://qbdb.cvs.sourceforge.net/viewvc/qbdb/qbdb/src/driver.cpp?revision=1.1&view=markup
214 397 627

MinGW + libmysql staticaly

Не заработает !!!!!!!!!!!
http://www.mingw.org/wiki/MSVC_and_MinGW_DLLs
http://forum.codeby.net/lofiversion/index.php/t18682.html
!!!!
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.vc/2005-04/msg00731.html

http://nwn.virusman.ru/trac/nwnx4/browser/trunk/lib/mysql/mysqlclient.lib?rev=90

http://yassl.com/forums/topic64-need-help-linking-simple-app-with-vs2008.html

http://www.eggheadcafe.com/forumarchives/platformsdknetworking/Feb2006/post25948687.asp

Interest link

link

понедельник, 24 января 2011 г.

CMAKE TEST_BIG_ENDIAN Error

source
John Wakeman wrote:

I usually get round it by changing the following line in CMakeLists.txt (round about line 109) from :

# determine system endianess
include(TestBigEndian)
test_big_endian(OGRE_TEST_BIG_ENDIAN)

to:

# determine system endianess
#include(TestBigEndian)
#test_big_endian(OGRE_TEST_BIG_ENDIAN)
set(OGRE_TEST_BIG_ENDIAN FALSE)

Building MySQL Connector/C from the Source Code

source

Building MySQL Connector/C from the Source Code

Obtaining the Source Code

A TAR file containing the source code can be downloaded from the MySQL Developers site. You will need to select the source code package from the drop down list.

The source code for development releases of the connector can be found at Launchpad. The project home page can be found here.

The source code for the 1.0 branch can be found here.

To obtain the code you will need to have Bazaar installed and use the command bzr branch lp:libmysql.

  • Building on Unix

    Examples of supported Unix or Unix-like operating systems include:

    • Solaris

    • Linux

    • HP-UX

    • AIX

    • OS X

    Compiler Tools

    Ideally, the native compiler tool set for the target platform is used for compilation. This would be SunStudio for Solaris and aCC for HP-UX for example. However, the GNU tool-chain can be used across all platforms.

    You also need CMake 2.6 or newer, which is available online.

    To Build

    If using GNU AutoTools change to the MySQL Connector/C source directory and follow the procedure below.

    1. To generate the makefile enter:

      shell> cmake -G "Unix Makefiles"

      or for a Debug build enter:

      shell> cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug
    2. Then build the project using:

      shell> make

    To Install

    By default make install will install the MySQL Connector/C files in the /usr/local directory. You can change this behavior by specifying another directory when generating the makefile:

    shell> cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/mypath

    Now, in the root shell, enter the following to install the MySQL Connector/C libraries and tools:

    root-shell> make install

    At this point all of the MySQL Connector/C files will be in place.

  • Building on Microsoft Windows

    Older versions of Microsoft Windows are not supported. Supported versions are Windows 2000, Windows XP, Windows Vista, Windows Server 2003, or Windows Server 2008.

    Compiler Tools

    Microsoft Visual Studio 8 and 9 are recommended. The Express Edition of Visual Studio and other compilers may work, but are untested.

    You also need CMake 2.6 or newer, available at http://www.cmake.org

    To Build

    You need to have the environment variables set for the Visual Studio toolchain. Visual Studio includes a batch file to set these for you, and installs a shortcut into the Start menu to open a command prompt with these variables set.

    Build MySQL Connector/C using the CMake command-line tool by entering the following from the source root directory in a command prompt window:

    shell> cmake -G "Visual Studio 9 2008"

    This produces a project file that you can open with Visual Studio or build from the command line with either of:

    shell> devenv.com libmysql.sln /build Release
    shell> devenv.com libmysql.sln /build RelWithDebInfo

    For other versions of Visual Studio or nmake based build, run the following command:

    shell> cmake --help

    to check the supported generators.

    To compile the Debug build, you must run set the CMake build type so the correct version of external libraries are used:

    shell> cmake -G "Visual Studio 8 2005" -DCMAKE_BUILD_TYPE=Debug

    Followed by:

    shell> devenv.com libmysql.sln /build Debug

    To Install

    To create a install package you can choose between two variants:

    1. Creating a Zip package

    2. Creating an MSI install package

    • Zip package

      To create a Zip package, run the cpack command from the root of your MySQL Connector/C source directory.

    • MSI Install package

      The required tools include Windows XML Installer toolset (WIX), which is available online.

      To create the MSI install package change to the subdirectory win and generate the makefile:

      shell> cmake -G "NMake Makefiles"

      Create the MSI install package by calling nmake:

      shell> nmake

Build Options

The following options can be used when building the MySQL Connector/C source code:

Build Option Description
-DWITH_OPENSSL=1 Enables dynamic linking to the system OpenSSL library.
-DWITH_EXTERNAL_ZLIB=1 Enables dynamic linking to the system Zlib library.

воскресенье, 23 января 2011 г.

Qt project file

For my Qt project, I use this scheme in *.pro file:

HEADERS += src/dialogs.h
SOURCES
+= src/main.cpp \
src
/dialogs.cpp

Release:DESTDIR = release
Release:OBJECTS_DIR = release/.obj
Release:MOC_DIR = release/.moc
Release:RCC_DIR = release/.rcc
Release:UI_DIR = release/.ui

Debug:DESTDIR = debug
Debug:OBJECTS_DIR = debug/.obj
Debug:MOC_DIR = debug/.moc
Debug:RCC_DIR = debug/.rcc
Debug:UI_DIR = debug/.ui

It`s simple, but nice! :)

MySql Static windows

Все работает но только с майкрософтовским компилером, значит
libmysql.lib - динамическая библиотека
mysqlclient.lib - статическая

просто заменил libmysql.lib на mysqlclient.lib и все работает без зависимостей
Тема исчерпана

Writing ODF Files with Qt

text
sources

суббота, 22 января 2011 г.

Програмно выбрать элемент в QListView

#include QApplication
#include
QListView
#include
QStringListModel

int main( int argc, char **argv )
{
  QApplication app( argc, argv );
  QListView list;
  QStringListModel model;
  QStringList strings;
  strings << "foo" << "bar" << "baz";
  model.setStringList( strings );
  list.setModel( &model );
  QModelIndex index =model.index(1);
  list.selectionModel()->select(index, QItemSelectionModel::Select);
  list.show();
  return app.exec();
}

четверг, 20 января 2011 г.

IBM

Введение в среду Google C++ Testing Framework
http://www.ibm.com/developerworks/ru/library/au-googletestingframework/index.html

Автоматизация для программистов:
Автоматизированная миграция баз данных
http://www.ibm.com/developerworks/ru/library/j-ap08058/index.html
Параллельная разработка для простых смертных
http://www.ibm.com/developerworks/ru/library/j-ap10078/index.html

Работаем с Mono. Часть 1: Основные принципы Mono, инструменты, создание простейшего приложения
http://www.ibm.com/developerworks/ru/library/os_mono1/index.html

Communigate: Часть 3. Настройка почтового домена, учетных записей пользователей
http://www.ibm.com/developerworks/ru/library/l-communigate_3/index.html

Безопасный Linux: Часть 6. Система мандатного контроля доступа Smack
http://www.ibm.com/developerworks/ru/library/l-apparmor-6/index.html

Системы управления версиями для Linux
http://www.ibm.com/developerworks/ru/library/l-vercon/index.html

Mercurial: введение в распределённые системы контроля версий
http://www.developers.org.ua/lenta/articles/mercurial-step-by-step-dvcs-intro/
Mercurial: основы.
http://www.developers.org.ua/lenta/articles/mercurial-basics/
Mercurial: расширения.
http://www.developers.org.ua/archives/piranha/2008/10/06/mercurial-extensions/

Лекция «Введение в Subversion» + VIDEO
http://team.custis.ru/2009/09/subversion.html

Личный опыт разработки ПО
http://www.devexp.ru/2009/11/sistemy-upravleniya-versiyami-na-primere-subversion-vvedenie/

Managing Software Development with Trac and Subversion By David J Murphy
Publisher: Packt Publishing 2007 | 120 Pages | ISBN: 1847191665 | PDF | 2 MB
http://book-vl.ru/book/nauka_ucheba/12238-managing-software-development-with-trac.html

Организация совместной разработки ПО на базе SVN+DocBook+Mantis

IBM Системы резервного копирования и управления IT-активами предприятия

Системы резервного копирования и управления IT-активами предприятия

IBM To Read

To Read

Распределенная система управления версиями Git.
Часть 1: Введение
Часть 2. Структура и философия Git
//--------------------------------------
Управление исходным кодом с помощью Git

IBM

Groove Armada - My Friend

Groove Armada - My Friend

Rootwater - Hava Nagila

Source Version Control GIT + QtCreator

сем привет!
Хочу описать процесс создания репозитория Git на удалённом сервере и прикручивания его к QtCreator'у на Windows и Linux машинах.
Данный пост может быть использован для создания не большого howto в wiki. Но требует дополниний..
Ну а в крайнем случае, это будет моей маленькой памяткой))


Устанавливаем на рабочую машину msysgit и прописываем новую переменную серды PERL со значением C:\Program Files\Git\bin


На сервере делаем:
useradd -m gituser
passwd gituser
cd /home/gituser
mkdir example.git
cd example.git
git init --bare


теперь идем на нашу рабочую машину и пишем:
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-user@remote-host
cd mysources
git init
git remote add origin ssh://username@example.com/home/gituser/example.git
git add --all
git commit -a -m "Initital commit"
git push origin master

Это можно сделать в консольке msysgit'а.

Таким образом, мы залили на сервер наш исходник.
В креаторе создаём новый проект из репозитория git.
Всё! Можно пользоваться. Креатор склонирует репозиторий с сервера в тот каталог, который вы указали и загрузит проект. Можно работать с локальным репозиторием достаточно долго. И переодически синхронизировать его с репозиторием на сервере.

Таким образом я теперь могу писать и собирать программы как на машине с виндовсом так и с линуксом. А так же, появилась возможность коллективной работы над одним и тем же проектом.

ЗЫ: Утилиты ssh-copy-id нет в msysgit'е. Я сделал это с другой линуксовой машины. Но можно и составить файл авторизации вручную.

ЗЗЫ: Прошу сильно ногами не пинать. Это всего лишь черновик..

Source Version Control

MS Shell Integrators
TortiseSVN
TortiseHG
TortiseGit
For Visual Studio
VisualSVN
VisualHG
Git Extensions
For QtCreator
Slik-Subversion
Mercurial
Git
Perforce
Repositories Hostings
Perforce Public Depot
Mercurial or code.google.com
SVN
Gitorius

My Choice gitorius=)

вторник, 18 января 2011 г.

Qt Mysql Plugin

Для сборки MySql плагина, с версии mingw32 4.0 reimp не нужен.
Вот для себя небольшую инструкцию написал.

Компиляция клиента MySql для студии QtCreator и компилятора Mingw32.

.1 переконфигурирование исходников Qt.

Код:
cd c:\Qt\2010.02.1\qt\
configure.exe -debug-and-release -confirm-license ^
-plugin-sql-sqlite -plugin-sql-mysql -plugin-sql-odbc -qt-libpng -qt-libjpeg -openssl ^
-opensource -no-incredibuild-xge -dont-process -no-qmake

Важный параметр -dont-process который говорит qmake не делать переконфигурирование, а только обновить кеш настоек. Значительно ускоряет этап конфигурирования. Основные настройки при которых была собрана Qt можно увидеть в файле configure.cache.

.2 Сборка плагина QMySQL

Код:
cd c:\Qt\2010.02.1\qt\src\plugins\sqldrivers\mysql
qmake -o Makefile "INCLUDEPATH+=c:/Qt/MySql/include" "LIBS+=c:/Qt/MySql/lib/opt/libmysql.lib" mysql.pro
mingw32-make

.3 Установка
Необходимо скопировать библеотеку libmysql.dll в папку c:\Qt\2010.02.1\qt\bin

SubVersion Repo

link for DocClient
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro
­l\Keyboard Layout]
@=""
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,37,e0,00,00,54,00,00,00,00,00

отрубаются Printscreen и ALt Printscreen после перезагрузки.

воскресенье, 16 января 2011 г.

420 455 983

вторник, 11 января 2011 г.

QT TreeView

link

The Interview Framework (QListView)

Sharing a Model Between Views

In this example, we display the contents of a model using two different views, and share the user's selection between them. We will use the QDirModel supplied with Qt because it requires very little configuration, and provides existing data to the views.

The main() function for this example demonstrates all the principles involved in setting up a model and two views. We also share the selection between the two views:

    int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QSplitter *splitter = new QSplitter;

QDirModel *model = new QDirModel;
QTreeView *tree = new QTreeView(splitter);
tree->setModel(model);
tree->setRootIndex(model->index(QDir::currentPath()));

QListView *list = new QListView(splitter);
list->setModel(model);
list->setRootIndex(model->index(QDir::currentPath()));

QItemSelectionModel *selection = new QItemSelectionModel(model);
tree->setSelectionModel(selection);
list->setSelectionModel(selection);

splitter->setWindowTitle("Two views onto the same directory model");
splitter->show();
return app.exec();
}
source

QT independed tutorial (Qt v3)

link

понедельник, 10 января 2011 г.

qt +add dynamic widgets

//pushButton->setObjectName(QString::fromUtf8("pushButton"));
    //pushButton->setGeometry(QRect(310, 20, 75, 23));
    QPushButton *button = new QPushButton(this);
    button->setText("Hello");
    button->setGeometry(QRect(31, 31, 31, 31));
    this->ui->pushButton->setEnabled(false);
    QObject::connect(button, SIGNAL(clicked()), this, SLOT(View_MSG()));
    //button.parent(this->ui->DialogXX);
    button->show();
    return;

среда, 5 января 2011 г.

qt russian text on windows in console application

add to the top of main()

#ifdef Q_WS_WIN
    setlocale( LC_ALL, ".1251" );
#endif