Author: switch over

A big outdoor sports lover & A IT engineer.

角丸画像

 

PhotoShop

アプリのヘッダ作成などで、ヘッダの角を丸くしたいときのメモ
 
Pattern1
 
1.レイヤーウィンドウの中の背景レイヤーをダブルクリックして OKをクリックし、ただのレイヤーにする
 
2.メニューの「選択範囲」/「全てを選択」を選んで画像 全体を選択状態にする
 
3.「選択範囲」/「選択範囲を変更」/「滑らかに…」を選択
 
4.角を丸くする大きさを入力
 
5.選択範囲の角が丸くなるので「選択範囲」/「選択範囲を反 転」を選び、deleteキーで消去
 
 
Pattern2
 
1.ツールウィンドウの中の長方形ツールを長押しし、角丸長方形 ツールを選択する
 
2.オプションウィンドウにある「丸み」の数値で丸みの大きさを 決める
 
3.角丸長方形ツールで希望の大きさで画像を囲む
 
4.そのまま画像の上で右クリックで「選択範囲を作成…」を選び パスを選択範囲に変換 
 
5.「選択範囲」/「選択範囲を反転」を選び、deleteキー で消去 
 

Run the MySQL command line with MAMP

MAMPのMySQLの場所は下記の場所

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

# /Applications/MAMP/Library/bin/mysql -u root -p

Enter password:

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 71
Server version: 5.5.9 Source distribution

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
mysql>

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –