This file contains 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
// =================================================================== | |
// Created By Kaz Ozzy(fa11enprince) | |
// テキトーに使ってください。 | |
// Rev1. 2014/06/13 | |
// Rev2. 2014/07/19 | |
// 重大なバグ修正(乱数生成部) | |
// =================================================================== | |
#ifdef _WIN32 | |
#define _CRT_SECURE_NO_WARNINGS | |
#include <ctype.h> |
This file contains 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
"--------------------------------------------------------------------------- | |
" 検索の挙動に関する設定: | |
" | |
" 検索時に大文字小文字を無視 (noignorecase:無視しない) | |
set ignorecase | |
" 大文字小文字の両方が含まれている場合は大文字小文字を区別 | |
set smartcase | |
" インクリメンタルサーチ | |
set incsearch | |
" 検索ハイライト |
This file contains 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 <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
const int CardNumber = 13; | |
const int JokerIndex = 13; | |
enum SuitElement | |
{ |
This file contains 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
package mail; | |
import java.io.BufferedReader; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.UnsupportedEncodingException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Properties; |
This file contains 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
package mail; | |
import java.io.IOException; | |
import java.io.UnsupportedEncodingException; | |
import javax.mail.MessagingException; | |
public class MailTest { | |
private static final String MAIL_TEMPLATE = "mail.template"; | |
public static void main(String[] args) { |
This file contains 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
mail.host = smtp.gmail.com # smtp.hostと同じものを設定 | |
mail.smtp.host = smtp.gmail.com | |
mail.smtp.port = 587 | |
mail.smtp.auth = true | |
mail.smtp.starttls.enable = true | |
mail.encoding = ISO-2022-JP | |
mail.template = ./src/resources/mail_template | |
mail.template.encoding = UTF-8 |
This file contains 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
{toname}さん | |
迷惑メール作成お疲れ様です。 | |
ねえ、今どんな気持ち? | |
ねえ、今どんな気持ち? | |
ねえ、今どんな気持ち? | |
ねえ、今どんな気持ち? | |
ねえ、今どんな気持ち? | |
ねえ、今どんな気持ち? | |
ねえ、今どんな気持ち? |
This file contains 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 <iostream> | |
#include <string> | |
#include <regex> | |
int main() | |
{ | |
std::vector<std::string> test = { | |
"Windows 8", | |
"Windows8", | |
"Microsoft Windows8", |
This file contains 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
// @author Kaz Ozzy (id: fa11enprince) | |
// @update 2014/07/11 | |
// @version 1.2 | |
// ver 1.0 初版 | |
// ver 1.1 ゲームオーバー時処理追加 | |
// ver 1.2 クラス設計見直し | |
// publicのisMovable()をFieldクラスからPieceクラスに移動し、privateに | |
// TetrisクラスのgetNextPiece(), getField()が不要なので削除 | |
// | |
// 参考 |
This file contains 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 <iostream> | |
#include <string> | |
#define USE_MY_LIB_ | |
#ifdef USE_MY_LIB_ | |
// 偽物ライブラリ | |
namespace MyLib | |
{ | |
template |
OlderNewer