Skip to content

Instantly share code, notes, and snippets.

Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r11, 4.9.76-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3667U_CPU_@_2.00GHz-with-gentoo-2.4.1
KiB Mem: 5994692 total, 1466632 free
KiB Swap: 524284 total, 445776 free
Timestamp of repository gentoo: Wed, 11 Jul 2018 04:00:01 +0000
Head commit of repository gentoo: 7ae7e27e486d46bc97fe496af06031f99bcaaaf3
sh bash 4.4_p12

ズーウォーロックの各デッキに対しての注意点など

こっちが使うのがズーウォーロック(回復)

強い動き

  • 入魂+ドッペルインプorサロナイト
  • 回復+ハッピーグール(ダメージを受けている必要があるので注意
  • 炎のインプを1/1/3挑発で守る
  • ケレセス(後攻なら1ターン目に出したい)
  • 菌術師(後攻4ターン目に決めれれば勝ちだが、5コスと重いので先行は戻していいと思う、後攻はキープもありか?)

マリガン

上記の動きを狙っていく

@saitouena
saitouena / thinkpad_p1_ubuntu.md
Last active April 5, 2019 09:20
Thinkpad P1にubuntu18.04LTSを入れるときの詰まりポイント

5日間に渡りダラダラと戦い続けたので、何が必要十分だったのかよくわからないがなるべく思い出して書く。

thinkpad P1の構成

https://www.lenovo.com/jp/ja/think-workstations/engineering-architecture-and-construction-industry/ThinkPad-P1/p/22WS2WPP101 上記のリンクから購入した。

  • インテル Core i7-8850H プロセッサー (2.60GHz, 9MB)
  • NVIDIA Quadro P1000 - 4GB GDDR5 を選択した。

起動

usbを古い8GBのものを利用したら起動できなかったが、新し目の16GBのusbを使ったら行けた。usbに書き込むときに失敗していたのかもしれない。原因は不明。https://medium.com/@rongou/installing-ubuntu-18-04-on-lenovo-thinkpad-p1-9ef814a03390 基本的には、この記事に従って、Secure Bootをdisableに、Graphics DeviceをDiscrete Graphicsにした。grubのメニューから起動オプションをgfxpayload=text,linux ... nomodeset acpi=forceにした。上の記事ではacpi=forceはついていないが、つけないとパソコンをreboot or shutdownできない、nvidiaのドライバの初期化が終わらない、bluetoothキーボードを接続しようとするとグルグルが止まらなくなる、外部ディスプレイが認識されない、cpuの音がうるさい(実際dmesgで確認すると Cor e temperature above threshold と出ていた)などの問題があった。起動オプションの変更方法についてだが、ブート時にgrubの画面からeを押してオプションを編集するのでもよいし、起動はうまく行くが不具合が出る、という状態なら、/etc/default/grubを編集するのでも良い。私は試行錯誤で起動するところまで行ったので、/etc/default/grubを編集してやった。/etc/default/grubを編集する場合は、sudo update-grubをし

;; ユーティリティの書き方は, 書くときのテクニックとするよりも心得とした方が上手く説明できる.
;; 心得とは...
(defun nicknames (name)
(case name
('bob '(b bb))
('alice '(a))
(otherwise '())))
(nicknames 'bob)
(deftest test-render-multi-line
(let [template (str "a\n"
"{{#mp}}\n"
"{{b}}\n"
"{{/mp}}\n"
"\n\n"
"c\n")
result (str "a\n"
"hoge\n"
"\n\n"
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile 'Makefile'...
Updating makefiles....
Considering target file 'Makefile'.

Keybase proof

I hereby claim:

  • I am saitouena on github.
  • I am saitouena (https://keybase.io/saitouena) on keybase.
  • I have a public key whose fingerprint is 225D 4C3C D033 9AF6 9327 4E26 E69B FC62 7F09 2144

To claim this, I am signing this object:

(defun show-usage-of-get-setf-expansion (expr)
(multiple-value-bind (temp-vars vals store-vars form access) (get-setf-expansion expr)
(format t "vars=~S~%" temp-vars)
(format t "forms=~S~%" vals)
(format t "var=~S~%" store-vars)
(format t "set=~S~%" form)
(format t "access=~S~%" access)))
(show-usage-of-get-setf-expansion '(incf i))
(ns clojure-playground.logback
(:import [ch.qos.logback.classic LoggerContext Logger Level]
[ch.qos.logback.core.util StatusPrinter]
[org.slf4j LoggerFactory MDC]))
;; http://logback.qos.ch/manual/index_ja.html
;; project.clj: [ch.qos.logback/logback-classic "1.3.0-alpha5"]
a is max?
xa<:a<
x>a:>a
xa:ax
x<:<x
x>:>x
xb:bx
xc:cx
x&:&x