963 shaares
118 results
tagged
tips
Les opérateurs de recherche avancée sont des termes ou des symboles permettant d'effectuer des actions spécifiques lors des recherches dans Gmail. Ils vous permettent de trouver rapidement et avec précision les éléments que vous recherchez. Vous pouvez également les utiliser pour définir des filtres de façon à organiser automatiquement votre boîte de réception. Vous trouverez dans la liste ci-après certains des opérateurs les plus utiles. Pour affiner la recherche, il vous suffit de cliquer sur la flèche située dans le champ de recherche.
Yubikey : Configure your yubikey with pam
Local Authentication Using Challenge Response
The PAM module can utilize the HMAC-SHA1 Challenge-Response mode found in YubiKeys starting with version 2.2 for offline authentication. This mode is useful if you don’t have a stable network connection to the YubiCloud.
The PAM module can utilize the HMAC-SHA1 Challenge-Response mode found in YubiKeys starting with version 2.2 for offline authentication. This mode is useful if you don’t have a stable network connection to the YubiCloud.
The yubikey is a small device that act as a token generator for authentication system. Yubico build them and, as they're seen as a Universal Keyboard, they can be easily interfaced with any kind of system.
From generating OATH token, to One Time Password systems, going by Radius and OpenVPN server authentication, they can be used for a lot of funny things and, among other thing, it's free software (not free hardware, alas). The token is at $25 and you can order them by huge quantities.
Simply put, it's a good token for it's price and, given my threat model (my computer being stolen) it is enough.
From generating OATH token, to One Time Password systems, going by Radius and OpenVPN server authentication, they can be used for a lot of funny things and, among other thing, it's free software (not free hardware, alas). The token is at $25 and you can order them by huge quantities.
Simply put, it's a good token for it's price and, given my threat model (my computer being stolen) it is enough.
Avant tout un site personnel. Le but est d'y regrouper au mieux l'ensemble mon activité sur Internet à savoir :
Le blog, principalement orienté technique et high tech
Les liens intéressants sur lesquels je tombe chaque jour
Mes projets en cours, ou terminés
Le wiki sur lequel j'ajoute régulièrement des astuces et tutoriels sur différents sujets
Si j'ai une formation en ingénierie informatique, je ne suis programmeur que sur mon temps libre ; pour des projets personnels principalement, ou en freelance, ponctuellement. Mon métier est lui plus orienté architecture, SI et progiciels. Je vous laisse consulter mon CV si tout ça vous intéresse.
Je suis également rédacteur et webmaster du blog collaboratif aryo.fr. S'il n'a pas de ligne éditoriale définie, aryo.fr traite davantage d'actualités, souvent sur un ton plus engagé.
Le blog, principalement orienté technique et high tech
Les liens intéressants sur lesquels je tombe chaque jour
Mes projets en cours, ou terminés
Le wiki sur lequel j'ajoute régulièrement des astuces et tutoriels sur différents sujets
Si j'ai une formation en ingénierie informatique, je ne suis programmeur que sur mon temps libre ; pour des projets personnels principalement, ou en freelance, ponctuellement. Mon métier est lui plus orienté architecture, SI et progiciels. Je vous laisse consulter mon CV si tout ça vous intéresse.
Je suis également rédacteur et webmaster du blog collaboratif aryo.fr. S'il n'a pas de ligne éditoriale définie, aryo.fr traite davantage d'actualités, souvent sur un ton plus engagé.
How to generate a string with n characters in Python.
Quick answer to get a 10 characters x string :
string_val = "x" * 10
Quick answer to get a 10 characters x string :
string_val = "x" * 10
Ce document sert de mémo pour installer Postfix sur une Debian Testing, diffusé en espérant qu’il puisse servir à d’autres personnes.
Why do I see requests for foreign sites appearing in my log files?
Last week I noticed that my Apache access.log was growing rapidly, 400MB each day?! Looking at the log file it had only entries with requests for unknow URLs and my server replied with a HTTP 200 response, NOT GOOD! My Apache server was being abused as a proxy for other sites, argh! I did some research and found that my server was totally open for abuse. Mainly due to my lacking knowledge of Apache`s mod_proxy.
We aim to collect practical, well-explained bash one-liners, and promote best practices in shell scripting.
BASH offers three different kinds of pattern matching. Pattern matching serves two roles in the shell: selecting filenames within a directory, or determining whether a string conforms to a desired format. On the command line you will mostly use globs. These are a fairly straight-forward form of patterns that can easily be used to match a range of files, or to check variables against simple rules. The second type of pattern matching involves extended globs, which allow more complicated expressions than regular globs.
How can I use a logical AND/OR/NOT in a shell pattern (glob)?
rm -- *.bak *.old
rm -- *.{bak,old}
rm -- *.bak *.old
rm -- *.{bak,old}
pattern matching (also for bash)
Lesser known DNS tools and BIND tricks
I've got multiple Android devices and have a plethora of apps.
I've just done a factory reset on one in order to use it for development purposes only, however there are a couple of apps that I need that I've already paid for.
If I attach my Google account to this device, by default, the device will begin downloading all of my apps.. and while this is a good feature for some, I don't want all that crap on this device.
How can I prevent my device from automatically downloading apps when I attach my play account?
I've just done a factory reset on one in order to use it for development purposes only, however there are a couple of apps that I need that I've already paid for.
If I attach my Google account to this device, by default, the device will begin downloading all of my apps.. and while this is a good feature for some, I don't want all that crap on this device.
How can I prevent my device from automatically downloading apps when I attach my play account?
=> Problem with bad year for file /var/log/....
mv -f /var/lib/logrotate.status /var/lib/logrotate.status.$$; touch /var/lib/logrotate.status;
chown 0:0 /var/lib/logrotate.status; chmod 0644 /var/lib/logrotate.status;
# test:
/usr/sbin/logrotate -d /etc/logrotate.conf
# and force run:
/usr/sbin/logrotate -f /etc/logrotate.conf
mv -f /var/lib/logrotate.status /var/lib/logrotate.status.$$; touch /var/lib/logrotate.status;
chown 0:0 /var/lib/logrotate.status; chmod 0644 /var/lib/logrotate.status;
# test:
/usr/sbin/logrotate -d /etc/logrotate.conf
# and force run:
/usr/sbin/logrotate -f /etc/logrotate.conf