Skip to content

Instantly share code, notes, and snippets.


Jason Young ytechie

View GitHub Profile
ytechie / gist:1442e0680b072b7e4dd21869443cd8a4
Last active Sep 30, 2019
MS Devshow episode downloader
View gist:1442e0680b072b7e4dd21869443cd8a4
@echo off
FOR /L %%x IN (99,-1,10) DO (
set url=""
echo Downloading !url!
wget -O msdevshow_00%%x.mp3 !url!
ytechie / gist:a41593592b63d98cdae1
Last active Aug 29, 2015
Powershell Script to remove partial file name before the tilde
View gist:a41593592b63d98cdae1
# I had some files that had some garbage text attached and separated with a tilde. This script was used to remove that extra text.
# Example: blah ~ IMG123.jpg -> IMG123.jpg
Get-ChildItem "e:\photography" -Recurse -filter *~* | `
Foreach-Object {
$oldName = $_.Name
$pos = $oldName.IndexOf("~")
$newName = $oldName.Substring($pos + 2)
#write-host $_.fullname
ytechie / gist:462f45b6de88937cc32a
Last active Aug 29, 2015
DNSMadeEasy Dynamic IP Script
View gist:462f45b6de88937cc32a
cd %TEMP%
curl > ip.txt
set /p ip=< ip.txt
del /q ip.txt
curl ""
ytechie / gist:8d718f597948f1761044
Created May 4, 2014
Quick and dirty table storage delete all rows
View gist:8d718f597948f1761044
class Program
static void Main(string[] args)
var storageAccount = CloudStorageAccount.Parse("DefaultEndpointsProtocol=https;AccountName=ACCOUNT_NAME;AccountKey=ACCOUNT_KEY");
var tableClient = storageAccount.CreateCloudTableClient();
var table = tableClient.GetTableReference("elmaherrors");
// var query = new TableQuery();
View boxstarter
#RUN the following to kick off script-> START
#So Meta!
choco install chocolatey
choco install boxstarter
choco feature disable --name=checksumFiles
choco feature enable --name=allowGlobalConfirmation
#run the rest in the boxstarter shell