ラベル Tools の投稿を表示しています。 すべての投稿を表示
ラベル Tools の投稿を表示しています。 すべての投稿を表示

2021年3月19日金曜日

Windows での OpenSSH

Windows での OpenSSH

sshd.exe。リモートで管理されるシステム上で実行されている必要がある SSH サーバー コンポーネントです。

例 net start sshd

ssh.exe: ユーザーのローカル システム上で実行される SSH クライアント コンポーネントです

ssh-keygen.exe: SSH 用の認証キーを生成、管理、および変換します

ssh-agent.exe: 公開キーの認証に使用される秘密キーを格納します

ssh-add.exe: サーバーで許可される一覧に秘密キーを追加します

ssh-keyscan.exe: 複数のホストから公開 SSH ホスト キーを収集するのに役立ちます

sftp.exe: セキュア ファイル転送プロトコルを提供し、SSH 経由で実行されます

例 sftp pi@192.168.3.3

scp.exe: SSH で実行されるファイル コピー ユーティリティです

例 scp G20210318.mp4 pi@192.168.3.3:\var/www/html/qq/temp

例 >scp pi@192.168.3.3:\var\..\temp\G20210318.mp4 c:\users\nuc\desktop


end

2017年11月4日土曜日

Google 翻訳 の再生ファイルの保存の方法

Google 翻訳 の再生ファイルの保存の方法、手順の記録

1.     Google Chrome ブラウザ翻訳文字を入れます。
       
       
        


2.       F12 を押し、デバッグを開く
          Application タプを開く → Frames →Media →
          translate_tts をWクリックして開く 再生画面でダウンロードします。

                    
        
     


2016年2月26日金曜日

Notepad++ 最後の行を画面の最上に表示する方法

Notepad++  最後の行を画面の最上に表示する方法

Plugin の 「Notepad#」を追加します。


















2015年10月30日金曜日

日本の税金は高いですね

日本の税金は高いですね

ランクは下がるしかないですね。残念だね

www





2014年3月21日金曜日

Twitter ボタン Google+ ボタン

Twitter ボタン


ウェブサイトにボタンを追加してウェブサイトの訪問者がコンテンツを共有したり、あなたとTwitterでつながったりできるようにしましょう。

https://about.twitter.com/ja/resources/buttons#tweet

<a href="https://twitter.com/share" class="twitter-share-button" data-text="ツイッター本文" data-lang="ja" data-count="none" data-dnt="true">ツイート</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>




Google+ ボタン


ページに共有ボタンを含めるには、必要な JavaScript を含め、共有タグを追加する方法が最も簡単です。この基本的な実装には、幅を変更できる標準の 20 px 共有ボタンが含まれます。

https://developers.google.com/+/web/share/?hl=ja

<script src="https://apis.google.com/js/plusone.js"></script>
<g:plus action="share"></g:plus>


Google+ 共有リンク


共有リンクは、ネイティブ クライアント アプリケーション、Flash アプリケーション、プライバシーが重要なサイト、+1 ボタンまたは共有ボタンを使用できないその他のユーザー向けに作られています。次のマークアップをサイトに追加すると、訪問者に共有ダイアログをポップアップ表示するシンプルなアイコンが追加されます。

<a href="https://plus.google.com/share?url={URL}" onclick="javascript:window.open(this.href,
  '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img
  src="https://www.gstatic.com/images/icons/gplus-64.png" alt="Share on Google+"/></a>










2013年11月25日月曜日

View HTTP Request and Response Header

View HTTP Request and Response Header


http://web-sniffer.net/


<?php
$url='http://t.co/gW5Y1PYqNM';
echo '<pre>';
print_r(get_headers($url));

echo '<br>';
print_r(get_headers($url,1));


?>


Array
(
    [0] => HTTP/1.0 301 Moved Permanently
    [1] => cache-control: private,max-age=300
    [2] => date: Mon, 25 Nov 2013 16:16:38 GMT
    [3] => expires: Thu, 01-Jan-1970 00:00:00 GMT
    [4] => location: http://www.dodofei.com/player.php?url=https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?uo=2
    [5] => server: tfe
    [6] => set-cookie: muc=1;Domain=t.co;Expires=Sat, 07-Nov-2015 16:16:38 GMT
    [7] => Content-Length: 0
    [8] => HTTP/1.1 302 Found
    [9] => Date: Mon, 25 Nov 2013 16:15:47 GMT
    [10] => Server: Apache/2.2.22 (Win32) PHP/5.4.15
    [11] => X-Powered-By: PHP/5.4.15
    [12] => location: https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?uo=2&at=10ldd8
    [13] => Content-Length: 119
    [14] => Connection: close
    [15] => Content-Type: text/html; charset=UTF-8
    [16] => Content-Language: ja
    [17] => HTTP/1.0 301 Moved Permanently
    [18] => Last-Modified: Mon, 25 Nov 2013 16:16:39 GMT
    [19] => Content-Type: text/html; charset=UTF-8
    [20] => x-apple-translated-wo-url: /WebObjects/MZStore.woa/wa/viewMusicVideo?uo=2&at=10ldd8&id=720776643&cc=fr
    [21] => x-apple-orig-url: https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?uo=2&at=10ldd8
    [22] => x-apple-application-site: ST11
    [23] => apple-timing-app: 3 ms
    [24] => Location: https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?ign-mpt=uo%3D2
    [25] => x-apple-lokamai-no-cache: true
    [26] => x-apple-application-instance: 2125714
    [27] => x-apple-aka-ttl: Generated Mon Nov 25 08:16:39 PST 2013, Expires Mon Nov 25 08:16:39 PST 2013, TTL 0s
    [28] => x-webobjects-loadaverage: 0
    [29] => x-apple-jingle-correlation-key: DA6WMX2UOPXMS
    [30] => Content-Length: 0
    [31] => Server: ATS/4.1.0
    [32] => Expires: Mon, 25 Nov 2013 16:16:39 GMT
    [33] => Cache-Control: max-age=0, no-cache
    [34] => Pragma: no-cache
    [35] => Date: Mon, 25 Nov 2013 16:16:39 GMT
    [36] => Connection: close
    [37] => Set-Cookie: ls=1; version="1"; max-age=10; expires=Mon, 25-Nov-2013 16:16:49 GMT; path=/; domain=.apple.com
    [38] => Set-Cookie: a=QQAJAAAACwAfUZAGMTBsZGQ4AAAAACr2LcM=; version="1"; expires=Sat, 30-Nov-2013 16:16:39 GMT; path=/; domain=.apple.com
    [39] => X-Apple-Partner: origin.0
    [40] => HTTP/1.0 200 OK
    [41] => Last-Modified: Mon, 25 Nov 2013 16:16:39 GMT
    [42] => x-apple-lok-response-date: Mon Nov 25 08:16:39 PST 2013
    [43] => x-apple-translated-wo-url: /WebObjects/MZStore.woa/wa/viewMusicVideo?ign-mpt=uo%3D2&id=720776643&cc=fr
    [44] => x-apple-orig-url: https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?ign-mpt=uo%3D2
    [45] => x-apple-application-site: NWK
    [46] => apple-timing-app: 149 ms
    [47] => x-apple-aka-ttl: Generated Mon Nov 25 08:16:39 PST 2013, Expires Mon Nov 25 08:17:39 PST 2013, TTL 60s
    [48] => x-apple-application-instance: 1003405
    [49] => Content-Type: text/html; charset=UTF-8
    [50] => x-webobjects-loadaverage: 0
    [51] => x-apple-jingle-correlation-key: 3U2NYZPIBCE2S
    [52] => Server: ATS/4.1.0
    [53] => Cache-Control: no-transform, max-age=60
    [54] => Date: Mon, 25 Nov 2013 16:16:39 GMT
    [55] => Connection: close
    [56] => X-Apple-Partner: origin.0
)

