Dans mon todo : passer sur la version communautaire de Shaarli
Peut etre utile pour cc à la souris dans un split vim ou screen!
Aussi pour cc plusieurs lignes dans vim sans prendre la column number :)
Both processes and threads are independent sequences of execution. The typical difference is that threads (of the same process) run in a shared memory space, while processes run in separate memory spaces.
The exec built-in command mirrors functions in the kernel, there are a family of them based on execve, which is usually called from C.
exec replaces the current program in the current process, without forking a new process. It is not something you would use in every script you write, but it comes in handy on occasion. Here are some scenarios I have used it;
Cela permet au serveur de présenter plusieurs certificats pour la même adresse IP
Lorsqu'un client initie une connexion TLS, il demande un certificat électronique au serveur web ; une fois que le serveur a renvoyé le certificat, le client l'examine et compare le nom de domaine qu'il essaye de joindre avec le ou les noms inclus dans le certificat. Si une correspondance est trouvée, la connexion continue comme d'habitude. Sinon, l'utilisateur est généralement prévenu d'un problème et la connexion est alors interrompue, puisqu'un tel problème peut signaler une tentative d'attaque de l'homme du milieu. Cependant, certaines applications autorisent l'utilisateur à passer outre l'avertissement, et se connecter tout de même, l'utilisateur prenant alors seul la responsabilité de la confiance envers le certificat concerné.
Sympa la description du workflow!
On retrouve pas mal de principe de gtd
J'aime aussi la séparation de la collecte et du traitement, c'est indispensable
Show what will be deleted with the -n option:
git clean -f -n
Then - beware: this will delete files - run:
git clean -f
Framework counterpart.
In config/initializers, you will find a file called inflections.rb. There are some instructions in here, but you will want something along the lines of:
ActiveSupport::Inflector.inflections do |inflect|
inflect.irregular 'bonus', 'bonuses'
end
Table de correspondance emoji entres différents softs/plateformes
Un cours en français qui a l'air très bien. Via sametmax sur twitter
Hop, je serai moins bête l'an prochain :
PNG is already a compressed data format. Compressing it with GZIP is not likely to decrease the size, and can in fact make it larger.
The need for X-Accel-Redirect (and it’s sibling X-Sendfile) comes from two distinct requirements
The need to deliver large files.
The need for those files to not be available to the public.
Ok donc cet article m'a été vraiment utile.. à garder en cas d'autres problèmes avec ES
for shard in $(curl -XGET http://localhost:9200/_cat/shards | grep UNASSIGNED | awk '{print $2}'); do
curl -XPOST 'localhost:9200/_cluster/reroute' -d '{
"commands" : [ {
"allocate" : {
"index" : "t37",
"shard" : $shard,
"node" : "datanode15",
"allow_primary" : true
}
}
]
}'
sleep 5
done
letsencrypt frontend
This website is static, so it can be saved and loaded locally. Just right-click and "Save Page As.."!
Released under MIT license | Source code: https://github.com/diafygi/gethttpsforfree