Trending Now
Salesforce – SFDX Bearer Token
Sometimes need to get a quick bearer token to test an API in postman or python. Rather than going through the tedious process of setting up an App or fiddling with OAuth, the salesforce cli tool can be used to get a token to use in API queries.First step is...
Python – Azure Redis Cache Snippet
This is a small code snippet demonstrating interacting with an Azure PAAS Redis Cache import redis import sys redis_fqdn = "" redis_key = "" r = redis.StrictRedis(host=redis_fqdn, port=6380, password=redis_key, ssl=True) # Test latency to redis result = r.ping()...
walkthrough: { type: “ctf”, name: “Mr Robot” }
This is a copy of the short write-up of the capture the flag (CTF) challenge "Mr Robot" that i had posted to LinkedIn originally, and the steps I took in gaining all three flags. This is still one of the more popular CTF challenges - and was quite fun to get into....
Mikrotik Voltage Alarm/Beeper
I recently needed to make my routerboard generate an audible alarm based on voltage thresholds on the 12v battery wired directly to the RB2011. This script was a modification of something i found when perusing the Mikrotik forums. Change lowvoltage and highvoltage to...
ZESA Tarrif Calculator
Recently saw an article in the herald about the new tiered tarrif structure for Kwh/units. Here is a calculator to help you estimate your monthly budget with the new structure. (Distributed under GPLv3 - feel free to do what you like with it)...
Docker | Asterisk 16
While working on another project, (Callcenter suite) - i built a relatively lightweight Asterisk 16 image which was being used as the base image for a series of ARI tests. I decided to release this to the open-source community, to try and motivate more people to start...