code GitLab runners Notes on public versus private gitlab runners. Â GitLab has a common set of public CI/CD build runners that are shared throughout the entire world. Â While this doesn't cost anything, it can be limiting in what they are capable of doing. For the majority of the time this
code QuartzNet QuartzNet is a port of the popular Java library [http://www.quartz-scheduler.org/] to C# that allows for durable background scheduling of jobs with a sophisticated triggering system ranging from immediate to repeatable options. Â There are other options in the .NET world such as HangFire [https://www.hangfire.io/], QuartzNet
code Wrestling with Python In my attempt to write idiomatically correct python code. Â I laid out the following structure. Define classes using args and kwargs class SyncFileMetadata: file_type = "" def __init__(self, *args, **kwargs): if 'file_type' in kwargs: self.file_type = kwargs.get('file_type') from datetime
code Autoscaling Groups and Launch Configurations AWS provides the ability to manage scaling manually or through programmatic API calls. Â This allows you to save a lot of money if you know what your usual web traffic will look like i.e. you could use spot requests which normally allow you to pay 1/4 the price
code Awesome Postgres Features Update 2019-09-10 This tutorial Postgres guide [https://www.guru99.com/postgresql-tutorial.html] by Tushar Korat covers Postgres and is comprehensive and gets you up and going with details and excellent examples. -------------------------------------------------------------------------------- https://pgdash.io/blog/postgres-features.html This goes through some of the great capabilities of Postgres. Key points
code TravisCI + AppVeyor .NET Core project Continuous Integration setups for public build SaaS services The following is a working appveyor.yml [https://github.com/Siliconrob/solcast_net/blob/master/appveyor.yml] file for a client library version: '0.0.{build}' configuration: - Release platform: Any CPU # Build worker image (VM template)
code Windows Servers - Network Share Testing Telnet Is a friendly app that is on almost all Linux machines and many windows machines that you can use for some basic connectivity testing. telnet ip port Examples - 10.0.0.1 suppose is the server Test for RDP enabled telnet 10.0.0.1 3389 If telnet
code PgHero Postgres is a powerful database that can run anything it seems, but to kepp it healthy may not be as obvious and that is where PgHero can step in and give you a nice dashboard [https://pghero.dokkuapp.com/datakick] to help review and monitor your database instance. This should
code Kibana This is a visualization tool [https://www.elastic.co/products/kibana] that can be run as a docker container and hooked to your preferred datasource for increased visibility and information. Â When running a SaaS it is incredibly useful for visualizing time interval windows easily.
personal Stress Fractures I am taking off from running for 12 weeks because the stress fractures in my right foot which I have been experiencing for the past couple of years in my right foot are not getting better. Every time before I would rest a few weeks to a month and then
code AWS EC2 Base Images When you need to find the appropriate Ubuntu base image for AWS EC2 machines https://cloud-images.ubuntu.com/locator/ec2/
code JetBrains Rider Excellent IDE, this link [https://stackify.com/visual-studio-rider/] goes over the major points, will point out that the big difference to me between Rider and Visual Studio is the debugger immediate window where you can evaluate code snippets while debugging. Â While Rider can evaluate expressions it is not as natural
code Postman Postman [https://www.getpostman.com/] has been an indispensable tool I have been using for doing one off testing on the SaaS API I have been developing side benefits it provides are conversion to cURL [https://curl.haxx.se/] statements and synchronization of saved requests when you create an account
code Debugging applications through logs If you have test code and it is not sufficient then improve it immediately. If you have monitoring and telemetry streams use those or improve them right now. If you have a legacy application with nothing, but logs then welcome to the special HELL of attempting to debug an issue
personal Letter - Promote Tester To Software Engineer I wrote this as an email to the owner arguing for a talented underappreciated person to be promoted from software test to software engineer (Joanna) because it was the right thing to do rather than hire a new person. Names have been changed to for anonymity -------------------------------------------------------------------------------- I was thinking
code GitHub Tips Currently this is the current process I am using for GitHub. * Fork the original repository from GitHub website. * Open the GitHub Desktop client. * Clone the newly forked repository with the GitHub Desktop client * Open the the folder with git shell Fetch all the changes on the main branch that have
code MS SQL Server - Full Text Search Index Wanted to be able to search across multiple text columns at first thought about difficult joins and views, but then remembered that almost every modern database system has this builtin as default functionality and since I am having to do MS SQL Server databases for the most part this is
code Sql Table Function - Memorable Alias Generator Wanted to create a User Defined Function in MS SQL server that would generate memorable aliases for users to use. First point is that a UDF function does not allow you to create temp tables within it or use side effecting functions like NEWID() which was not fun, but you
code ServiceStack: OrmLite SqlExpression Tip When creating complicated clauses for queries use the underlying IDBconnection with the template type of the underlying source, but make sure to use the db.From() and then append the Where clauses afterwards in a series to generate the appropriate parameterized and checked clause. Once the SqlExpression is built you
code Push notifications template Created this file using the Push.js to allow simple push notifications in JavaScript like this Notify.info({ title: this.title, message: "No changes to undo." }); with an import like this import * as Notify from "../utilities/notify"; That references this file with the following contents. import
personal TurfJS Presentation Gave this presentation to Seattle MapTime - Introduction to TurfJS on 6/14/2017 TurfJS [https://siliconrob.github.io/github-web/turfjs/intro_turfjs.pdf] - Simple, fast, modular geospatial library written in JavaScript.
conference DotNetFringe 2017 - Recap Point 1: "The Company" Technology systems and use is drastically behind and isolated Why is this? Â Fundamentally I think it is because we rely on active memories of project members to backfill things that other companies would do normally need to do because they are forced to when
code Working with react-refetch Solid project for simplifying the your react interactions with a server API data models react-refetch import React from "react"; import ReactDom from "react-dom"; import { connect, PromiseState } from "react-refetch"; import { globalStyles } from "../../styles"; import { Urls } from "../../redux/serviceurls"; import * as Notify
code Static and Functional Programming * Reduces cognitive load\n* Makes testing straightforward and clear* * Easier to build * Known resources can be versioned * Excellent post on this https://platform.sh/blog/containers-are-the-new-static-binaries * This part is so true and earned from many issues that come with experience. * Static typing is great because you really want the error