Skip to content

Instantly share code, notes, and snippets.

View GodelMachine's full-sized avatar
💭
ServiceNow Consultant - Developer, Administrator and Implementer.

GodelMachine GodelMachine

💭
ServiceNow Consultant - Developer, Administrator and Implementer.
View GitHub Profile
var AdhocCollaborationGenerationUtil = Class.create();
AdhocCollaborationGenerationUtil.prototype = {
initialize: function() {
this.SIDEBAR_CHANNEL = gs.getProperty('sn_oe_sfs.sidebar_msg_channel','ea0cb816732110104a905ee515f6a7b5');
this.RECORD_CARD_JSON = JSON.parse(gs.getProperty('sn_oe_sfs.sidebar_record_obj'));
},
/**
* Creates a Sidebar conversation for a given task record, optionally adding users and groups
* @param {GlideRecord} task - Record provided for association. Should be a task/interaction or extended, but theoretically supports further
@dylanmckay
dylanmckay / facebook-contact-info-summary.rb
Last active July 3, 2025 21:22
A Ruby script for collecting phone record statistics from a Facebook user data dump
#! /usr/bin/env ruby
# NOTE: Requires Ruby 2.1 or greater.
# This script can be used to parse and dump the information from
# the 'html/contact_info.htm' file in a Facebook user data ZIP download.
#
# It prints all cell phone call + SMS message + MMS records, plus a summary of each.
#
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created
@acolyer
acolyer / jessfraz.md
Created November 19, 2017 13:39
Containers, operating systems and other fun things from The Morning Paper
@vasanthk
vasanthk / System Design.md
Last active March 13, 2026 10:40
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?