Skip to content

Instantly share code, notes, and snippets.

@hardware
hardware / 10-auth.conf
Last active March 29, 2017 07:02
/etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = yes
auth_mechanisms = plain login
!include auth-sql.conf.ext
@hardware
hardware / 10-mail.conf
Last active March 29, 2017 06:42
/etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:/var/mail/vhosts/%d/%n/mail
maildir_stat_dirs=yes
namespace inbox {
inbox = yes
}
mail_uid = 5000
mail_gid = 5000
@hardware
hardware / dovecot.conf
Last active March 29, 2017 06:32
/etc/dovecot/dovecot.conf
!include_try /usr/share/dovecot/protocols.d/*.protocol
protocols = imap lmtp
listen = *
!include conf.d/*.conf
@hardware
hardware / main.cf
Last active July 26, 2020 16:24
/etc/postfix/main.cf - Fichier de configuration de Postfix
#######################
## GENERALS SETTINGS ##
#######################
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
delay_warning_time = 4h
mailbox_command = procmail -a "$EXTENSION"
@hardware
hardware / levenshtein.js
Created July 9, 2014 08:26
Levenshtein distance
/*
Copyright (c) 2006. All Rights reserved.
If you use this script, please email me and let me know, thanks!
Andrew Hedges
andrew (at) hedges (dot) name
If you want to hire me to write JavaScript for you, see my resume.
@hardware
hardware / config.xml
Last active August 29, 2015 14:02
Exemple de gestion d'un fichier XML avec Qt
<?xml version="1.0" encoding="UTF-8"?>
<epandage>
<parametres>
<parametres_parcelle>
<nom>TEST</nom>
<longueur>455</longueur>
<largeur>22</largeur>
<volume_pulverise>27</volume_pulverise>
<volume_hectare>18</volume_hectare>
<?xml version="1.0" encoding="UTF-8"?>
<epandage>
<parametres_parcelle>
<nom>TEST</nom>
<longueur>455</longueur>
<largeur>22</largeur>
<volume_pulverise>27</volume_pulverise>
<volume_hectare>18</volume_hectare>
</parametres_parcelle>
</epandage>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@ Reversing Steam CEG Protection @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@ by Push_BirthDay_Ret @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@