Skip to content

Instantly share code, notes, and snippets.

View WillPresley's full-sized avatar
🏠
Working from home

Will Presley WillPresley

🏠
Working from home
View GitHub Profile
@WillPresley
WillPresley / delay-mapping-netdrives.bat
Created September 12, 2018 15:41
Windows 10 - Delay Mapping Network Drives Until Interface is Up
@echo off
set "Server=192.168.50.125"
set "RetryCount=0"
:CheckServer
rem Ping server only once with a time limit of 1000 ms.
%SystemRoot%\System32\ping.exe -n 1 -w 1000 %Server% >nul
if not errorlevel 1 goto MapDrive
rem Connection to server is not yet established. Give up after 30 seconds
@WillPresley
WillPresley / Bonnaroo Subreddit GPM Playlist Notes - 2018
Last active January 9, 2018 19:12
Notes for the unofficial Bonnaroo 2018 playlist for https://reddit.com/r/bonnaroo | Listen to it: https://goo.gl/jirQyC
Ten songs for each artist (if possible) UP TO and including St Paul & The Broken Bones.
Five each after that.
Missing entirely:
Colin Elmore & The Danville Train (see Youtube).
Could not get enough songs for 10 or 5 (accordingly):
5 more from Virtual Self
SuperJam (will add once leader is announced)
Grand Ole Opry (will add once details released)
Verifying that +cryptecks is my blockchain ID. https://onename.com/cryptecks
@WillPresley
WillPresley / timestamp2.py
Last active August 29, 2015 14:14 — forked from latenitecali/timestamp2.py
Adjusted Sublime Text 3 plugin for automatic Timestamps (USA datetime formats)
"""
Automatically add and update time stamps in your files.
On file open, will replace [timeStamp] with the current date and time.
Currently looks for two instances of this (example below).
To use, place the text [timeStamp] in your template file where you want it.
ex.
// CREATED: timeStamp
// MODIFIED: timeStamp
/*
Copyright 2013 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software