Skip to content

Riaan's SysAdmin Blog

My tips, howtos, gotchas, snippets and stuff. Use at your own risk!

  • About

Python

API Flask MongoDB Python 

Python Flask API Using MongoDB

January 30, 2021 admin

Python Flask API Using MongoDB After a recent experiment I did to capture the output of jobs with json output

Read more
Python 

python-scan-text-block-reverse

April 12, 2020April 12, 2020 admin

example finding a block. start string and reverse search up to next string. then replacing a line inside the block

Read more
Backups Python Uncategorized 

Quick Backup and Purge

March 19, 2019March 19, 2019 admin

I highly recommend using restic instead of what I am talking about here. Mostly I am just documenting this for

Read more
OCI Python 

Python3 and pip

February 14, 2018 admin

I am converting some scripts to python3 and noticed the pip modules in use for python2 need to be added

Read more
DynamoDB Python 

DynamoDB Test

October 14, 2017 admin

Boto3 and AWS DynamoDB usage… http://boto3.readthedocs.io/en/latest/reference/services/dynamodb.html

Read more
Python 

Date strings with inconsistent spaces

January 23, 2017January 23, 2017 admin

I frequently bump into manipulating very large log files and the date input strings are formatted poorly. Couple problems for

Read more
AWS Python 

AWS API and Python Boto

January 22, 2017January 22, 2017 admin

Quick note on connection to EC2 to list instances. – Ensure IAM User permissions. In my case I tried EC2FullAccess.

Read more
Python 

Python Dict for Arrays

January 22, 2017 admin

Some more examples of Python dicts and array general use.

Read more
OVM Python 

Oracle OVM rest api example

January 5, 2017 admin

If you hate the Oracle OVM CLI and having to use expect scripts you may want to look into the

Read more
Nagios Python 

Nagios Downtime using a ServiceGroup

December 10, 2016 admin

This is not a complete script. I was only interested in scheduling a SERVICEGROUP through the Nagios command file (NAGIOSCMD).

Read more
  • ← Previous

Recent Posts

  • Python Flask API Using MongoDB
  • Restic find and list one file
  • Gnome Desktop Shortcut Exec
  • ZFS Send To Encrypted Volume
  • Linux WakeOnLAN Issue

Tags

Active Directory Ansible AWS Azure Backups Bash CIFS Curl DFS Docker Firewall FirewallD Gnome IPS javascript jq KVM LDOM Linux Logging LVM Nagios OCI Oracle Oracle Bare Metal Cloud Services OVM PHP Printing Putty Python rclone restic Security Sendmail SMTP Solaris SSH Ubuntu Uncategorized Video Encoding Virtualbox VNC VPN Windows ZFS
Copyright © 2021 Riaan's SysAdmin Blog. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.