トップ «前の日記(2015-06-22(Mon)) 最新 次の日記(2015-06-25(Thu))» 編集

屑俺日記

僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。


2015-06-23(Tue) 夏らしき

Raspbian向けファームも4.0ベースか

linux kernelはraspbianに含まれてないはず(パッケージとしては)。

$ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10185  100 10185    0     0  26516      0 --:--:-- --:--:-- --:--:-- 26592
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
#############################################################
WARNING: This update bumps to rpi-4.0.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=113753
##############################################################
Would you like to proceed? (y/N)

まだ上げていない。

テーブル確認

またmysql(1)ちょこちょこ。

desc table では簡単な構造しか分からない(それで十分なことも多いが)。
適当に検索すると、権限確認にshow full columnsがあり、 select create table $TABLE_NAMEもあった。

mysql> SHOW CREATE TABLE table_view;

すると、"View", "Create View", "character_set_client", "collation_connection"が出てきた。
"Create View" が、

 CREATE ALGORITHM=UNDEFINED DEFINER=`$USER`@`localhost`
 SQL SECURITY DEFINER VIEW `$VIEW_NAME`
 AS select `person`.`person_id`
 AS `PPID`,`person`.`fname`
 AS `firstname`,`person`.`lname`
 AS `lastname`,`person`.`gender`
 AS `M_or_F_or_N`
 from `person`
 where (`person`.`person_id` > 5)

RasPIでも8x8

8x8 at raspi

これもやはり、 Adafruteのライブラリ頼りとしか。
な、とりあえずの動作確認。

今日も多分

ここまで。


リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。

index.htmlは ここから。