Skip to content

Instantly share code, notes, and snippets.

View wandersick's full-sized avatar

wandersick wandersick

View GitHub Profile
@wandersick
wandersick / autohotkey_google_drive_heads_up.ahk
Created March 25, 2017 09:27
Google Drive - Auto-Answer 'Heads Up' Prompt - AutoHotkey
; detect Google Drive prompt "Heads up, some people may lose access" OK (O) / Undo (U)
Loop
{
WinWait, Google Drive
If Not Errorlevel
{
If WinExist("ahk_exe googledrivesync.exe")
{
WinActivate, Google Drive
@wandersick
wandersick / UpdatePaths-RoamingProfile-HomeDir.ps1
Last active January 5, 2017 01:23
Batch-Update Paths of Roaming Profile and Home Directory (for AD Migration)
# Title: Batch-Update Paths of Roaming Profile and Home Directory (AD Migration)
# Version: 2.0
# Date: 4 Jan 2017
# Type: PowerShell
# Reference: https://blogs.technet.microsoft.com/heyscriptingguy/2013/08/14/use-powershell-to-change-sign-in-script-and-profile-path/
@wandersick
wandersick / quotes_en.bat
Last active August 21, 2016 07:36
Publish quotes as blog posts to Google Blogger using GoogleCL - Windows (Deprecated)
:: Script: quotes_en.bat (deprecated)
:: Version: 1.0 - 20110227
:: Platform: Windows
:: Databases: quotes_en_number, quotes_en.ini
:: Creator: wandersick - https://wandersick.blogspot.com/2016/08/auto-posting-inspirational-quotes-on.html
:: Purpose: Publish quotes as blog posts to Google Blogger using GoogleCL (Windows)
::
:: Usage: Save this script and quotes in the same folder.
:: google.exe (GoogleCL) should be in system enviromental path.
:: Change 'English Quotes' to your blog name.
@wandersick
wandersick / quotes_en.sh
Last active August 21, 2016 07:36
Publish quotes as blog posts to Google Blogger using GoogleCL - Linux (Deprecated)
# Script: quotes_en.sh (deprecated)
# Version: 1.0 - 20110227
# Platform: Linux
# Databases: quotes_en_number, quotes_en.ini
# Creator: wandersick - https://wandersick.blogspot.com/2016/08/auto-posting-inspirational-quotes-on.html
# Purpose: Publish quotes as blog posts to Google Blogger using GoogleCL (Linux)
#
# Usage: Modify /root/quotes/ to a location where this script and quotes are stored.
# Change 'English Quotes' to your blog name.
# Ensure write access is permitted to quotes_en_number (generated by script on first run)
@wandersick
wandersick / quotes_en.bat
Last active August 21, 2016 07:36
Publish quotes as tweets to Twitter using twt.exe (Windows)
:: Script: quotes_en.bat
:: Version: 2.0 - 20160820
:: Platform: Windows
:: Databases: quotes_en_number, quotes_en.ini
:: Creator: wandersick - https://wandersick.blogspot.com/2016/08/auto-posting-inspirational-quotes-on.html
:: Purpose: Publish quotes as tweets to Twitter using twt.exe (Windows)
::
:: Usage: Save this script and quotes in the same folder.
:: twt.exe should be in system enviromental path.
:: Change 'English Quotes' to your blog name.