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
| 引数として渡されたプロセス名が起していれば | |
| プロセスを強制終了する | |
| process.sh | |
| ------------------------------ | |
| #!/bin/sh | |
| #プロセス名を引数として受け取る | |
| PROCESS_NAME=$0 |
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
| expect_sample.sh | |
| -------------------------------------------------------------- | |
| #!/bin/sh | |
| COMMAND="ls -la" | |
| expect -c" | |
| set timeout 5 | |
| spawn env LANG=C /usr/bin/ssh UserName@host | |
| expect \"\\\% \" |
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
| #!/bin/sh | |
| #概要: | |
| # ローカルのmongodbサーバに対してfindコマンドを実行する | |
| # 対象のコレクション名は第一引数、検索条件は第二引数で指定する | |
| # 第二引数がない場合は検索条件なしで第一引数のコレクションに対し | |
| # findコマンドを実行する | |
| # | |
| #引数: | |
| # 第一引数-コレクション名 |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Data; | |
| using System.Windows.Documents; | |
| using System.Windows.Input; |
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
| とりあえずWebサイトの指定があったので... |
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
| #include <fstream> | |
| #include <string> | |
| #include <vector> | |
| #include <iostream> | |
| #include <sstream> | |
| using namespace std; |
OlderNewer