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
#データベース作成 | |
create database *; | |
#カラム追加 | |
alter table (テーブル名) add (カラム名) VARCHAR(15) NOT_NULL; | |
#カラム定義変更 | |
alter table (table_name) modify column (column_name) varchar(15) NOT_NULL; | |
#基本型。root権限でログイン |
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
#verを確認 | |
ruby -v | |
gem -v | |
rails -v | |
#update | |
sudo gem update --system | |
sudo gem install rails | |
sudo gem install rake |
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
# | |
# プロパティファイル(.properties)に記述するJSON | |
# | |
# 通常 | |
hoge=foo | |
# JSON | |
# ResourceBundle.getStringで以下のキーを指定するとJSON文字列が取れる | |
# JSON.decodeすればMap<String, String>で取得可能 |
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
# MySQLのDBをファイル単位で分割して保持する設定 | |
# my.iniに記載 | |
innodb_file_per_table |
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
// | |
// ViewController.swift | |
// Problem_part1 | |
// | |
import UIKit | |
class ViewController: UIViewController { | |
@IBOutlet var textField: [UITextField]! |
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
// | |
// ViewController.swift | |
// Problem_part2 | |
// | |
// Created by 久保田 将規 on 2015/03/08. | |
// Copyright (c) 2015年 masaki.k. All rights reserved. | |
// | |
import UIKit |
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
// | |
// ViewController.swift | |
// Problem_part3 | |
// | |
// Created by masakid on 2015/03/08. | |
// Copyright (c) 2015年 masaki.k. All rights reserved. | |
// | |
import UIKit |
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
// | |
// ViewController.swift | |
// Problem_part3 | |
// | |
// Created by masakid on 2015/03/08. | |
// Copyright (c) 2015年 masaki.k. All rights reserved. | |
// | |
import UIKit |
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
// | |
// ViewController.swift | |
// Problem_part4 | |
// | |
// Created by masakid on 2015/03/10. | |
// Copyright (c) 2015年 masaki.k. All rights reserved. | |
// | |
import UIKit |
OlderNewer