トルネード

毛利のメモ書き

2016-01-01から1年間の記事一覧

Visual C++ 2015 cpprestsdkを使ってREST受信

Visual C++ 2015 cpprestsdkを使ってREST受信する マイクロソフトさんがgithubで公開しているREST SDKです github.com/Microsoft/cpprestsdk NuGetからcpprestsdkが取れます How to use the C Rest SDK NuGet package · Microsoft/cpprestsdk Wiki · GitHub …

std::wstring to byte[]

VC++2015の場合 #include "stdafx.h" #include <string> #include <iostream> #include <memory> #include <sstream> #include <locale> using Byte = char; using PByte = std::shared_ptr<Byte>; PByte WstrToChar(std::wstring& s1) { unsigned int iLength = s1.length() * 2 + 1; PByte result_{new Byte[</byte></locale></sstream></memory></iostream></string>…

215822

Xbox One X Forza Horizon 4/Forza Motorsport 7 同梱版 (CYV-00062)

JBL GO2 Bluetoothスピーカー IPX7防水/ポータブル/パッシブラジエーター搭載 グレー JBLGO2GRY

phpで(TSV)タブ区切りファイルを読む

入力タブ区切りファイル a \t b \t c \t d phpコード eof()) { $line_= $file_->fgetcsv("\t"); if (! empty($line_[0])) { echo $line_[0]; echo $line_[1]; echo $line_[2]; echo $line_[3] . "\n"; } } ?>

Amazon Linux(EC2)のUTC時間を日本時間(JST)に変更

zoneinfo/Japanファイルをlocaltimeにコピーする mv /etc/localtime /etc/localtime.1 cp /usr/share/zoneinfo/Japan /etc/localtime これで再起動しなくても日本時間(JST)になりました

Ubuntu 15.10に Firebird-3.0.0をインストール

Firebird-3.0ダウンロード先 firebirdsql.org/ #Firebird-3.0.0.32483-0.amd64.tar.gzをダウンロードする wget https://sourceforge.net/projects/firebird/files/firebird-linux-amd64/3.0-Release/Firebird-3.0.0.32483-0.amd64.tar.gz Firebird-3.0.0.324…

--

--

Cocoa Touch Static Libraryの作り方(Objective-C)

Xcode version7.2を使ってCocoa Touch Static Libraryを作る。 1.File->New->Projectで 「iOS Framework & Library」を選択する "Cocoa Touch Static Library"を選択して"Next" Product Name, Organization Name, Organization Identifierなどを入れて"Next"…