We have a small keycloak instance in development that would not start after a VM failure. We ended up restoring the filesystem on which it lives, which resolved the issue. After that fact, I drilled in to determine how to…
Category: Random
Retrieving message header in Outlook
This seems to vary across versions, so this is a placeholder for Outlook 15. Click File… Click the Properties button …and the message header is at the bottom…
How to replace newlines and maintain the surrounding text
Using regular expression groups, we can instruct whatever software we happen to be using what we want to replace. For example assuming we want to replace all newlines followed by a digit, we can use what is below in Textpad……
Creating a barcode in java
Nice little library to do this is located at http://www.barcodelib.com/java_barcode/main.html… import com.barcodelib.barcode.*; public class MyBarCode { public static void main (String args[]) throws Exception { Linear barcode = new Linear(); barcode.setType(Linear.UPCA); java.util.Random r = new java.util.Random(); String str = new…
Managing F5 load balancers with the python bigsuds library
Connecting to a GTM from bigsuds import * b = BIGIP(hostname = ‘GTM_Name_orIP’, username = ‘your_username’, password = ‘your_password’) for pool in b.GlobalLB.Pool.get_list(): for member in b.GlobalLB.Pool.get_member([pool]): for i in range(len(member[0])): print “Pool =”, pool, \ “, IP”,member[i][‘member’][‘address’], \ “listens…
Healthy socket activity shown in wireshark
I am a TCP/IP neophyte. I know just enough wireshark to muddle my way through a conversation, and am always looking to stretch that knowledge. Below is a screenshot of a java program that simply opens and closes a socket.…
HAProxy ACL based on percentage
We use F5 in production environments, but to test a functional setup of A/B testing, we used HAProxy 1.5-dev21. We have a single domain, and would like to forward requests to one of two backends based on a cookie value.…
Apologies for site slowness
All, I am aware the site has been slow for the better part of a month. This morning, I finally took the time to look at the host on which my hosting partner (1and1.com) stores the site. User CPU utilization…
Akamai GTM
Akamai’s Global Traffic Manager, or GTM for short, is technology that allows a user to configure traffic to be sent to more than one data center, or at least more than one origin URL. For an Akamai primer, go here.…
Purging Akamai cache
To purge content from the cache on the Akamai edge servers, you can use the main LUNA control center, which will push the request out to the edge servers affected. As such, keep in mind the cache is not immediately…