Skip to content

Instantly share code, notes, and snippets.

@sowderca
sowderca / run.ps1
Created Nov 17, 2020
uni test helper
View run.ps1
#!/usr/bin/env pwsh
#Requires -Version 5.0
#Requires -Module Pester, Microsoft.PowerShell.Management, Microsoft.PowerShell.Utility
using namespace System;
using namespace System.IO;
[CmdletBinding()]
param(
@sowderca
sowderca / ssb-interop.bundle.js
Created Jul 18, 2019
/Applications/Slack.app/Contents/Resources/app/dist/
View ssb-interop.bundle.js
This file has been truncated, but you can view the full file.
module.exports = function(modules) {
var installedModules = {};
function __webpack_require__(moduleId) {
if (installedModules[moduleId]) return installedModules[moduleId].exports;
var module = installedModules[moduleId] = {
i: moduleId,
l: !1,
exports: {}
View fs.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix\Profiles]
View Get ticket
s (51 sloc) 2.49 KB
RawBlameHistory
use AppleScript version "2.5"
use scripting additions
use framework "Foundation"
property |NSURL| : a reference to current application's |NSURL|
property NSString : a reference to current application's NSString
property NSURLSession : a reference to current application's NSURLSession
@sowderca
sowderca / vsts.json
Created Mar 5, 2019
Azure DevOps spec
View vsts.json
This file has been truncated, but you can view the full file.
{
"openapi" : "3.0.1",
"info" : {
"title" : "Azure DevOps",
"description" : "Azure DevOps REST APIs",
"termsOfService" : "https://go.microsoft.com/fwlink/?LinkId=329770",
"contact" : {
"name" : "nugetvss",
"email" : "nugetvss@microsoft.com"
View gist:00e1d5d89515ea65d0d2f4c1b258a5bd
Status Duration
starting 0.000106
checking permissions 0.000018
checking permissions 0.000016
checking permissions 0.000016
checking permissions 0.000016
checking permissions 0.000016
Opening tables 0.000041
init 0.000018
View LTInstall_General
#!/bin/sh
#####
# LabTech Native Linux Agent Installer
#
# This script installs the agent and system tray. It must be obtained
# from the Web Control Center page, because that page inserts some
# information into this script during download. It may be run from
# any directory, as may the uninstall script (created during an
# install). It creates the directory /usr/lib/labtech for the agent,
# and within that creates subdirectory systray for the system tray.
View ocean.json
{
"name": "Dark+ Material",
"settings": [
{
"settings": {
"background": "#343d46",
"invisibles": "#65737e"
}
},
{
@sowderca
sowderca / LTUninstall_General.sh
Created Oct 14, 2016
Labtech Uninstall Scripts
View LTUninstall_General.sh
#!/bin/sh
echo
echo "Uninstalling LabTech."
# If the agent is up, kill it
ps -ef | grep LTAgentMonitor | grep -v grep | awk '{print $2}' | xargs kill 2>/dev/null
ps -ef | grep LTLinuxAgent | grep -v grep | awk '{print $2}' | xargs kill 2>/dev/null
ps -ef | grep LTSystray | grep -v grep | awk '{print $2}' | xargs kill 2>/dev/null
View Tomorrow_Night_Eighties.tmTheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Generated by: TmTheme-Editor -->
<!-- ============================================ -->
<!-- app: http://tmtheme-editor.herokuapp.com -->
<!-- code: https://github.com/aziz/tmTheme-Editor -->
<plist version="1.0">
<dict>
<key>comment</key>
<string>http:&#x2f;&#x2f;chriskempson.com</string>
You can’t perform that action at this time.