Good link related to this subject
http:/’/’www.usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/
Blog de Chrystophe Vergnaud
Good link related to this subject
http:/’/’www.usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/
[une réflexion sur l’usage de cette technique|http://www.usabilitypost.com/2013/’1’/07/when-infinite-scroll-doesnt-work/|en]
! install Xtext:
* use the add new software rom’ ‘the help menu:
url: http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
* select the version 2.1.x (the latest 2.4.x is ot’ ‘compatible)
* restart eclipse once completed
! install CoffeeScript pluggin
* use the add new software from the help menu:
url: ttp:/’/’coffeescript-editor.eclipselabs.org.codespot.com/hg/
* select CoffeeScript pluggin
Reminder to establish rsync connection from a windows server to a remote server
Use this link for CWRSYNC
Or install Cygwin and select RSYNC, SSH et openSSL package
C: cd c:/Program Files (x86)/cwRsync/bin rsync.exe -aivz --rsh="./ssh.exe -i C:/Users/bob/.ssh/id_rsa -p 8888" "/windows/backup/" "bob@backup.server.com:/var/backup"
the rsh command allow you to customize the connection particularly to change the default port (the -p option) and to point the right identity file (private rsa key) (the -i option)
for basic explanations please refer to rsync.net
Au passage les commandes pour un changement de la basedir et résolution du problème de read/write dans mysql.log lorsque selinux est mal configuré
rpm -q checkpolicy libselinux libselinux-python libselinux-utils libsemanage libsepol policycoreutils selinux-policy selinux-policy-minimum selinux-policy-mls selinux-policy-strict selinux-policy-targeted setroubleshoot setroubleshoot-server setroubleshoot-plugins setools
rpm -q mcstrans setools-gui policycoreutils-gui
semanage fcontext -a -t mysqld_db_t "/chemin/mysql(/.*)?"
restorecon -Rv /chemin/mysql
ausearch -m avc -ts today | audit2why
ausearch -m avc -ts recent| audit2allow
chcon -t httpd_sys_content_t -R /chemin/
semodule -l
ls -Z
semanage port -a -t http_port_t -p tcp 8081
‘* install SG drivers
* install oolbox.
*’ ‘the toolbox display an error unable to obtain twain source… »
To fix this: the path to twain32 driver is needed to be added into the PATH nvironment’ ‘variable :
C:\Windows\twain_32\CNQ4xxx (with xxx the version of the scan)
»’
$ yum install ntp
$ chkconfig ntpd on
go to http://www.pool.ntp.org/fr/ to find the right zone
$ ntpdate pool.ntp.org
$ /etc/init.d/ntpd start
$ ntpq -p
A kick reminder on pear installation.
yum install php-pear pear install -a Mail
apt-get install php-pear pear install -a Mail
Installation completed.
Now you can use pear to authenticate your SMTP connection.
‘install nsclientpp on windows server. I used version 2012-12-02.
in’ nsclient.ini:
in NRPE section check the port and ssl parameter. allow arguments
in external script section:
enable argument.
in alias section ‘/’settings/external scripts/alias]
define the alias command that you will call from nagios. it helps to reduce parameters on server side, cpu or process example elow’ ‘:
; alias_cpu – Alias for alias_cpu. To configure this item add a section called: /settings/external scripts/alias/alias_cpu
alias_cpu = checkCPU arn=80′ ‘crit=90 time=5m time=1m time=30s
; alias_process – Alias for alias_process. To configure this item add a section called: /settings/external scripts/lias’/’alias_process
alias_process = checkProcState $ARG1$=started »
; bob (test with py script)
alias_bob = bob
then in wrapped scripts maps he’ ‘alias to a real script located on windows
; A list of wrappped scripts (ie. using the template mechanism)
[/settings/external scripts/wrapped cripts]
‘ ‘check_updates = scripts\\check_updates.vbs
bob = bob.py
and at last’
‘To search xxx » in all files present in the folder C:\opt\myapp\Log’ :
open Powershell and type:
ls C:\opt\myapp\Log |ForEach-Object {select-string »C:\opt\myapp\Log\$_ » -pattern xxx} »’