I hereby claim:
- I am sathishmanohar on github.
- I am sathishmanohar (https://keybase.io/sathishmanohar) on keybase.
- I have a public key ASDyeiQJfafKUm0UVOSxj7wqs05bajJvkScji1DLfC5FTQo
To claim this, I am signing this object:
# Add devise to Gemfile | |
gem 'devise' | |
# Run bundle | |
bundle install | |
# Run devise install | |
rails generate devise:install | |
# Make sure alert code in application.html.erb |
#Stop Mysql | |
sudo /etc/init.d/mysql stop | |
#Start Mysql in safe mode, but skip user privileges table | |
sudo mysqld_safe --skip-grant-tables & | |
#Login to mysql | |
mysql -u root | |
#Select mysql db |
[user] | |
name = Sathish Manohar | |
email = design.sathish@gmail.com | |
[core] | |
editor = vim | |
[merge] | |
tool = vimdiff | |
[color] | |
ui = auto | |
[alias] |
# Login as root | |
ssh root@domain | |
# Create deploy user | |
adduser <username> #Adds User with username given. Enter Password when Prompted. Other Details are Optional | |
# Add user to sudo group | |
usermod -g <groupname> <username> | |
# Add .ssh/authorized_keys for deploy user |
# Step 1: Add capistrano to Gemfile, then run `capify .` | |
# Step 2: create /public/assets directory locally | |
# Step 3: upload database.yml file to app_path/shared/config/database.yml on server | |
require 'bundler/capistrano' | |
require 'rvm/capistrano' | |
#server login details | |
set :application, "domain.com" | |
set :user, 'user' |
Verifying that +sathish is my openname (Bitcoin username). https://onename.com/sathish |
* setup nameservers with domain provider | |
* create droplet in digital ocean | |
* create new deploy user | |
sudo adduser deploy (adding user deploy, enter password when prompted) | |
adduser deploy sudo (adding user to sudo group) | |
su deploy (switch to deploy user) | |
* logout | |
* add ssh key to deploy user | |
ssh-copy-id deploy@domain.com |
--- | |
sitemap_noindex: true | |
sitemap_priority: 0.8 | |
--- |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# This sophisticated script written to save those precious domain names you found | |
# after hours and hours of searching only to find out that you don't have the $10 | |
# to actually buy the domain. After you hustle your way to have $10 in your account | |
# you find out that the domain is taken. From this point on you are wondering your | |
# entire life if that is GoDaddy that actually snatched that domain from you. | |
# Worry no more. This tiny little script can save you from the tyranny of big domain tech | |
# by searching for available domain names without going through domain providers. |