This is now an actual repo:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a "fake" jQuery function that accepts function arguments to be | |
// queued as DOM ready callbacks. | |
(function(window){ | |
var fake = window.jQuery = window.$ = function( fn ) { | |
if ( Object.prototype.toString.call( fn ) === '[object Function]' ) { | |
fake.queue.push( fn ); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
Most of this I got from the DigitalOcean file.
- Sign up for an account at digitalocean.com. Create a droplet using the pre-configed Ubuntu 12.10/Rails/Ngix/Unicorn option and using an ssh key if you set one up first. [An overview can be found here.] (https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2) If you don’t set up an SSH key, that's okay, DigitialOcean (DO) will send you one to your email.
- Once setup with an IP, point your domain or subdomain to the IP from wherever you are hosting as an A record. Log in using
ssh root@ip.address.of.server
. Enter your password if needed. - Type
passwd
into the console to change the password of root to something you can remember. - If you want add a new user so you don’t have to use root then type
adduser [username]
in the console. Feel free to fill out the Fu