Skip to content

Instantly share code, notes, and snippets.

@sowderca
sowderca / typescript.vim
Last active July 22, 2016 12:30
typescript syntax
" Vim syntax file
" Language: typescript
" Author: MicroSoft Open Technologies Inc.
" Version: 0.1
" Credits: Zhao Yi, Claudio Fleiner, Scott Shattuck, Jose Elera Campana
if !exists("main_syntax")
if version < 600
syntax clear
elseif exists("b:current_syntax")
@sowderca
sowderca / csharp.vim
Created July 22, 2016 12:29
c# syntax
" Vim syntax file
" Language: csharp
" Author: Cameron Sowder
" Version: 0.0.1
if !exists("main_syntax")
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
@sowderca
sowderca / pure.zsh
Created July 22, 2016 12:33
zsh theme
# Pure
# by Sindre Sorhus
# https://github.com/sindresorhus/pure
# MIT License
# For my own and others sanity
# git:
# %b => current branch
# %a => current action (rebase/merge)
# prompt:
\<?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>
<?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>
@sowderca
sowderca / LTUninstall_General.sh
Created October 14, 2016 16:50
Labtech Uninstall Scripts
#!/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
@sowderca
sowderca / ocean.json
Created January 2, 2017 17:14
color vscode
{
"name": "Dark+ Material",
"settings": [
{
"settings": {
"background": "#343d46",
"invisibles": "#65737e"
}
},
{
#!/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.
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
@sowderca
sowderca / vsts.json
Created March 5, 2019 15:20
Azure DevOps spec
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"