Skip to content

Instantly share code, notes, and snippets.

Domenic Horner tgxn

Block or report user

Report or block tgxn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

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 <<EOF > /etc/yum.repos.d/kubernetes.repo
jonathanjacob / client_script.js
Last active May 5, 2019
Service Portal Impersonation
View client_script.js
//Be sure and include spModal in the function
function ($rootScope, $scope, snRecordWatcher, spUtil, spModal, $location, $uibModal, cabrillo, $timeout) {
$scope.openImpersonationDialog = function(){{
title: "Impersonate User",
widget: "service-catalyst-impersonate",
buttons: [
{label:'Close', cancel: true}
justarandomgeek / gist:2c47b4aaee12f717227f867a4c030fae
Last active Jul 9, 2018
Factorio Command: Remove all trees in 5000 tile radius
View gist:2c47b4aaee12f717227f867a4c030fae
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
raydog / bullshit.js
Last active Oct 24, 2019
Bullshit as a Service
View bullshit.js
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",
asimpkin / RackImage.php
Last active Mar 16, 2018
Dynamic Rack Generation from ServiceNow CMDB Rack Sys_ID
View RackImage.php
include('../'); // Contains defintions for INSTANCE, USER, PASS
// GET THE RACK FROM sys_id in URL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://'.INSTANCE.''.$query);
You can’t perform that action at this time.