Commandes en Vrac
cmd-line, geek stuff, some notes, ...
mardi 14 juin 2016
MySQL to CSV file
›
SELECT order_id , product_name , qty FROM orders WHERE foo = 'bar' INTO OUTFILE '/tmp/orders.csv' FIELDS TERMINATED BY ...
lundi 29 février 2016
VirtualBox install / config de base
›
* Config Clavier Mac sous Debian : https://lokan.fr/2013/12/11/configurer-correctement-son-clavier-mac-sous-debian/ XKBMODEL="pc105...
mardi 26 janvier 2016
Monitoring : POC around Monit + M/Monit
›
Monit + M/Monit OpenSouce, on bitbucket. https://bitbucket.org/tildeslash/monit/ First commit date 2014-01-23: https://bitbuck...
lundi 26 octobre 2015
Scripting : set variables depending how the where launched (terminal mode, cron/auto mode, ...)
›
You all know the deal : when you launch a command it (obviously) comes with all your environment variables. But when you want to cron it, no...
lundi 19 octobre 2015
MS Word shortcuts
›
Sometimes you're bound to use it for professional purposes... 3 shortcuts on MS-Word : Shift + F3 : change the current word t...
mardi 29 septembre 2015
Gnuplot by line (instead of columns)
›
In case you have some data not sorted by column (the easiet way to deal with gnuplot), and you want to plot it Gnuplot definition : (file...
lundi 21 septembre 2015
Flatten and XML file (perl)
›
This perl one-liner is useful in case you need to "flatten" and XML file. PERL_CONVERT=" use XML::Simple; print XMLout(XM...
vendredi 19 juin 2015
Ansible vs. Chef vs. Puppet vs. Salt
›
There are currently various tools to maintain automatically an infrastructure. The four listed below seem to be the main ones. · ...
1 commentaire:
jeudi 18 juin 2015
CVSS : Common Vulnerability Scoring System (v3) calculator
›
As explained in wikipedia:CVSS " Common Vulnerability Scoring System ( CVSS ) is a free and open industry standard for assessing the...
mardi 2 juin 2015
Replace all occurences of a string in a bunch of files by another string (in place)
›
Find all files on containing STRING_AAAA and replace it by STRING_BBBB in place (directly in the file). find . -type f -exec grep -l S...
‹
›
Accueil
Afficher la version Web