Skip to content

Instantly share code, notes, and snippets.

View andydunkel's full-sized avatar

Andy andydunkel

View GitHub Profile
andydunkel / OpenWithSublimeText.bat
Last active January 3, 2023 20:44 — forked from mrchief/
Add "Open with Sublime Text" to Windows Explorer Context Menu (including folders), allows opening folders from Windows Explorer
@echo off
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f
andydunkel / gist:8914008
Created February 10, 2014 11:04
MessageDialog with Link Label (JFace)
package com.da.htmlmessagedialog;
* Copyright (c) 2000, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Contributors:
andydunkel / VXWORKS_FTP_TotalCommander.txt
Created January 23, 2014 15:24
TotalCommander FTP Parsing String for VXworks
SSSSSSSS TTT-DD-YYYY hh-mm-ss n*.nnn$ d