start

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
start [2020/02/09 00:48] – [確認くん] ともやんstart [2020/08/30 13:25] ともやん
行 1: 行 1:
 <html> <html>
-  <!--+  <script src="/_media/javascript/requirejs/require-2.3.6.min.js?cache=recache"></script> 
 +  <script> 
 +    //self.DEBUG = true; 
 +  </script> 
 +  <script src="/_media/javascript/requirejs/settings.js?cache=nocache"></script> 
 +  <!-- Tomoyan.net Vue.js app start -->
   <style>   <style>
-    .char-svg +    #kakunin_kun div.table 
-      positionfixed+      overflow-xunset
-      width: 509px; +    } 
-      height: 415px; +    #kakunin_kun table th { 
-      background-imageurl("/_media/mg_chara.svg?cache=recache")+      white-spacenowrap
-      background-repeat: no-repeat; +    } 
-      top: auto; +    .font_half { 
-      left: 0; +      font-size50%;
-      right: 0; +
-      bottom: 0; +
-      margin: 0 auto; +
-      z-index-1; +
-      opacity: 0.7;+
     }     }
   </style>   </style>
-  <script> 
-    const $ = jQuery; 
-    $(() => { 
-      $('#dokuwiki__content').append('<div class="char-svg"></div>'); 
-    }); 
-  </script> 
-  --> 
 </html> </html>
 ====== ようこそ、ともやん・どっと・ねっとへ!! ====== ====== ようこそ、ともやん・どっと・ねっとへ!! ======
-{{mg_chara.svg?400|MGC Character}}+{{mg_chara.png?400|MGC Character}}
  
-===== 確認くん =====+====== 確認くん ======
 お出掛け前のチェックにどうぞ。\\ お出掛け前のチェックにどうぞ。\\
