Commit Graph

132 Commits

Author SHA1 Message Date
Jeremy Gardais 5c495fff26 Add a "vim" pager (need a less.vim macro). 2015-01-30 12:00:39 +01:00
Jeremy Gardais b049232a9d Dynmotd: rename the occur_num function into get_pattern_count
get_pattern_count: add a expected value and compare this one and the
number of occurrence to choose the color.
2015-01-28 17:47:55 +01:00
Jeremy Gardais 023c284f01 Dynmotd: Remove the awk command to get number of occurrence .. useless
with a regex for grep.
* A function return the number of occurrence with a color (green:=0;
* red:!=0).
2015-01-28 17:25:37 +01:00
Jeremy Gardais 2469487031 Dynmotd: add a find command to get the last auth.log file and print the
number of sudo and ssh auth failed.
2015-01-28 16:31:33 +01:00
Jeremy Gardais f001d412de Dynmotd: some fix (tabs instead of white spaces, $(cmd) instead of
`cmd`, ... )
2015-01-28 16:29:24 +01:00
Jeremy Gardais 58ad3f3232 Rewrite a dynmotd script in full sh. 2015-01-28 11:28:46 +01:00
Jeremy Gardais 17d0b679f9 Add shell_color.sh a tiny script to show how to use color with a shell
(classic sh).
2015-01-28 10:12:01 +01:00
Jeremy Gardais 63bc985178 Correct variables name in flac_to_mp3 script: error if the variable
content had white spaces.
2014-12-09 14:04:26 +01:00
Jeremy Gardais 596fdf9f85 Add a new script to rename the commit username of a git repo. 2014-12-09 14:03:22 +01:00
Jeremy Gardais cb520c65ef Snapsend:
* Send an email for the daily snapshot with the log in content
  * Add the hostname in the mail's subject (async and daily)
2014-11-20 14:30:29 +01:00
Jeremy Gardais 8d48656d2f Small script to take ZFS snapshot periodically and send it to a remote
host.
Will be replace by zfSnap soon (many pull request to add a send option),
maybe in v2.1.
2014-11-18 16:02:20 +01:00
Jeremy Gardais 1bf4739b66 Add zfSnap script from the legacy branch of the github project:
https://github.com/zfsnap/zfsnap/tree/legacy

Usefull to take snapshot with Timestamp and TTL
2014-11-18 15:49:57 +01:00
Jeremy Gardais ab1cf814fa Correct the var name: file -> FILE ... 2014-10-24 15:07:03 +02:00
Jeremy Gardais ed4432c18e Add a script to generate windows with zenity and bash. 2014-10-21 23:21:09 +02:00
Jeremy Gardais 543b702cb7 Add some scripts for dmenu. To rewrite :) 2014-10-21 23:18:29 +02:00
Jeremy Gardais 453d61e0eb Small script for wakeonlan. 2014-10-21 10:51:09 +02:00
Jeremy Gardais 2c7143e4d0 Add link to download LinuxMint Debian Edition. 2014-10-21 10:42:21 +02:00
Jeremy Gardais 73967a5c65 A script to switch my keyboard and WM configuration bépo <-> azerty 2014-10-20 15:26:16 +02:00
Jeremy Gardais cd75df8ea8 Small script to download last version of some Linux ISO for a Easy2Boot
usb key.
2014-10-20 15:24:52 +02:00
Jeremy Gardais 472ecbdc54 Rename flac_to_mp3.sh to flac_to_mp3
Correct arguments for the avconv command.
2014-09-28 14:12:13 +02:00
Jeremy Gardais dd6f5182c0 An old script to send sms from a gmail account. Probably not working but
the syntax could be a useful example :)
2014-09-26 00:54:30 +02:00
Jeremy Gardais 601a65af98 Add some other scripts from Ivan Tikhonov. 2014-09-26 00:42:26 +02:00
Jeremy Gardais 1f8dd205cb Add a script to show informations of a process. 2014-09-26 00:33:44 +02:00
Jeremy Gardais 8444e5d130 Add scripts to manage Wii and Xbox 360 gamepad.
... Maybe old scripts
2014-09-26 00:27:42 +02:00
Jeremy Gardais 2de4d35c3e Add a script to get a quote from danstonchat (dtc, bashfr, ...). 2014-09-26 00:19:23 +02:00
Jeremy Gardais 733983417e Add some useful greasemonkey scripts. 2014-09-25 23:38:43 +02:00
Jeremy Gardais 859e859785 Add script to manage xrandr 2014-09-25 23:37:13 +02:00
Jeremy Gardais c8600773b3 A script to resize images with convert.
TODO: add a verification of the arguments
2014-09-23 23:54:24 +02:00
Jeremy Gardais 5e1a08bf60 Add a script to convert a flac file (or all flac files in a directory)
to mp3.
2014-09-23 23:19:32 +02:00
Jeremy Gardais 064410359d Test update README :) 2014-09-23 11:36:56 +02:00
Jeremy Gardais c542dee1b3 Sécurise un peu plus la mise en veille. 2014-09-23 01:11:00 +02:00
Jeremy Gardais 440f660603 First commit. 2014-09-22 23:00:59 +02:00