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
| #ifndef H__VERIFY | |
| #define H__VERIFY | |
| /* | |
| BSD 2-Clause License | |
| Copyright (c) 2013, Jacob Wells | |
| All rights reserved. |
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
| template <int N> | |
| int bin_digit(); | |
| template <> | |
| int bin_digit<0>() | |
| { | |
| return 0; | |
| } | |
| template <> |
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> | |
| class HighPrecisionTime | |
| { | |
| LARGE_INTEGER m_freq; | |
| FILETIME m_lastTime; | |
| LARGE_INTEGER m_lastCount; |
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
| ^(?:[a-zA-Z]\:)(?:\\[\w \(\)\.\-\[\]!&%\$#@\+,~={}]+)+$ |
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 | |
| --- /// ファイル名 | |
| +++ /// ファイル名 | |
| @@ /// 行番号 | |
| - /// 変更行 | |
| + /// 変更行 |
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
| @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
| #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
| // ==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
| #pragma once | |
| #include <windows.h> | |
| #include <Shlwapi.h> | |
| #include <Strsafe.h> | |
| #pragma comment(lib, "Shlwapi.lib") | |
| #include <utility> | |
| #include <cassert> | |
| #include <cwchar> | |
| #include <cstdint> |