Array
(
    [0] => HTTP/1.0 301 Moved Permanently
    [cache-control] => private,max-age=300
    [date] => Mon, 25 Nov 2013 16:16:39 GMT
    [expires] => Thu, 01-Jan-1970 00:00:00 GMT
    [location] => Array
        (
            [0] => http://www.dodofei.com/player.php?url=https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?uo=2
            [1] => https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?uo=2&at=10ldd8
        )

    [server] => tfe
    [set-cookie] => muc=1;Domain=t.co;Expires=Sat, 07-Nov-2015 16:16:39 GMT
    [Content-Length] => Array
        (
            [0] => 0
            [1] => 119
            [2] => 0
        )

    [1] => HTTP/1.1 302 Found
    [Date] => Array
        (
            [0] => Mon, 25 Nov 2013 16:15:48 GMT
            [1] => Mon, 25 Nov 2013 16:16:40 GMT
            [2] => Mon, 25 Nov 2013 16:16:40 GMT
        )

    [Server] => Array
        (
            [0] => Apache/2.2.22 (Win32) PHP/5.4.15
            [1] => ATS/4.1.0
            [2] => ATS/4.1.0
        )

    [X-Powered-By] => PHP/5.4.15
    [Connection] => Array
        (
            [0] => close
            [1] => close
            [2] => close
        )

    [Content-Type] => Array
        (
            [0] => text/html; charset=UTF-8
            [1] => text/html; charset=UTF-8
            [2] => text/html; charset=UTF-8
        )

    [Content-Language] => ja
    [2] => HTTP/1.0 301 Moved Permanently
    [Last-Modified] => Array
        (
            [0] => Mon, 25 Nov 2013 16:16:40 GMT
            [1] => Mon, 25 Nov 2013 16:16:39 GMT
        )

    [x-apple-translated-wo-url] => Array
        (
            [0] => /WebObjects/MZStore.woa/wa/viewMusicVideo?uo=2&at=10ldd8&id=720776643&cc=fr
            [1] => /WebObjects/MZStore.woa/wa/viewMusicVideo?ign-mpt=uo%3D2&id=720776643&cc=fr
        )

    [x-apple-orig-url] => Array
        (
            [0] => https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?uo=2&at=10ldd8
            [1] => https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?ign-mpt=uo%3D2
        )

    [x-apple-application-site] => Array
        (
            [0] => ST11
            [1] => NWK
        )

    [apple-timing-app] => Array
        (
            [0] => 3 ms
            [1] => 149 ms
        )

    [Location] => https://itunes.apple.com/fr/music-video/game-over-feat.-maitre-gims/id720776643?ign-mpt=uo%3D2
    [x-apple-lokamai-no-cache] => true
    [x-apple-application-instance] => Array
        (
            [0] => 2125634
            [1] => 1003405
        )

    [x-apple-aka-ttl] => Array
        (
            [0] => Generated Mon Nov 25 08:16:40 PST 2013, Expires Mon Nov 25 08:16:40 PST 2013, TTL 0s
            [1] => Generated Mon Nov 25 08:16:39 PST 2013, Expires Mon Nov 25 08:17:39 PST 2013, TTL 60s
        )

    [x-webobjects-loadaverage] => Array
        (
            [0] => 0
            [1] => 0
        )

    [x-apple-jingle-correlation-key] => Array
        (
            [0] => 736QQ6BZ67AXU
            [1] => 3U2NYZPIBCE2S
        )

    [Expires] => Mon, 25 Nov 2013 16:16:40 GMT
    [Cache-Control] => Array
        (
            [0] => max-age=0, no-cache
            [1] => no-transform, max-age=59
        )

    [Pragma] => no-cache
    [Set-Cookie] => Array
        (
            [0] => ls=1; version="1"; max-age=10; expires=Mon, 25-Nov-2013 16:16:50 GMT; path=/; domain=.apple.com
            [1] => a=QQAJAAAACwAfUZAGMTBsZGQ4AAAAACr2LcM=; version="1"; expires=Sat, 30-Nov-2013 16:16:40 GMT; path=/; domain=.apple.com
        )

    [X-Apple-Partner] => Array
        (
            [0] => origin.0
            [1] => origin.0
        )

    [3] => HTTP/1.0 200 OK
    [x-apple-lok-response-date] => Mon Nov 25 08:16:39 PST 2013
)