Блог программиста

  • про блог
Иллюстрация летящей птицы.
  • opencms

    Debian lenny+mysql+tomcat5.5+opencms1. редактируем /etc/apt/sources.list – добавляем non-freeчто-то вроде:deb http://mirror.yandex.ru/debian lenny main non-freedeb-src http://mirror.yandex.ru/debian lenny main non-free 2. aptitude install sun-java6-jdk3. aptitude install tomcat5.54. aptitude install mysql-server 5. открывем /etc/tomcat5.5/policy.d/50user.policyгрантим права grant codeBase “file:${catalina.home}/bin/tomcat-juli.jar” { permission java.io.FilePermission “${catalina.base}/webapps/opencms/WEB-INF/classes/logging.properties”, “read”;}; grant codeBase “file:/var/lib/tomcat5.5/webapps/opencms/-” { permission java.security.AllPermission;};Важно! не забыть добавть ‘;’ в конце

    7 августа, 2009
  • vsftpd

    Если нужно быстро поднять ftp-сервер под debianapt-get install vsftpdконфиг файл как всегда в /etc/vsftpd.conf и включаемanonymous_enable=YESwrite_enable=YESanon_mkdir_write_enable=YESanon_other_write_enable=YESсоздаем в /home/ftp папку tmp, делаем ее доступной для записи,например так chmod +w /home/ftp/tmpвсе… и никогда не делаете это на доступных из вне серверах

    6 августа, 2009
  • Чтобы заработал enhancer от DataNucleus нужно в NetBeans Project Properties -> Build / Compiling -> Turn Off “Compile on Save”

    29 июня, 2009
  • jsecurity

    Разобрался с jsecurity (который сейчас Апач Ки – apache ki) документация слабая.Лучше делать так: Смотреть исходники, запустить под дебагом и вкуривать Просмотреть что написано здесь

    25 июня, 2009
  • hibernate+mysql+autocommit

    Отключаем AUTOCOMMIT 1. в файле hibernate.cfg.xml указываем:false 2. когда создаем табличку указываем тип InnoDB CREATE TABLE (…) TYPE=InnoDB;

    17 июня, 2009
  • отключить бип в терминале по табуоткрываем/etc/inputrc ставим set bell-style none

    6 июня, 2008
  • Scala и UTF-8

    При работе со Scala в Netbeans возникают проблемы с русскими буквами.Нужно1. *.scala должны быть в UTF-82. в C:\Program Files\NetBeans 6.1\etc\netbeans.confдобавить к параметру netbeans_default_options значение: -J-Dfile.encoding=UTF-8

    5 июня, 2008
  • Чтобы пользоваться gwt-ext http://gwt-ext.com/нужно еще скачать extjs – http://extjs.com/products/extjs/download.phpи положить его в нужное место

    4 июня, 2008
  • Парсер для SWIFT’а

    Для разбора SWIFT сообщений можно использовать opensource реализацию WIFE

    30 мая, 2008
  • setReadOnly vs setDisabled

    в gwt-ext у текстовых полей можно вызывать setReadOnly(true), он покрайне мере эстетичней отрисовывает поля по сравнению setDisabled(true)

    29 мая, 2008
←Предыдущая страница
1 … 12 13 14 15
Следующая страница→

Блог программиста

Работает на WordPress

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT