SASS (.scss) and LESS share most of the features. The syntax is very similiar.
Key Features:
- Variables
- Nesting
| # Inherit current path in new window | |
| bind-key c new-window -c "#{pane_current_path}" | |
| # Enable mouse scrolling | |
| set-window-option -g mode-mouse on | |
| # Remap window navigation to vim | |
| unbind-key j | |
| bind-key j select-pane -D | |
| unbind-key k |
| /* | |
| * Update field of a server-side resource expecting a file. | |
| * | |
| * Backbone's default JSON serialization does not cover file objects. Make sure to trigger this | |
| * method after the user has selected a file. | |
| * | |
| * *srcAttr*: Attribute holding file handle provided by input[type=file], e.g. 'selectedImage' | |
| * *targetAttr*: Attribute on server-side expecting a file, e.g. 'image' | |
| */ | |
| upload: function (srcAttr, targetAttr) { |
| - name: Java | add java repository | |
| apt_repository: repo='ppa:webupd8team/java' | |
| - name: Java | auto accept license | |
| action: shell echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
| - name: Java | install Java 7 | |
| action: apt pkg=oracle-java7-installer state=installed update-cache=yes | |
| - name: Java | set env |
| " Basic | |
| syntax on | |
| set nocompatible | |
| set encoding=utf-8 | |
| set vb | |
| " Buffers and windows | |
| set hidden | |
| set autoread | |
| set shortmess+=IA |
| #!/bin/bash | |
| # hashapass.com based method for generating passwords | |
| # | |
| # Based on script by Simon Elmir | |
| # | |
| if ! args=$(getopt -o s -l silent -- "$@") | |
| then | |
| exit 1 | |
| fi |
| (\*\s.*\n){2,} |