rmコマンドでハイフン始まりのファイルが消せない

Ubuntuで

-,trail:-,extends:

というなぞのファイルができてました

消そうとコマンドを

$ rm -,trail:-,extends:
rm: 無効なオプション — ‘,’
Try ‘rm ./-,trail:-,extends:’ to remove the file `-,trail:-,extends:’.
Try ‘rm –help’ for more information.

とエラーでした
いわれたとおり rm –help を見るとハイフン2つをつけるか、./ をつけるかで消せる

$ rm — -,trail:-,extends:
もしくは
$ rm ./-,trail:-,extends:

これで消せました

Virtualboxをアップデートしたらエラー発生

DKMSをいれたらとのことなので入れてみる

$ sudo apt-get install dkms

が入ってました

指示通りコマンド実行

$ sudo /etc/init.d/vboxdrv setup

Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File:  does not exist.
 ...done.
Removing old VirtualBox pci kernel module ...done.
Removing old VirtualBox netadp kernel module ...done.
Removing old VirtualBox netflt kernel module ...done.
Removing old VirtualBox kernel module ...done.
Trying to register the VirtualBox kernel modules using DKMSError! DKMS tree already contains: vboxhost-4.3.26
You cannot add the same module/version combo more than once.
 ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...done.

なんだかFailedって出てるけど、Virtualboxが動くようになりました

mysqlで処理中のプロセスをみる

mysqlの負荷が高い?とか、流したSQLが終わってない?ってときに確認するのに
mysqlにログイン

$ mysql -u (ユーザー名) -h (ホスト名) –password=(パスワード) (データベース名)

で一気にログインできます

mysql> show processlist;

+-----------+------------------+---------------------+------------------+---------+------+-------+------------------+
| Id        | User             | Host                | db               | Command | Time | State | Info             |
+-----------+------------------+---------------------+------------------+---------+------+-------+------------------+
| 907020327 | user | 192.168.1.98:4690 | database | Query   |    0 | NULL  | show processlist | 
+-----------+------------------+---------------------+------------------+---------+------+-------+------------------+

な感じでプロセスがみれます
上記だと、show processlistしかないので、問題ない状態です

htmlのtableタグ内を縦書きにする

htmlのtableタグ内を縦書きにしてみました
Firefox以外なら使えると思います

まずはテーブルを用意

<table>
    <tr>
        <th>No.</th>
        <th>こんにちわー</th>
        <th>どーも</th>
    </tr>
    <tr>
        <td>1</td>
        <td>〇</td>
        <td>×</td>
    </tr>
</table>
No. こんにちわー どーも
1 〇 ×

縦書にしてみます
CSSを用意して

.vertical {
  writing-mode: tb-lr;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  letter-spacing: .2em;
}

thタグに.verticalクラスをつけたもの、
thタグにspanタグをいれて、.verticalクラスをつけたものを用意すると

<table>
    <tr>
        <th>No.</th>
        <th class="vertical">こんにちわー</th>
        <th><span class="vertical">どーも</span></th>
    </tr>
    <tr>
        <td>1</td>
        <td>〇</td>
        <td>×</td>
    </tr>
</table>

こんなテーブルになります

No. こんにちわー どーも
1 〇 ×

thをそのまま縦書にすると横向きますが、spanタグで囲うと大丈夫です
あとは高さを調整すれば、よさそうです

Firefoxがだめなので、使いどころは限られますが..