- Install WordPress
- In the /wp-content/themes directory, create a folder that matches your theme's text-domain (make sure permissions are set to 755)
- From your terminal, SSH into the server: ssh -p port user@IP
| # define bourbon path, use a common library for preventing duplicates | |
| add_import_path "path/to/your/bourbon/lib" | |
| ### -->> project paths, delete/comment if you use scout, codekit etc. | |
| environment = :production # removes single line comments, keeps css comments | |
| output_style = :compact | |
| css_dir = "styles" #relative to project root | |
| sass_dir = "styles-sass" #relative to project root | |
| images_dir = "images" #relative to project root |
| # Was asked how I keep my zshrc config sync'd between my computers with Dropbox | |
| # Add a new directory in your Dropbox (or use an existing one) | |
| mkdir -p ~/Dropbox/ohmyzsh | |
| # move existing file to Dropbox | |
| mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc | |
| # symlink file back to your local directory | |
| ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc |
| /** | |
| * | |
| * Gulpfile setup | |
| * | |
| * @since 1.0.0 | |
| * @authors Ahmad Awais, @digisavvy, @desaiuditd, @jb510, @dmassiani and @Maxlopez | |
| * @package neat | |
| * @forks _s & some-like-it-neat | |
| */ |
| $break-small: 320px; | |
| $break-large: 1024px; | |
| @mixin respond-to($media) { | |
| @if $media == handhelds { | |
| @media only screen and (max-width: $break-small) { @content; } | |
| } | |
| @else if $media == medium-screens { | |
| @media only screen and (min-width: $break-small + 1) and (max-width: $break-large - 1) { @content; } | |
| } |
| [ | |
| { | |
| "city": "New York", | |
| "growth_from_2000_to_2013": "4.8%", | |
| "latitude": 40.7127837, | |
| "longitude": -74.0059413, | |
| "population": "8405837", | |
| "rank": "1", | |
| "state": "New York" | |
| }, |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>Evoluent VerticalMouse</name> | |
| <appendix>All customizations only apply for the Evoluent VerticalMouse.</appendix> | |
| <appendix>Note: button 4 (the mouse scroll button) and button 5 are swapped in Karabiner. I still use the default Evoluent labeling.</appendix> | |
| <devicevendordef> | |
| <vendorname>EVOLUENT</vendorname> | |
| <vendorid>0x1a7c</vendorid> | |
| </devicevendordef> |
| import S from "@sanity/desk-tool/structure-builder" | |
| import { FaFileText, FaEdit, FaComment, FaPlayCircle, FaQuestionCircle, FaCheckCircle } from 'react-icons/lib/fa' | |
| export default () => | |
| S.list() | |
| .title("App") | |
| .items([ | |
| S.listItem() | |
| .title("Content") | |
| .icon(FaFileText) |
| import { FaListAlt } from 'react-icons/lib/fa' | |
| export default { | |
| title: "Category", | |
| name: "category", | |
| type: "document", | |
| icon: FaListAlt, | |
| fields: [ | |
| { | |
| title: "Name", |