Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tgxn's full-sized avatar
👓
Hello, World!

Domenic Horner tgxn

👓
Hello, World!
View GitHub Profile
@raydog
raydog / bullshit.js
Last active October 19, 2023 22:27
Bullshit as a Service
var E_PREFIX_RATE = 0.25;
// All of our word lists:
var _word_lists = {
verb : [
"implement", "utilize", "integrate", "streamline", "optimize", "evolve", "transform", "embrace",
"enable", "orchestrate", "leverage", "reinvent", "aggregate", "architect", "enhance", "incentivize",
"morph", "empower", "envisioneer", "monetize", "harness", "facilitate", "seize", "disintermediate",

The Backstory

The internet has changed significantly since it erupted awkwardly into the global consciousness in the mid 90s.

However, there was always a barrier to entry. This was as much a technical one as it was an educational one. Common standards for building websites took a while and companies were often hosting either on their own servers or on server farms. Cue, the 'cloud'.

With the advent of cloud technologies platforms such as AWS and Azure were designed to provide a technical foundation upon which to build a product or service without needing the expertise to build the foundation in the first place. And so, companies that previously hosted content on servers or server farms started moving over to the cloud.

The clouds themselves are expanding all the time as evidenced in AWS. The number of tools available via the foundations are growing fast. As a result new products and services are emerging from these platforms all the time. This is why I think of these as 'Emergence Platforms'. They are

@justarandomgeek
justarandomgeek / gist:2c47b4aaee12f717227f867a4c030fae
Last active October 16, 2022 09:49
Factorio Command: Remove all trees in 5000 tile radius
/c
pos = game.player.position
area = {{pos.x - 5000, pos.y - 5000}, {pos.x + 5000, pos.y + 1.5}}
for _, entity in pairs(game.player.surface.find_entities_filtered{area = area, type = "tree"}) do
entity.die()
end
@jonathanjacob
jonathanjacob / client_script.js
Last active May 5, 2019 16:35
Service Portal Impersonation
//Be sure and include spModal in the function
function ($rootScope, $scope, snRecordWatcher, spUtil, spModal, $location, $uibModal, cabrillo, $timeout) {
//Impersonation
$scope.openImpersonationDialog = function(){
spModal.open({
title: "Impersonate User",
widget: "service-catalyst-impersonate",
buttons: [
{label:'Close', cancel: true}

All nodes

  • Swap must be disabled
    • swapoff -a
    • Comment out reference to swap in /etc/fstab
  • yum -y install docker
  • systemctl enable docker && systemctl start docker
  • Add Kubernetes repo

cat < /etc/yum.repos.d/kubernetes.repo

@asimpkin
asimpkin / RackImage.php
Last active March 16, 2018 07:37
Dynamic Rack Generation from ServiceNow CMDB Rack Sys_ID
<?php
include('../common.inc.php'); // Contains defintions for INSTANCE, USER, PASS
//////////////////////////////////
// GET THE RACK FROM sys_id in URL
$q='sys_id='.$_GET[sys_id];
$query=urlencode($q);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://'.INSTANCE.'.service-now.com/cmdb_ci_rack_list.do?XML&useUnloadFormat=true&sysparm_query='.$query);