erbもっと楽に書きたい!
Gemfile以下を記載。
gem "haml-rails", "~> 2.0"
以下のコマンドでerb->hamlに変換。Rails5以降、rakeコマンドをrailsコマンドで叩けるようになった。
$ rails haml:erb2haml
erbもっと楽に書きたい!
Gemfile以下を記載。
gem "haml-rails", "~> 2.0"
以下のコマンドでerb->hamlに変換。Rails5以降、rakeコマンドをrailsコマンドで叩けるようになった。
$ rails haml:erb2haml
ConEmuからGitBashが呼べるようにする
Ricty diminished Discordを入れる。
http://www.rs.tus.ac.jp/yyusa/ricty_diminished.html
アンチエイリアスはStandard
あとここらの設定
http://normalblog.net/system/download_install_settings
「VC++ Directories」→「Include Directories」
「VC++ Directories」→「Library Directories」
d3dx9d.lib;d3d9.lib;winmm.lib;dxguid.lib;dinput8.lib;xinput.lib (Debug)
d3dx9.lib;d3d9.lib;winmm.lib;dxguid.lib;dinput8.lib;xinput.lib (Relese)
#include <winbase.h> | |
#include <boost/format.hpp> | |
inline void Log(boost::format &bfmt) { | |
#if defined(_DEBUG) | |
OutputDebugString(bfmt.str().c_str()); | |
#endif | |
} | |
template<class First, class... Rest> |
template <typename Type> inline void OutputDebugValue(Type& value) { | |
OutputDebugString(std::to_string(value).c_str()); | |
OutputDebugString("\n"); | |
} |
#include <Siv3D.hpp> | |
//色々だるいしシーケンスグローバル | |
enum class State { | |
TITLE, | |
IN_GAME, | |
GAMEOVER, | |
CLEAR, | |
}; |
#include <Dxlib.h> | |
#pragma warning(disable:4996) | |
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow ) { | |
//SetGraphMode();画面サイズ任意 | |
if (MessageBox(NULL,"フルスクリーンで起動しますか?","起動オプション",MB_YESNO) == IDYES) { | |
ChangeWindowMode(FALSE); | |
} else { | |
ChangeWindowMode(TRUE); | |
} |
a.exe < 2014-yo-t%1-in1.txt > 2014-yo-t%1-out1.txt | |
a.exe < 2014-yo-t%1-in2.txt > 2014-yo-t%1-out2.txt | |
a.exe < 2014-yo-t%1-in3.txt > 2014-yo-t%1-out3.txt | |
a.exe < 2014-yo-t%1-in4.txt > 2014-yo-t%1-out4.txt | |
a.exe < 2014-yo-t%1-in5.txt > 2014-yo-t%1-out5.txt |
#include <iostream> | |
#include <chrono> | |
using namespace std; | |
int main() | |
{ | |
auto begin = chrono::high_resolution_clock::now(); | |
//計測したい処理 |