Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
These editors try to give good UX for WYSIWYG :
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
| <script src="jquery.ketchup.all.min.js" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <div id="email"> | |
| <span>Enter your email to sign up</span> | |
| <form action="/subscribe.php" id="invite" method="POST"> |
| # http://stackoverflow.com/a/8936202 | |
| # | |
| # ActiveAdmin already includes the necessary jquery in active_admin/base, | |
| # so just add this to javascripts/active_admin.js after //= require active_admin/base | |
| # | |
| # | |
| # Serialize and Sort | |
| # | |
| # model_name - you guessed it, the name of the model we are calling sort on. | |
| # This is the actual variable name, no need to change it. |
| <div> | |
| <label for="sort-by">Sort by</label> | |
| <select id="sort-by"> | |
| <option value="manual">Featured</option> | |
| <option value="price-ascending">Price: Low to High</option> | |
| <option value="price-descending">Price: High to Low</option> | |
| <option value="title-ascending">A-Z</option> | |
| <option value="title-descending">Z-A</option> | |
| <option value="created-ascending">Oldest to Newest</option> | |
| <option value="created-descending">Newest to Oldest</option> |
| <form id="contact" name="contact" method="post"> | |
| <fieldset> | |
| <label for="name" id="name">Name<span class="required">*</span></label> | |
| <input type="text" name="name" id="name" size="30" value="" required/> | |
| <label for="email" id="email">Email<span class="required">*</span></label> | |
| <input type="text" name="email" id="email" size="30" value="" required/> | |
| <label for="phone" id="phone">Phone</label> | |
| <input type="text" name="phone" id="phone" size="30" value="" /> |
| server { | |
| listen 80; | |
| server_name site.production.designcompany.com; | |
| root /home/forge/site.production.designcompany.com/public; | |
| # enable gzip compression | |
| gzip on; | |
| gzip_min_length 1100; | |
| gzip_buffers 4 32k; | |
| gzip_types text/plain application/x-javascript image/svg+xml text/xml text/css; |
| //touch/mobile detection | |
| if ( | |
| navigator.userAgent.match(/Phone/i) || | |
| navigator.userAgent.match(/DROID/i) || | |
| navigator.userAgent.match(/Android/i) || | |
| navigator.userAgent.match(/webOS/i) || | |
| navigator.userAgent.match(/iPhone/i) || | |
| navigator.userAgent.match(/iPod/i) || | |
| navigator.userAgent.match(/BlackBerry/) || | |
| navigator.userAgent.match(/Windows Phone/i) || |