structured Figma Guidelines Setup for implementing shadcn design principles
- Desktop Frame Preset: 1440px width.
- Grid System: 12 columns, 72px gutters, 24px margins.
- Base Unit: 4px.
✅ Add Layout Grids to every frame.
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
What I did to get Python 3.4.2 on Ubuntu 14.04. The stock version of Python 3 on Ubuntu is 3.4.0. Which is missing some of the best parts! (asyncio, etc). Luckily I discovered pyenv which solved my problem.
Pyenv (not to be confused with pyvenv) is the Python equivelant of rbenv. It lets you configure which Python environment/version is available per directory, user, or other session variables.
I followed the instructions here to install pyenv in my home directory. Verbatem, those instructions are:
sudo apt-get install git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev
A list of Sketch plugins hosted at GitHub, in no particular order.
| #!/bin/sh | |
| for dir in $(ls -d */) | |
| do | |
| if [ -d "$dir"/.git ]; then | |
| echo "$dir" && cd "$dir" && git pull && cd .. | |
| fi | |
| done |
| #!/usr/bin/env bash | |
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| # Automatically update your CloudFlare DNS record to the IP, Dynamic DNS | |
| # Can retrieve cloudflare Domain id and list zone's, because, lazy | |
| # Place at: | |
| # /usr/local/bin/cf-ddns.sh |
| alias cd=x1 | |
| function x1() { | |
| builtin cd "$@" | |
| ls | |
| } | |
| -------------------------------- | |
| 贴gist到v2ex的方法是直接粘贴链接如: | |
| http://gist.github.com/3952722 | |
| -------------------------------- |
| // Standard device screen widths | |
| $iphone-portrait: 320px | |
| $iphone-landscape: 480px | |
| $ipad-portrait: 767px | |
| $ipad-landscape: 980px | |
| $desktop: 1224px | |
| $desktop-large: 1824px | |
| // General device targeting | |
| // Use: Only use if you want the style to apply to many devices |