| - | 燃料 | 弾薬 | 鋼材 | ボーキ | バケツ |
|---|---|---|---|---|---|
| E1 | 1942 | 2108 | 814 | 632 | 14 |
| E2 | -559 | -56 | -306 | -886 | 2 |
| E3 | 3439 | 2649 | 1310 | 1292 | 12 |
| 艦種 | 艦名 | Lv | con | Hp | Exp |
|---|
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
| fiber = Fiber.new {|commit| | |
| puts "fiber start" | |
| ActiveRecord::Base.transaction { | |
| puts "begin" | |
| Fiber.yield | |
| raise ActiveRecord::Rollback unless commit | |
| puts "commit" | |
| } | |
| puts "fiber end" | |
| } |
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
| /* /Applications/HipChat.app/Contents/Resources/chat-osx.css */ | |
| p, div { | |
| font-family: Helvetica; | |
| } | |
| p, div, .nameBlock p, .messageBlock p, .messageBlock div, .messageBlock pre { | |
| /* These are %-based to enable text size scaling options. The default text size is defined | |
| by a function on the WebPreferences object */ | |
| font-size: 100%; |
mapとか http://wikiwiki.jp/kancolle/?AL%BA%EE%C0%EF%A1%BFMI%BA%EE%C0%EF
| - | 燃料 | 弾薬 | 鋼材 | ボーキ | バケツ |
|---|---|---|---|---|---|
| E1 | 6204 | 1568 | 6559 | 966 | 69 |
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
| #!/bin/sh | |
| CWD=$(cd $(dirname $0); pwd) | |
| echo "This script will create a local riak cluster for development purposes only." | |
| echo "Prerequisites: install riak using homebrew (tested with v1.4.8)." | |
| echo "The cluster will be created in the current directory." | |
| echo "Riak admin is enabled with no security.\n" | |
| read -p "Enter a name for your cluster [cluster]: " name |
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
| # -*- encoding : utf-8 -*- | |
| class Exception | |
| def print_backtrace(options = {:out => $stderr, :filters => []}) | |
| out = options[:out] || $stderr | |
| filters = options[:filters] | |
| filters = filters.nil? ? [] : | |
| filters.respond_to?(:to_ary) ? filters.to_ary : | |
| [filters] |
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
| {- | |
| 新人女子プログラマの書いたコードを直すだけの簡単なお仕事です!|paizaオンラインハッカソンVol.1 https://paiza.jp/poh/ec-campaign | |
| -} | |
| import Data.List | |
| import Data.Maybe | |
| main = do cs <- getContents | |
| putStr $ unlines $ (map show) $ parse $ lines cs | |
| parse :: [String] -> [Int] | |
| parse ls = map (findBestPrice prices) goals |