2018-10-07から1日間の記事一覧

Ruby の Module 覚え書き

module Example def a output "inner" end def output(st) puts st end end include Example output "outer" #=>"outer" a #=>"inner" include すればモジュール内のメソッドがふつうに使える。 module Example def a output "inner" end def output(st) put…

Linux Mint 19 へのアップグレード

まず、ディスプレイマネージャが LightDM になっているかの確認が必要なようです。わたしの場合は $ cat /etc/X11/default-display-manager で /usr/sbin/mdm だったので、変更が必要でした。 $ apt install lightdm lightdm-settings slick-greeter $ apt r…

このブログのデザイン

ベースはオフィシャルテーマの Life。CSS。 body { background-color: lightyellow; font-family: "メイリオ", serif; } .entry-content p { margin: 9px 0; } .page-index #blog-title { margin: 0px; padding-bottom: 0; } div#blog-title-inner { text-al…