2018-02-01から1ヶ月間の記事一覧

Linux Mint(Ubuntu)で自作のアプリケーションを登録する

まず .desktop ファイルを作る。clock.desktop [Desktop Entry] Name=Clock Comment=Colck Exec=/home/tomoki/Desktop/時計 Type=Application StartupNotify=false Name[ja_JP]=時計 Categories=Utility;こんな感じ。「Exec=***」のところに実行するコマンド…

Go についてのメモ

Go

package main import "fmt" import "reflect" type Arr [5]int func main() { a := Arr{1, 2, 3} //配列 b := Arr{7, 8, 9} //配列 c := append(a[:], b[:]...) //append の引数にはスライスしか取らない fmt.Println(c) fmt.Println(reflect.ValueOf(c).Kin…

Linux Mint Cinnamon でセッションからログアウトする

[SOLVED] How do I log out via terminal? ここが参考になった。 端末エミュレータから logout する。 $ gnome-session-quit --no-prompt で OK。ヘルプ。 $ gnome-session-quit -h Usage: gnome-session-quit [OPTION...] Help Options: -h, --help Show he…

計算機プログラムの構造と解釈 第二版(第二章)

計算機プログラムの構造と解釈 第2版作者: ハロルドエイブルソン,ジュリーサスマン,ジェラルド・ジェイサスマン,Harold Abelson,Julie Sussman,Gerald Jay Sussman,和田英一出版社/メーカー: 翔泳社発売日: 2014/05/17メディア: 大型本この商品を含むブログ …