Skip to content

Instantly share code, notes, and snippets.

View Tsuki's full-sized avatar
🏢
Working from Hong Kong

Tsuki Tsuki

🏢
Working from Hong Kong
View GitHub Profile
@Tsuki
Tsuki / OpenWithSublimeText3.bat
Created June 3, 2016 02:44 — forked from roundand/OpenWithSublimeText3.bat
Open folders and files with Sublime Text 3 from windows explorer context menu (tested in Windows 7)
@echo off
SET st3Path=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 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
https://thornelabs.net/2012/08/22/linux-make-ddclient-work-with-multiple-namecheap-domains.html
@Tsuki
Tsuki / Extension MIME Type.txt
Last active November 19, 2015 01:13
Extension MIME Type
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
.potx application/vnd.openxmlformats-officedocument.presentationml.template
.ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
.sldx application/vnd.openxmlformats-officedocument.presentationml.slide
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
.xlsm application/vnd.ms-excel.addin.macroEnabled.12
.xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12
@Tsuki
Tsuki / log4j.properties
Created November 9, 2015 01:15
log4j ConversionPattern
log4j.appender.R.layout.ConversionPattern=
%d{DATE} %-4r [%t] %-5p %c %x - %m%n
12 Oct 2005 22:23:30,117 0 [main] INFO MyApp - Entering application.
log4j.appender.R.layout.ConversionPattern=
%5p\t[%d] [%t] (%F:%L)\n \t%m%n\n
ERROR [2009-09-13 09:56:01,760] [main] (RDFDefaultErrorHandler.java:44)
http://www.xfront.com/owl/ontologies/camera/#(line 1 column 1):