Lokvin Wiki
Tag: sourceedit
Tag: sourceedit
Line 33: Line 33:
 
>sudo mkdir /rt
 
>sudo mkdir /rt
 
>sudo chown yufei:staff /rt
 
>sudo chown yufei:staff /rt
  +
  +
== install idk ==
  +
* download idk from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Revision as of 15:12, 18 January 2017

user name

user: yufei

add shortcut

System Preference -> Keyboard - > Shortcut -> App Shortcuts -> (F10 Sleep), (F9 Shut Down...)

xcode

install Xcode from App Store

install command line tools

xcode-select --install

shell related

sudo without password

sudo su
chmod +w /etc/sudoers
# add follow line
USERNAME ALL=(ALL) NOPASSWD: ALL
chmod -w /etc/sudoers
exit

add ~/.bash_profile

touch ~/.bash_profile

ls show color

vim ~/.bash_profile
#add alias
alias ls='ls -G'

crearte some dirs

>mkdir ~/dev
>mkdir ~/work_notes
>mkdir ~/books
>sudo mkdir /rt
>sudo chown yufei:staff /rt

install idk