This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (C) 2006, deraw. | |
| // Hatena Antenna Manual Update (Original):Copyright (C) 2005, hatena. | |
| // Released under the GPL license | |
| // http://www.gnu.org/copyleft/gpl.html | |
| // | |
| // ==UserScript== | |
| // @name Hatena Antenna ManualMultiUpdate | |
| // @namespace http://www.hatena.ne.jp | |
| // @include http://a.hatena.ne.jp/* | |
| // @description |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HRESULT GetLinkTarget(IShellLinkWPtr pShellLink,const wstring &linkPath,wstring &target) throw() | |
| { | |
| HRESULT hr = S_OK; | |
| { | |
| IPersistFilePtr pPersistentFile; | |
| hr = pShellLink.QueryInterface(IPersistFilePtr::GetIID(),&pPersistentFile); | |
| if(SUCCEEDED(hr)) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HRESULT GetUNCPath(LPCTSTR path,std::wstring &result) | |
| { | |
| using namespace std; | |
| if(::PathIsNetworkPath(path) /*&& !::PathIsUNCServerShare(path) */) | |
| { | |
| TCHAR x[MAX_PATH] = {0}; | |
| lstrcpyn(x,path,MAX_PATH); | |
| PathUnquoteSpaces(x); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "archive.h" | |
| #include "archive_entry.h" | |
| #include <mbstring.h> | |
| #include <memory> | |
| #include <exception> | |
| #include <system_error> | |
| #include <string> | |
| namespace LibArchive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <windows.h> | |
| #include <Shlwapi.h> | |
| #include <Strsafe.h> | |
| #pragma comment(lib, "Shlwapi.lib") | |
| #include <utility> | |
| #include <cassert> | |
| #include <cwchar> | |
| #include <cstdint> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Comic Claer HTML5 Player | |
| // @namespace http://d.hatena.ne.jp/deraw | |
| // @include http://www.comic-clear.jp/comic.aspx* | |
| // @version 1 | |
| // @grant none | |
| // @downloadURL https://gist.github.com/udaken/3ba84be372d6e71b88402dbc129c0346/raw/Comic_Clear_HTML5_Player.user.js | |
| // ==/UserScript== | |
| (function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifdef _WIN32 | |
| #include "targetver.h" | |
| #define WIN32_LEAN_AND_MEAN | |
| #define STRICT | |
| #define STRICT_CONST | |
| #include <windows.h> | |
| #else | |
| #include <sys/stat.h> | |
| #include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| @chcp 65001 | |
| :LOOP_BEGIN | |
| if not "%~1" == "" ( | |
| pushd "%~d1%~p1" | |
| echo "<%~n1%~x1>" | |
| if /i "%~x1" equ ".zip" ( | |
| ren "%~n1%~x1" "%~n1.cbz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // MS-DOS batch キーワード定義ファイル | |
| // CASE=False | |
| @ECHO | |
| AUX | |
| BREAK | |
| CALL | |
| CD | |
| CHCP | |
| CHDIR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: /// index | |
| --- /// ファイル名 | |
| +++ /// ファイル名 | |
| @@ /// 行番号 | |
| - /// 変更行 | |
| + /// 変更行 |