Skip to content

Instantly share code, notes, and snippets.

View llaumgui's full-sized avatar

Guillaume Kulakowski llaumgui

View GitHub Profile
@llaumgui
llaumgui / .jshintrc
Created September 3, 2014 11:31
My JSHint configuration file (.jshintrc).
{
"bitwise": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
@llaumgui
llaumgui / .csslintrc
Created September 3, 2014 11:30
My CSSLint configuration file (.csslintrc).
{
"ids": false,
"import": false,
"important": false,
"unique-headings": false,
"floats": false,
"font-sizes": false
}
@llaumgui
llaumgui / REDME.md
Last active July 6, 2018 18:19
Install of Redmine on CentOS6/RHEL6 with ruby193 from SCL/RHSCL.

Prerequisite

  • Disable SELinux
setenfoce 0
  • Install SCL 1.0
sudo yum -y install centos-release-SCL
@llaumgui
llaumgui / 01megacli
Last active August 29, 2015 13:57
File to put in /etc/cron.daily to check the status of a card LSI MegaSAS 9260.
#!/bin/bash
#
# Check LSI MegaSAS 9260 status
#
# Global
STATUS1=`megacli -AdpAllInfo -aALL -NoLog | egrep '(Degraded|Failed)' | grep -v ' 0' | grep -v ': No'`;
if [ "x$STATUS1" != "x" ]; then
megacli -AdpAllInfo -aAll | mail -s "[sol-mtp-virt1] Panne RAID" root
@llaumgui
llaumgui / .bowerrc
Last active January 3, 2016 02:39
From my blog: Bower and Grunt configuration to my theme.
{
"directory": "vendor"
}
@llaumgui
llaumgui / iobench.sh
Created January 10, 2014 15:19
Script that benchmark the files creation.
#!/bin/sh
#
# Script who bench file creation
#
HOSTNAME=$(hostname)
PID=$$
USAGE="Usage: iobench.sh TIMEOUT PATH"
@llaumgui
llaumgui / build_repository.sh
Last active July 26, 2016 18:38
Create an YUM reporistory from RPM with createrepo & repoview.
#!/bin/bash
#
# Create an YUM reporistory from RPM with createrepo & repoview
#
# Repository options
REPO_PATH=/home/toto/public_html/rpms.toto.com/www
REPO_LIST="toto toto-testing"
DISTRO_LIST="el fedora"
@llaumgui
llaumgui / github-mirror.sh
Created January 10, 2014 15:04
Miror git repositories with Github.
#!/bin/bash
#
# Miror git repositories with Github.
# To work you must declare a remote called "github"
#
GITHUB_MIRROR="bla blabla etc"
GIT_REPOSITORIES=/home/git/repositories
@llaumgui
llaumgui / yum-check.sh
Last active August 18, 2016 14:32
To check yum and send me a mail.
#!/bin/zsh
#
# yum-check : Send by mail a "yum check-update"
#
# by Guillaume Kulakowski <guillaume@kulakowski.fr>
# Licensed under GPLv2 <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
# Version 1.0.1
#
# Require : zsh, yum