twitter linkedin youtube
  • About
  • Blog
  • My Services
  • Twitter
  • LinkedIn
  • Email
All tags

    Regex in Python - printing all matches

    I've been dabbling in a bit of python. A good friend of mine, Michael, has given me a head start on this (http://benz.io/posts/Python-Regex/) - the re module is very nifty. re.match can return a "None" or matched result using Michael'…

    Read More
    • Python

    Grandstream UCM6104 PBX MyNetFone SIP Trunk

    background MyNetPhone provisioned a SIP Trunk the other day with line formats as follows 61290012345 61290012346 61290023456 61280123456 (These are dummy numbers) For a couple of hours I couldn't for the life of me figure out why the SIP trunk failed to register (HTTP 404 errors for SIP…

    Read More
    • Grandstream
    • SIP
    • IP Telephony

    CDOT Event Logs

    Back in 7-mode, each node contained a /etc/log/messages{.[0-6]} file containing all event log entries. Obviously all events should be submitted to a centralised event management system (e.g. Splunk), however in the absence of such a facility, you would normally refer to these log files. In C-DOT,…

    Read More
    • netapp

    Runlevels and systemd in RedHat / CentOS 7

    Firstly, /etc/inittab is no longer used in redhat. Instead, systemd (the new system and service manager) is used for defining default startup state. RHEL 7 Sysadmin guide [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html] explains this…

    Read More
    • centos
    • systemd
    • redhat

    GRUB in CentOS 7

    The way grub entries are defined in centos 7 has changed. Instead of using grub.conf, grub2 now uses /boot/grub2/grub.cfg, with content generated from scripts in /etc/grub.d/ [root@localhost grub.d]# ll total 64 -rwxr-xr-x. 1 root root 8698 Jun 30 2014 00_header -rwxr-xr-x.…

    Read More
    • linux
    • centos
    • grub

    Load more posts
    Subscribe!
    All content copyright © 2025 • All rights reserved.
    Proudly published with Ghost