- 文字コード UTF-8
- パラメーター間の区切りは水平タブ文字
\t - Plain text で 3D オブジェクトを表現する。
- 複数のオブジェクトを埋め込むことも可能。
- 頂点シェーダーとフラグメントシェーダーを必ず用意する必要があります。GLSL に対応。
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
| //10進数の数値を62進数に相互変換するやつ | |
| function decToBase62(num_){ | |
| if (num_ === null) return void 0; | |
| let num = Number(num_); | |
| if (isNaN(num)) return void 0; | |
| if (Math.floor(num) !== num) return void 0; | |
| let is_negative = num < 0; | |
| num = Math.abs(num); |
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 Good dAnimeStore | |
| // @namespace https://inonote.jp/ | |
| // @version 0.2 | |
| // @description dアニメストアを便利にするスクリプト。 | |
| // @author inonote | |
| // @match https://anime.dmkt-sp.jp/animestore/sc_d_pc* | |
| // @grant none | |
| // ==/UserScript== |
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
| <?php | |
| function meminfo(){ | |
| $ret = array(); | |
| $txt = shell_exec('cat /proc/meminfo'); | |
| $lines = explode("\n", $txt); | |
| foreach($lines as $line){ | |
| if ($line === '') continue; | |
| $data = explode(':', $line, 2); | |
| $value = trim($data[1]); | |
| // 単位変換 |
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
| <?php | |
| /**************************************************************************** | |
| cntdl v0.1 | |
| (c) 2020 inonote | |
| HTTP(S) で公開された連番ファイルを一括ダウンロードするスクリプト | |
| ## 推奨動作環境 | |
| * PHP 7.2.8 以上 | |
| * curl 7.55.1 以上 | |
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
| class CShellBrowser : public IShellBrowser { | |
| private: | |
| ULONG m_refCount = 0; | |
| HWND m_hwndHost = NULL; | |
| HWND m_hwndShellView = NULL; | |
| CComPtr<IShellView> m_shellView; | |
| CComPtr<IShellFolder> m_desktopFolder; | |
| CComPtr<IShellFolder> m_currentFolder; |