A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| import styled from 'styled-components' | |
| const Pagination = styled.div` | |
| margin-bottom: 60px; | |
| display: flex; | |
| width: 100%; | |
| @media (max-width: 760px) { | |
| flex-direction: column; | |
| } |
| def fill_inputs(driver, inputs): | |
| """ | |
| Fill out one or many input fields. | |
| Usage: | |
| inputs = {'#title': 'foo', '.age': 42} | |
| fill_inputs(driver, inputs) | |
| This is meant to replace repetitive and verbose calls like: | |
| title_input = driver.find_element_by_id('title') |
| <snippet> | |
| <content><![CDATA[ | |
| console.log(${1}); | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>cl</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <!-- <scope>source.python</scope> --> | |
| </snippet> |
iTerm2
http://www.iterm2.com/#/section/downloads
Get the iTerm color settings
https://raw.github.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors
Apply them in iTerm through iTerm -> preferences -> profiles -> -> colors -> load presets -> import. You can create a different profile, other than Default if you wish to do so.
iTerm2
http://www.iterm2.com/#/section/downloads
Get the iTerm color settings
https://raw.github.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors
Apply them in iTerm through iTerm -> preferences -> profiles -> -> colors -> load presets -> import. You can create a different profile, other than Default if you wish to do so.
| <snippet> | |
| <content><![CDATA[ | |
| from pprint import pprint | |
| pprint(${1:stmt}) | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>pprint</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>source.python</scope> | |
| </snippet> |
| 42.50729 1.53414 Europe/Andorra | |
| 42.50779 1.52109 Europe/Andorra | |
| 25.56473 55.55517 Asia/Dubai | |
| 25.78953 55.9432 Asia/Dubai | |
| 25.33132 56.34199 Asia/Dubai | |
| 25.25817 55.30472 Asia/Dubai | |
| 25.61955 56.27291 Asia/Dubai | |
| 25.35731 55.4033 Asia/Dubai | |
| 24.11028 52.73056 Asia/Dubai | |
| 25.11641 56.34141 Asia/Dubai |