Skip to content

Instantly share code, notes, and snippets.

View ekalkan's full-sized avatar

Dr. Erol Kalkan, P.E. ekalkan

View GitHub Profile
@fernandoaleman
fernandoaleman / Linux Static IP
Created March 23, 2012 16:20
How To Configure Static IP On CentOS 6
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
@tuxfight3r
tuxfight3r / activemq-parse.py
Last active August 18, 2018 12:02
python script to parse activemq queue
#!/usr/bin/python
#Purpose: To list activemq queues in readable format
#Date: 27/11/2015
#Author: Mohan
import calendar
import sys
import time
import os
from xml.dom.minidom import parse,parseString