Geeks With Blogs
Alex Hildyard
Having played around with the GKE and MiniKube "one stop" clusters, I wanted to build a multi-node K8 cluster from a bunch of CentOS VMs. The experience was pleasantly straightforward, following the instructions at https://kubernetes.io/docs/... with one or two caveats.First of all, after the initial K8 installation, you ......

I've added a Powershell port of this shell script to support Windows servers, and Derrek has merged the PR back into the trunk:https://github.com/Ap... port is pretty faithful to the original shell script, uses the same configuration file and reports and alerts in the same way. So all you need to do is swap in the Powershell ......

Be aware that this line: gci -r "C:\temp\test" | measure-object -property length -sum will throw an error if it encounters a folder whose only contents is another (empty) folder; this is because measure-object tries in this case to measure an object which does not have a “length” property defined: PS C:\Projects> Get-ChildItem -Recurse "C:\temp\test" ......

We're currently migrating our Confluence installation, and I was looking around for resources to provide some basic metrics, eg. the total number of (non-private) pages we are currently hosting. It appears that the simplest way to get this information is simply to connect directly to the database and run a query:# Get count of all pages in all global ......

Creating Powershell modules isn't hard, but the task has many nuances, and it can be difficult deciding what information is relevant. My own objective was very simple, and I suspect it's the most common scenario of all. I had a directory of .ps1 scripts, and I simply wanted to turn them into a module, so that I could write something like "Import-Module ......

I wanted to start an occasional series of very short posts addressing some specific methodological or practical issue, to share knowledge which I hadn't found widely publicised. Longer than a Twitter post, shorter than a blog entry, I'll call them "twogs" (though "blitters" would be another possibility).So: I was testing a number of cookbooks with kitchen. ......

I just wanted to point out that if your Chef clients are running low on disk resources, it could be worth checking your chef/cache/backup directory for temporary artefacts. I was recently looking at a Visual Studio 2015 installation recipe, trying to work out why it seemed to need more than 12Gb of resources, when the actual media was only 3.8Gb ...Both ......

Further to my previous post, I have uploaded the code as a JSFiddle.1. Default view of list of usersA full list of all users in the "Users" table is retrieved and displayed. "Edit" and "Delete" buttons appear alongside each entry.2. Edit an existing user entryThe default text that appears when you edit an existing entry depends on your implementation ......

Envisage almost any data-driven user interface, and sooner or later you will probably come across a requirement like: - present the user with a list (of users, addresses, products, etc.) - allow the user to edit or delete an existing item in the list - allow the user to create a new item and add it to the listI decided to have a look at several web-based ......

If you google carefully, it appears there are some resources to help with a common problem.But just for good measure, here's my own implementation, which utilises the fact sq(n) = (n-1)(n+1)+1, and the difference between two terms "t" apart in the resultant series is 2t + 3. Theoretically this should give you the square root in a single iteration, once ......

Copyright © Alex Hildyard | Powered by: GeeksWithBlogs.net