This script allows you to tell when an element becomes visible in the browser window. You can use this to apply styling/animations to elements.
Add this to your javascript. Make sure jQuery is called before this script.
- jQuery
A collection of snippets that are pretty useful for Sublime Text.
This allows you to quickly print out a vardump()
wrapped between <pre>
tags, which is ten times easier to read.
This allows you to quickly print out a print_r()
wrapped between `` tags, which is ten times easier to read.
These are my current sublime text 3 settings.
Once you've installed Package Control, download the following packages:
Here's what you'll need to do to set the site up locally...
NOTE: You won't be able to do this till I've added your SSH key and IP address to the server.
git clone --recursive <SSH URL FROM GITHUB>
git checkout development
bundle install
config/database.example.yml
to config/database.yml
and add in your local database (you'll need to create one) as well as the database details from the spec doc (link in email).wp_localurl
variable within config/deploy.rb
Line 14. (this is required!)bundle exec cap staging wp:setup:local
Here's what you'll need to do to setup a new site locally...
NOTE: You won't be able to do this till I've added your SSH key and IP address to the server.
git clone git@github.com:Mixd/wp-deploy.git <NEW PROJECT DOMAIN>
bundle install
bash config/prepare.sh
git remote add origin <SSH URL FROM NEW GITHUB REPO>
git push -u origin master
<p>Duis sodales orci sed est laoreet egestas. Praesent in egestas nulla, vel elementum urna. Nunc auctor metus ut leo condimentum, ut gravida eros luctus. Aliquam et ullamcorper nulla, non tincidunt orci. In scelerisque <strong>iaculis tellus</strong> vitae maximus. Curabitur vulputate odio quis ipsum ornare, quis vestibulum lorem porttitor. Ut efficitur enim in nibh maximus interdum. Praesent vel <a href="#">lorem sit amet</a> dui molestie suscipit in vel nibh.</p> | |
<h2>Heading number 2</h2> | |
<p>Proin quis mauris a purus facilisis sollicitudin. Ut pharetra magna eget molestie finibus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam sit <em>amet nisi</em> pellentesque, venenatis tellus quis, congue mauris. Class aptent taciti sociosqu <u>ad litora torquent</u> per conubia nostra, per inceptos himenaeos. Etiam quam arcu, accumsan mollis semper sit amet, semper ac ligula. Sed at convallis lacus. Morbi egestas <q>leo et sapien</q> commodo, sed finibus mi aliquet.</p> | |
<p |