- プロの試合のミニマップを見る
- probuildsでプロのビルドを見て最近のメタを知し、ビルドやマスタリーを真似る
- 各チャンピオンの強い時間帯を知る
- 自分が得意なレーンを知る (top/mid/jungle/adc/support)
- 使うチャンプのスキルのAP/ADレシオを確認する
- 使うチャンプ/仲間のチャンプのパッシブを理解する
- チームの穴を埋めるようなピック、特に足りないタンクやハードCC、ダメージ、スキルのシナジーを考える
- 勝負に対する自分の影響を高めたいなら率先してMidかJungleをやる
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
| -- (1) | |
| manlen :: (Int, Int) -> (Int, Int) -> Int | |
| manlen (a, b) (c, d) = abs(a - c) + abs(b - d) | |
| -- (2) | |
| points :: Int -> [(Int, Int)] | |
| points x = [ (a, b) | a <- [(-1 * x)..x], b <-[(-1 * x)..x]] | |
| -- (3) | |
| mancircle :: Int -> [(Int, Int)] | |
| mancircle x = [(a, b) | (a, b) <- points(x), manlen (0, 0) (a, b) == x] |
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
| git clone [email protected]:sifue/ircslackrelay.git | |
| cd ircslackrelay | |
| sbt assembly |
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
| object MainBefore { | |
| case class Address(id: Int, name: String, postalCode: Option[String]) | |
| case class User(id: Int, name: String, addressId: Option[Int]) | |
| val userDatabase: Map[Int, User] = Map ( | |
| 1 -> User(1, "太郎", Some(1)), | |
| 2 -> User(2, "二郎", Some(2)), | |
| 3 -> User(3, "プー太郎", None) | |
| ) |
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
| sbt> set scalacOptions += "-feature" |
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
| function doubleUp(value) { | |
| return value * 2; | |
| } | |
| function increment(value) { | |
| return value + 1; | |
| } | |
| function output(value) { | |
| console.log(value); | |
| } | |
| var promise = new Promise(function (resolve) { |
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
| javascript:(function(){$("#msgs_div").on('DOMSubtreeModified propertychange', function() {$("div.message > *.message_sender:contains(slackbot)").parent().hide();});})(); |
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
| create table `user_relations` ( | |
| `from_user_id` int NOT NULL, | |
| `to_user_id` int NOT NULL, | |
| `from_user_id_dummy` VARCHAR(124) NOT NULL, | |
| `to_user_id_dummy` VARCHAR(124) NOT NULL, | |
| `created_time` DATETIME NOT NULL, | |
| PRIMARY KEY (`from_user_id`, `to_user_id`), | |
| INDEX `relation_index_created_time` (`from_user_id`, `to_user_id`, `created_time` ) | |
| ) ENGINE=InnoDB DEFAULT CHARACTER SET=latin1 |
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
| public interface User { | |
| public LotResult lot(); | |
| public class Present {} | |
| public interface LotResult { | |
| public Present present(); | |
| } | |
| public class Hit implements LotResult { | |
| public Present present() { return new Present();} | |
| } | |
| public class Blank implements LotResult { |
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
| <!DOCTYPE html> | |
| <html lang="ja-jp"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>ES6練習</title> | |
| </head> | |
| <body> | |
| <script> | |
| (function(){ | |
| 'use strict'; |