brijeshshah.com
Brijesh Shah Blog | mysql
http://brijeshshah.com/tag/mysql
Brijesh Shah Blog on Twitter. Create copy/duplicate of MySQL database. May 23, 2013 11:48 am. Let’s say the original database is db1 and the duplicate is db2. 8211; Create a new database, db2. 8211; Run following command:. Mysqldump -h [server] -u [user] -p[password] db1 mysql -h [server] -u [user] -p[password] db2. Note: there is no space between -p and the password. MySql Ruby gem Installation. October 25, 2010 2:37 am. To build and install mysql ruby gem , following simple command is used. I hope this...
brijeshshah.com
Brijesh Shah Blog | MySql
http://brijeshshah.com/category/mysql-2
Brijesh Shah Blog on Twitter. Create copy/duplicate of MySQL database. May 23, 2013 11:48 am. Let’s say the original database is db1 and the duplicate is db2. 8211; Create a new database, db2. 8211; Run following command:. Mysqldump -h [server] -u [user] -p[password] db1 mysql -h [server] -u [user] -p[password] db2. Note: there is no space between -p and the password. Set default index.html page in NGINX. Custom error pages in Rails 3.2. Uploading file with Ajax, without submitting a form.
brijeshshah.com
Brijesh Shah Blog | copy database
http://brijeshshah.com/tag/copy-database
Brijesh Shah Blog on Twitter. Posts tagged: copy database. Create copy/duplicate of MySQL database. May 23, 2013 11:48 am. Let’s say the original database is db1 and the duplicate is db2. 8211; Create a new database, db2. 8211; Run following command:. Mysqldump -h [server] -u [user] -p[password] db1 mysql -h [server] -u [user] -p[password] db2. Note: there is no space between -p and the password. Set default index.html page in NGINX. Custom error pages in Rails 3.2. Install FFmpeg on Ubuntu 14.04.
brijeshshah.com
Brijesh Shah Blog | jquery email validate
http://brijeshshah.com/tag/jquery-email-validate
Brijesh Shah Blog on Twitter. Posts tagged: jquery email validate. Jquery Validate format of multiple emails. November 28, 2013 2:17 pm. Jquery form validator provides email format validation by simply add rule with {email: true} option. We need often add multiple email address in text area box and validate all email format. To do this with jquery form validator , we need to add method which check each email and validate format. Validate multiple email format. Set default index.html page in NGINX. Set de...
brijeshshah.com
Brijesh Shah Blog | image preview
http://brijeshshah.com/tag/image-preview
Brijesh Shah Blog on Twitter. Posts tagged: image preview. Image preview by javascript. October 13, 2011 5:32 pm. Here I will show how to display image preview before uploading to server side. DOCTYPE html html head script class=jsbin src=http:/ ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js /script meta charset=utf-8 / title JS Bin /title! If IE] script src=http:/ html5shiv.googlecode.com/svn/trunk/html5.js /script! Image preview by js. Set default index.html page in NGINX. On Find latitude-longit...
brijeshshah.com
Brijesh Shah Blog | Brijesh Shah
http://brijeshshah.com/author/admin
Brijesh Shah Blog on Twitter. Set default index.html page in NGINX. July 23, 2016 4:54 pm. Recently I setup Jekyll-Blog on nginx server which is pure html code. When I tried to call url without index.html (http:/ domain.com/blog/) in path, it was not working. To allow default index.html, I need to change following in /etc/nginx/nginx.conf. Default type application/octet-stream;. Default type text/html;. And restart nginx server. Custom error pages in Rails 3.2. June 11, 2016 3:04 pm. March 1, 2016 5:05 pm.
brijeshshah.com
Brijesh Shah Blog | Image preview by javascript
http://brijeshshah.com/image-preview-by-javascript
Brijesh Shah Blog on Twitter. Image preview by javascript. October 13, 2011 5:32 pm. Here I will show how to display image preview before uploading to server side. DOCTYPE html html head script class=jsbin src=http:/ ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js /script meta charset=utf-8 / title JS Bin /title! If IE] script src=http:/ html5shiv.googlecode.com/svn/trunk/html5.js /script! Note: This method is not worked in IE as files property of file field is not supported by IE browser. It’...
brijeshshah.com
Brijesh Shah Blog | rails 3
http://brijeshshah.com/category/rails-3
Brijesh Shah Blog on Twitter. Custom error pages in Rails 3.2. June 11, 2016 3:04 pm. Here are steps to show custom error pages in Rails 3.2. 1 Register your own app as the application responsible for showing error pages by adding. Config.exceptions app = self.routes. 2 Add routes for the error pages, by appending this to your. Match '/404' = 'errors#not found' match '/422' = 'errors#server error' match '/500' = 'errors#server error'. 4 Add the corresponding views. Multiple Database connections in rails.
brijeshshah.com
Brijesh Shah Blog | duplicate database
http://brijeshshah.com/tag/duplicate-database
Brijesh Shah Blog on Twitter. Posts tagged: duplicate database. Create copy/duplicate of MySQL database. May 23, 2013 11:48 am. Let’s say the original database is db1 and the duplicate is db2. 8211; Create a new database, db2. 8211; Run following command:. Mysqldump -h [server] -u [user] -p[password] db1 mysql -h [server] -u [user] -p[password] db2. Note: there is no space between -p and the password. Set default index.html page in NGINX. Custom error pages in Rails 3.2. Install FFmpeg on Ubuntu 14.04.
brijeshshah.com
Brijesh Shah Blog | jQuery
http://brijeshshah.com/category/jquery
Brijesh Shah Blog on Twitter. Uploading file with Ajax, without submitting a form. March 1, 2016 5:05 pm. Here is the code for uploading an image or file without submitting a form with Ajax. For this we will create object of FormData class and will append the properties of the file field in a attribute of FormData object, finally we will set the FormData object with the data key of ajax method of JQuery. Input id=avatar type=file name=avatar / button id=upload value=Upload /. November 28, 2013 2:17 pm.