おはようございます。KQです。2021年12月19日の朝です。この文章はやんちゃクラブリスナー Advent Calendar 2021 の19日目のものです。
やんちゃクラブを通じて自分もキューブを始めたので、やんちゃクラブのキューブ回を全部見返していました。 なので今回はその動画を見ての感想や自分のキューブについてのこれまでを振り返ってみようと思います。
やんちゃさんがルービックキューブをもらった話をしていますが、自分もルービックキューブを始めたのはもらったのがきっかけだったりします
おはようございます。KQです。2021年12月19日の朝です。この文章はやんちゃクラブリスナー Advent Calendar 2021 の19日目のものです。
やんちゃクラブを通じて自分もキューブを始めたので、やんちゃクラブのキューブ回を全部見返していました。 なので今回はその動画を見ての感想や自分のキューブについてのこれまでを振り返ってみようと思います。
やんちゃさんがルービックキューブをもらった話をしていますが、自分もルービックキューブを始めたのはもらったのがきっかけだったりします
| N,*uvws=$<.read.split.map(&:to_i) | |
| h = {} | |
| uvws.each_slice(3) do |u,v,w| | |
| h[u] ||= [] | |
| h[u] << [u,v,w%2] | |
| h[v] ||= [] | |
| h[v] << [v,u,w%2] | |
| end |
| # or v1.0-onbuild | |
| FROM fluent/fluentd:v1.2.6-onbuild | |
| # below RUN includes plugin as examples elasticsearch is not required | |
| # you may customize including plugins as you wish | |
| RUN apk add --update --virtual .build-deps \ | |
| sudo build-base ruby-dev \ | |
| && sudo gem install \ | |
| fluent-plugin-s3 \ |
| module Lib where | |
| import Data.List.Split | |
| import Data.List | |
| solve :: String -> String | |
| solve = show . solve' | |
| solve' :: String -> Int | |
| solve' [start,goal] = walk [start] [] 0 |
| module Lib where | |
| import Data.List.Split | |
| import Data.List | |
| solve :: String -> String | |
| solve = intercalate "|" . map (intercalate "," . map show) . solve' . splitOn "," | |
| solve' :: [String] -> [[Int]] | |
| solve' [p1,p2] = [a ++ b | a <- nub $ calc 0 ns p1 , let b = ns \\ a , calc 0 b p2 /= [] ] |
| package main | |
| import ( | |
| "fmt" | |
| "strconv" | |
| "strings" | |
| ) | |
| type Triangle struct { | |
| x, y int |
| h あ | |
| k い | |
| j う | |
| ; え | |
| l お | |
| n ん | |
| m っ | |
| bh ぁ | |
| bk ぃ | |
| bj ぅ |
| package main | |
| import ( | |
| "fmt" | |
| "strings" | |
| "strconv" | |
| "math" | |
| ) | |
| func Reverse(s string) string { |
| class Foo | |
| def initialize | |
| end | |
| def hoge | |
| puts "hoge" | |
| end | |
| end |
| require "capistrano/setup" | |
| require "capistrano/deploy" | |
| require "capistrano/scm/git" | |
| install_plugin Capistrano::SCM::Git | |
| require 'ecs_deploy/capistrano' | |
| Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } |