両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン |
start [2019/09/17 17:30] – ともやん | start [2020/08/17 05:55] – ともやん |
---|
<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 { |
position: fixed; | overflow-x: unset; |
width: 509px; | } |
height: 415px; | #kakunin_kun table th { |
background-image: url("/_media/mg_chara.svg?cache=recache"); | white-space: nowrap; |
background-repeat: no-repeat; | } |
top: auto; | .font_half { |
left: 0; | font-size: 50%; |
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}} |
| |
<ifauth @dokuwikiusers> | ====== 確認くん ====== |
===== Dokuwiki Top (内部) ===== | お出掛け前のチェックにどうぞ。\\ |
| <WRAP prewrap 100% #kakunin_kun> |
| <html> |
| <div id="tomoyan_net_app"> |
| </html> |
| ^ 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メンテ部屋]]\\ |
| |
^ その他 ^^^ | ^ その他 ^^^ |
</ifauth> | </ifauth> |
| |
===== Dokuwiki Top ===== | ====== Dokuwiki Top ====== |
<php> | <php> |
function curlGet($url) { | function curlGet($url) { |
| |
// gaitameonline.com | // gaitameonline.com |
/*echo '<div class="table"><table><thead><tr><th colspan="6">'.$usdjpy['currencyPairCode'].'</th></tr></thead>'; | /*echo '<div class="table" style="word-break: break-word;"><table><thead><tr><th colspan="6">'.$usdjpy['currencyPairCode'].'</th></tr></thead>'; |
echo '<tbody><tr><td>Bid(売値)</td><td colspan="2">'.$usdjpy['bid'].'</td>'; | echo '<tbody><tr><td>Bid(売値)</td><td colspan="2">'.$usdjpy['bid'].'</td>'; |
echo '<td>Ask(買値)</td><td colspan="2">'.$usdjpy['ask'].'</td></tr>'; | echo '<td>Ask(買値)</td><td colspan="2">'.$usdjpy['ask'].'</td></tr>'; |
| |
// finance.yahoo.co.jp | // finance.yahoo.co.jp |
echo '<div class="table"><table class="inline"><thead><tr><th colspan="6"><a href="https://info.finance.yahoo.co.jp/fx/detail/?code=USDJPY=FX" target="_blank">米ドル/円 - Powered by Yahoo!ファイナンス</a></th></tr></thead>'; | echo '<div class="table" style="word-break: break-word;"><table class="inline"><thead><tr><th colspan="6"><a href="https://info.finance.yahoo.co.jp/fx/detail/?code=USDJPY=FX" target="_blank">米ドル/円 - Powered by Yahoo!ファイナンス</a></th></tr></thead>'; |
echo '<tbody><tr><td>Bid(売値)</td><td>'.$usdjpy['Bid'].'</td>'; | echo '<tbody><tr><td>Bid(売値)</td><td>'.$usdjpy['Bid'].'</td>'; |
echo '<td>Ask(買値)</td><td>'.$usdjpy['Ask'].'</td>'; | echo '<td>Ask(買値)</td><td>'.$usdjpy['Ask'].'</td>'; |
| [[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 関連]] | [[android|Android 関連]] | | | | | [[mac|Mac 関連]] | [[ios|iPhone/iOS 関連]] | [[android|Android 関連]] | | |
| [[windows|Windows 関連]] | [[dotnet|.NET Core, .NET Framework 関連]] | [[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|セキュリティ関連]] | | | |
| ^ その他 ^^^^ |
| | [[mathematics|数学関連]] | [[application|アプリ関連]] | [[open_standard|オープン標準関連]] | [[information_source|情報源]] | |
| | [[electronics|電子工学関連]] | | | | |
| |
| ^ 生活 ^^^^ |
| | [[cooking|🍳ハッカ~♪ のお料理]] | [[onsen|♨️温泉]] | [[medical_science|🏥医学関連]] | [[music|🎵音楽]] | |
| | [[lifehacker|🏡ハッカ~♪ の生活術]] | | | | |
| |
| ^ 金融 ^^^^ |
| | [[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 - プライバシーを重視した高速かつ安全な次世代ブラウザ]] の利用をお勧めします。\\ |