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; |
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
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
#!/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
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
引数として渡されたプロセス名が起していれば | |
プロセスを強制終了する | |
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
// DirectShowTest_1.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 | |
// | |
#include "stdafx.h" | |
#include <dshow.h> | |
#define FILENAME L"D:\\sample\\CIMG0145.AVI" | |
int _tmain(int argc, _TCHAR* argv[]) |
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; | |
namespace ConsoleApplication7 | |
{ | |
public struct Test | |
{ |
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
long starttime,endtime,elapsedtime; | |
long baudrate=115200; | |
long number=500; | |
void setup(){ | |
Serial.begin(baudrate); | |
} | |
void loop(){ | |
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 <StandardCplusplus.h> | |
#include <system_configuration.h> | |
#include <unwind-cxx.h> | |
#include <utility.h> | |
#include <vector> | |
void setup(){ | |
Serial.begin(9600); | |
} | |
void loop(){ |
NewerOlder