-^ IP アドレス (IPv4 |  <php>echo $_SERVER["REMOTE_ADDR"];</php>  | +<WRAP prewrap 100% #kakunin_kun> 
-^ ゲートウェイ名  <php>echo '<a href="https://www.aguse.jp/?url='.gethostbyaddr($_SERVER["REMOTE_ADDR"]).'">'.gethostbyaddr($_SERVER["REMOTE_ADDR"]).'</a>';</php> +<html> 
- +  <div id="tomoyan_net_app"> 
-<ifauth @dokuwikiusers+</html> 
-===== Dokuwiki Top (内部) =====+^ IP アドレス (<html>{{ ip_ver }}</html>)\\ <html><span class="font_half">REMOTE_ADDR</span></html>  | <html>{{ remote_addr }}</html>  | 
 +^ ゲートウェイ名\\ <html><span class="font_half">gethostbyaddr(REMOTE_ADDR)</span></html>  | <php>echo '<a href="https://www.aguse.jp/?url='.gethostbyaddr($_SERVER["REMOTE_ADDR"]).'" target="_blank">'.gethostbyaddr($_SERVER["REMOTE_ADDR"]).'</a>';</php> 
 +^ CPU Cores\\ <html><span class="font_half">navigator.hardwareConcurrency</span></html>  | <html>{{ cpu_cores }}</html>  | 
 +^ [[https://ja.wikipedia.org/wiki/%E7%94%BB%E9%9D%A2%E8%A7%A3%E5%83%8F%E5%BA%A6|画面解像度]]\\ <html><span class="font_half">screen & window</span></html>  | <html>{{ display_resolution }}</html>  | 
 +^ ダークモード\\ <html><span class="font_half">CSS @media (prefers-color-scheme: dark)</span></html>  | <html>{{ dark_mode }}</html> 
 +^ [[https://ja.wikipedia.org/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88|User Agent]]  | <html>{{ user_agent }}</html> 
 +<php>echo '<input id="remote_addr" type="hidden" value="'.$_SERVER["REMOTE_ADDR"].'" />';</php> 
 +<html> 
 +  </div> 
 +  <!-- Tomoyan.net Vue.js app end --> 
 +</html> 
 +</WRAP>
  
 +<ifauth @internal_users>
 +====== Dokuwiki Top (内部) ======
 ^DokuWikiの使い方^^ ^DokuWikiの使い方^^
-|[[playground:playground|書き込みの練習場所]]  |[[doku_maintenance|DokuWikiメンテ部屋]]  |+|[[playground:playground|書き込みの練習場所]]  |  | 
 + 
 +^ 生活 ^^^ 
 +|[[internal_users_area:pharmacy|お薬関連]]  | [[internal_users_area:fee_calculation|料金計算]]  | [[internal_users_area:other|その他]] 
 +|[[internal_users_area:medical_science|医学関連]]  |  |  | 
 +</ifauth> 
 + 
 +<ifauth @confidential> 
 +[[doku_maintenance|DokuWikiメンテ部屋]]\\
  
 ^ その他 ^^^ ^ その他 ^^^
-|[[confidential_area:pharmacy|お薬関連]]  |  |  | 
 |[[confidential_area|機密領域]]  |[[system_manage|システム管理]]  |[[info_arrange|情報整理(管理者専用)]]  | |[[confidential_area|機密領域]]  |[[system_manage|システム管理]]  |[[info_arrange|情報整理(管理者専用)]]  |
 |[[kodomo_area|子供向けサーバー構築]]  |  | |[[kodomo_area|子供向けサーバー構築]]  |  |
 </ifauth> </ifauth>
  
-===== Dokuwiki Top =====+====== Dokuwiki Top ======
 <php> <php>
 function curlGet($url) { function curlGet($url) {
行 94: 行 107:
 | [[http://www.dokuwiki.org/ja:dokuwiki|Dokuwiki本家]]  | [[SyntaxTest|書式テスト]]  | | [[http://www.dokuwiki.org/ja:dokuwiki|Dokuwiki本家]]  | [[SyntaxTest|書式テスト]]  |
  
-技術資料  ^^^^+カテゴリー別  ^^^^ 
 +^ OS  ^^^^
 | [[linux|Linux 関連]]  | [[linux_zaurus|Linux Zaurus 関連]]  | [[network|ネットワーク関連]]  | [[windows:regex|正規表現]]  | | [[linux|Linux 関連]]  | [[linux_zaurus|Linux Zaurus 関連]]  | [[network|ネットワーク関連]]  | [[windows:regex|正規表現]]  |
 | [[mac|Mac 関連]]  | [[ios|iPhone/iOS 関連]]  | [[android|Android 関連]]  |  | | [[mac|Mac 関連]]  | [[ios|iPhone/iOS 関連]]  | [[android|Android 関連]]  |  |
-| [[windows|Windows 関連]] [[dotnet|.NET 関連]]  [[web|Web 関連]]  | [[charset|文字コード]]  |+| [[windows|Windows 関連]]       | 
 +^ 言語  ^^^^
 | [[python|Python 関連]]  | [[python:django|Django Framework 関連]]  | [[php|PHP 関連]]  | [[ruby|Ruby 関連]]  | | [[python|Python 関連]]  | [[python:django|Django Framework 関連]]  | [[php|PHP 関連]]  | [[ruby|Ruby 関連]]  |
-| [[html_css|HTML5 + CSS3 関連]]  | [[javascript|JavaScript 関連]]  | [[golang|Go 関連]]  |   +| [[html_css|HTML5 + CSS3 関連]]  | [[javascript|JavaScript 関連]]  | [[c_cpp|C/C++ 関連]]  | [[golang|Go 関連]]  | 
-| [[database|データベース関連]]  | [[hardware|ハードウェア関連]]  | [[c_cpp|C/C++ 関連]]  | [[algorithm|アルゴリズム]]  |+^ テクノロジ  ^^^^ 
 +| [[web|Web 関連]]  | [[dotnet|.NET 関連]]  | [[hardware|ハードウェア関連]]  | [[charset|文字コード]]  
 +| [[algorithm|アルゴリズム]]  | [[database|データベース関連]]  |     |
 | [[ai|人工知能関連]]  | [[security|セキュリティ関連]]  |     | | [[ai|人工知能関連]]  | [[security|セキュリティ関連]]  |     |
 +^ その他  ^^^^
 +| [[mathematics|数学関連]]  | [[application|アプリ関連]]  | [[open_standard|オープン標準関連]]  | [[information_source|情報源]]  |
 +| [[electronics|電子工学関連]]  |  |  |  |
  
 ^ 生活  ^^^^ ^ 生活  ^^^^
-| [[cooking|お料理関連]]       |+| [[cooking|🍳ハッカ~♪ のお料理]]  | [[onsen|♨️温泉]]  | [[medical_science|🏥医学関連]] [[music|🎵音楽]]  | 
 +[[lifehacker|🏡ハッカ~♪ の生活術]]  |  [[dog|🐶どっぐ]]  |  |  | 
 + 
 +^ 金融  ^^^^ 
 +| [[currency|通貨関連]]  |  |  |  | 
 + 
 +<html> 
 +  <script> 
 +    let tomoyan_net_app; 
 +    require(['Vue'], (Vue) => { 
 +      tomoyan_net_app = new Vue({ 
 +        el: '#tomoyan_net_app', 
 +        data: { 
 +          user_agent: navigator.userAgent, 
 +          display_resolution: '', 
 +          remote_addr: this.remote_addr.value, 
 +        }, 
 +        created: function() { 
 +          this.set_display_resolution(); 
 +        }, 
 +        computed: { 
 +          ip_ver: function() { 
 +            return this.remote_addr.indexOf(':') !== -1 ? 'IPv6' : 'IPv4'; 
 +          }, 
 +          cpu_cores: function() { 
 +            let cpu_cores = (!!navigator.hardwareConcurrency ?  
 +                                 navigator.hardwareConcurrency : 
 +                                 ''); 
 +            let cpu_cores_tr = this.$el.querySelector('#kakunin_kun .row2'); 
 +             
 +            if (cpu_cores == '') { 
 +              //cpu_cores_tr.hidden = true; 
 +              //cpu_cores_tr.setAttribute('style', 'display: none;'); 
 +              cpu_cores = '取得不能'; 
 +            } 
 +            else { 
 +              cpu_cores += ' core'; 
 +            } 
 +             
 +            return cpu_cores; 
 +          }, 
 +          dark_mode: function() { 
 +            if (matchMedia('(prefers-color-scheme)').media == 'not all') { 
 +              return '未対応'; 
 +            } 
 +            else { 
 +              return matchMedia('(prefers-color-scheme: dark)').matches ? 'はい' : 'いいえ'; 
 +            } 
 +          }, 
 +        }, 
 +        methods: { 
 +          set_display_resolution: function() { 
 +            const display_resolution = 
 +              screen.width + ' x ' + screen.height + ' pixel ' + 
 +              '(表示サイズ ' + window.innerWidth + ' x ' + window.innerHeight + ' pixel)'; 
 +             
 +            this.display_resolution = display_resolution; 
 +          }, 
 +        }, 
 +        mounted: function() { 
 +          window.addEventListener('resize', this.set_display_resolution) 
 +        }, 
 +        beforeDestroy: function() { 
 +          window.removeEventListener('resize', this.set_display_resolution) 
 +        }, 
 +      }); 
 +    }); 
 +  </script> 
 +</html> 
 + 
 +このサイトを広告なしで見るには [[web:brave|Brave - プライバシーを重視した高速かつ安全な次世代ブラウザ]] の利用をお勧めします。\\