Skip to content

Instantly share code, notes, and snippets.

View skiane's full-sized avatar

Stéphane Fritsch skiane

View GitHub Profile
@skiane
skiane / snews.py
Last active December 15, 2015 08:39 — forked from anonymous/snews.py
sNews in Python
#!/usr/bin/python
# -*- coding: UTF-8 -*-
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
"""
XXX BUG Protect search field
XXX BUG missing last char (not anymore ?)
XXX TODO test form_groupings
XXX BUG not error mess when wrong login
"""
#!/bin/sh
# download with this permalink : https://gist.githubusercontent.com/skian/8f5de0419755a7b07d7d/raw/96b4b06ad41630359f54d12db5d43eb52e076ed8/linux-on-dell.sh
# Usage :
# This script should be run as root
yum install -y perl wget
# This was the pre-2015 way to install Dell YUM repo
#!/bin/sh
IDRAC_PWD=calvin
IDRAC_LOGIN=root
IDRAC_IP_LIST="192.168.0.120 10.90.220.10 10.90.200.105"
sshracadm()
{
ip=$1
shift