Skip to content

Instantly share code, notes, and snippets.

View tankerkiller125's full-sized avatar

Matt Kilgore tankerkiller125

View GitHub Profile
@tankerkiller125
tankerkiller125 / FixShortcuts.ps1
Last active January 13, 2023 21:18
Windows Shortcut Repair
# Set the Start Menu Path
$StartMenuFolder = "$env:ProgramData\Microsoft\Windows\Start Menu\Programs"
# Define the website to pull the JSON from
$URL = Invoke-WebRequest 'https://internal.corp/shortcuts.json' -UseBasicParsing
$ShortCuts = $URL | ConvertFrom-Json
# Use this instead if you don't want to use a website path
#$ShortCuts = Get-Content -Path .\shortcuts.json | ConvertFrom-Json
@tankerkiller125
tankerkiller125 / Example-Use.ps1
Last active December 19, 2022 19:36
PowerShell Queue Task
$ScriptBlock = {
param($data)
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;
# Transfer the Mailbox
Search-Mailbox $data.SourceUser -TargetMailbox $data.TargetUser -TargetFolder "Archives"
Write-Host "Completed:" $data
}
$Transfers = Import-Csv transfers.csv
var MSXML = (typeof DOMParser === 'undefined' || typeof XSLTProcessor === 'undefined');
var xslt = {
/**
* @param {string} xsl
*/
init: function(xsl)
{
var stylesheet = xslt.loadXML(xsl);
if (MSXML)
{
@tankerkiller125
tankerkiller125 / keybase.md
Created September 27, 2018 13:17
kebase.md

Keybase proof

I hereby claim:

  • I am tankerkiller125 on github.
  • I am tankerkiller125 (https://keybase.io/tankerkiller125) on keybase.
  • I have a public key ASCqgJVv1fSrwgOin8MvSTlbPTa-yQ4hobwnHuqsVju8SQo

To claim this, I am signing this object:

ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
configuration: --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/srv/buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-cuda --disable-cuvid --disable-iconv --disable-nvenc --disable-doc --disable-ffplay --disable-ffserver --disable-xlib --enable-fontconfig --enable-gpl --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --extra-libs='-ldl -lexpat -lfreetype -lfribidi -lfontconfig -lpng -lgmp -lhogweed -lnettle -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc
2018-03-18 22:54:35.395
Application version: 3.3.1.0
http://192.168.86.129:8096/emby/videos/7f46d68d372c1557d7e8ecaeb1c716ae/hls1/main/0.ts?DeviceId=f4ceff41bd66f4d5a38befcb1f9e1e66b64c31a8&MediaSourceId=7f46d68d372c1557d7e8ecaeb1c716ae&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=196a1b6d0ce54eebb10a95b380672fd5&api_key=e4a6161616a148fda6bc81916053f383&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=true&Tag=dcbed4e7b62a54951e3cba3af05f00c5&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true
{"Protocol":"File","Id":"7f46d68d372c1557d7e8ecaeb1c716ae","Path":"/home/matthew/media/Movies/Zootopia (2016)/Zootopia 2016 720p HD-TC x264 AC3 Exclusive-CPG.webm","Type":"Default","Container":"mkv,webm","Name":"Zootopia 2016 720p HD-TC x264 AC3 Exclusive-CPG.webm","IsRemote":false,"ETag":"dcbed4e7b62a54951e3cba3af05f00c5","RunTimeTicks":64349290000,
<template>
<v-app>
<v-navigation-drawer fixed :clipped="$vuetify.breakpoint.mdAndUp" app width="200" :mini-variant=mini
v-model="drawer" class="elevation-5">
<v-list dense>
<template v-for="item in items">
<v-layout
row
v-if="item.heading"
align-center
@tankerkiller125
tankerkiller125 / firefox-developer.desktop
Created February 24, 2018 20:56
UMake Firefox Developer Edition, Touch Support, Actions Support
[Desktop Entry]
Version=1.0
Type=Application
Name=Firefox Developer Edition
Icon=/home/matthew/.local/share/umake/web/firefox-dev/browser/chrome/icons/default/default128.png
TryExec=/home/matthew/.local/share/umake/web/firefox-dev/firefox
Exec=env MOZ_USE_XINPUT2=1 firefox-developer
Comment=Firefox Aurora with Developer tools
Categories=Development;IDE;Network;WebBrowser;
Terminal=false

Open Source Schools Individual Contributor License Agreement

Thank you for your interest in contributing to open source software projects (“Projects”) made available by Open Source Schools or its affiliates (“OSSchools”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Open Source Schools in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact tankerkiller125@gmail.com.

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

Copyright License. You hereby grant, and agree to gran

@tankerkiller125
tankerkiller125 / CLA.md
Created June 20, 2017 02:27
SchoolIssues CLA

SchoolIssues Individual Contributor License Agreement

Thank you for your interest in contributing to open source software projects (“Projects”) made available by SchoolIssues or its affiliates (“SchoolIssues”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SAP in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact tankerkiller125@gmail.com.

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

Copyright License. You hereby grant, and agree to grant, to ScoolIssues a non-exc