Subscribed unsubscribe Subscribe Subscribe

自分で書く記事的には

過去に書いたブログ記事、自分ではこういうのが好きなんだけど、あまり賛同してもらえなさそうでツライ

mysql的日常

mysql> ls
    -> \c
mysql>

特に意味はない

$ cat </dev/stdin> cat
cat
$ cat cat
cat

やっぱりこういう書き方キモイ

これでも普通なシェルですよ

grep grep <grep> grep.grep

MySQL

mysql> eixt
    -> \q
Bye
$

show warnings

Query OK, 3 rows affected, 1 warning (0.01 sec)
Records: 3  Duplicates: 0  Warnings: 1

mysql> show warning\G
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'warning' at line 1
mysql> show warnings\G
*************************** 1. row ***************************
  Level: Error
   Code: 1064
Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'warning' at line 1
1 row in set (0.00 sec)

mysql> quit
Bye

branch

$ git branch a-
$ git branch -a
  a-
* develop
  master
  remotes/origin/develop
  remotes/origin/master