Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| ZSH=$HOME/.oh-my-zsh | |
| ZSH_THEME="random" | |
| setopt AUTO_CD # cd if no matching command | |
| setopt AUTO_PARAM_SLASH # adds slash at end of tabbed dirs | |
| setopt CHECK_JOBS # check bg jobs on exit | |
| setopt EXTENDED_GLOB # globs #, ~ and ^ | |
| setopt EXTENDED_HISTORY # saves timestamps on history | |
| setopt GLOB_DOTS # find dotfiles easier | |
| setopt HASH_CMDS # save cmd location to skip PATH lookup | |
| setopt HIST_EXPIRE_DUPS_FIRST # expire duped history first |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
In your command-line run the following commands:
brew doctorbrew updateWeb fonts are pretty much all the rage. Using a CDN for font libraries, like TypeKit or Google Fonts, will be a great solution for many projects. For others, this is not an option. Especially when you are creating a custom icon library for your project.
Rails and the asset pipeline are great tools, but Rails has yet to get caught up in the custom web font craze.
As with all things Rails, there is more then one way to skin this cat. There is the recommended way, and then there are the other ways.
Here I will show how to update your Rails project so that you can use the asset pipeline appropriately and resource your files using the common Rails convention.
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| $ git config --global core.excludesfile ~/.gitignore | |
| $ echo .DS_Store >> ~/.gitignore |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| Okay, I see. Color schemes itself are just overwrite ANSI-color values in Terminal.app, but you have to enable color formatting in command line utilities to see any formatted output. | |
| Here some options: | |
| Manually enabling color formatting for such commands like ls: | |
| Open your .bash_profile or .bash_profile (I believe you're using bash shell, am i right?) in any text editor like nano ~/.bash_profile and paste following somewhere in the end of file: | |
| export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
| export CLICOLOR=1 | |
| export LSCOLORS=ExFxBxDxCxegedabagacad | |
| alias ls='ls -GFh' |