Skip to content

Riaan's SysAdmin Blog

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

  • About

Python

Python 

python append key

December 4, 2021 admin

Python Append Key Building a dict and ordering it into groups by key is sometimes very useful. Teh following code

Read more
AWS Flask Python 

AWS SNS to http subscription receiving in python3 http server and Flask

July 24, 2021July 24, 2021 admin

I wanted an easier way to test and manipulate a notification using an AWS SNS subscription. Mostly I do a

Read more
Crypto Python 

Token Balance Decimals

April 17, 2021April 17, 2021 admin

Balance Decimals Noting my python code for reference. If familiar with crypto currency tokens you may find the token balance

Read more
Python Terraform 

Terraform Stateserver Using Python

March 22, 2021 admin

Terraform can utilize a http backend for maintaining state. This is a test of a Terraform http backend using a

Read more
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
  • ← Previous

Recent Posts

  • Bash alias inside a script
  • kubectl export
  • VirtualBox Host-Only Networking Change
  • ACM check validation
  • Linux Shell Incremental Search

Tags

Active Directory Ansible AWS Azure Backups Bash DNS Docker DynamoDB Firewall Gnome go javascript jq json Kubernetes KVM LDOM Linux Logging LVM Nagios nfs OCI Oracle Bare Metal Cloud Services OVM PHP Python rclone RDP restic Security Sendmail SMTP Solaris SSH Terraform Ubuntu Uncategorized Video Encoding Virtualbox VNC VPN Windows ZFS
Copyright © 2023 Riaan's SysAdmin Blog. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.