Custom Close Button : Magnific Popups J Query 

ShivaShiva Bhusal (Software Engineer) 0 Min. Read Sep 30, 2014
 Rails Ruby JS

We can close magnific popup in various ways We can add a button within the popup and assign a function on click event like $(‘#close-button-verify’).click(function(){ //This will close the most recently popped dialog //This method specially works for auto popped dialogs i.e. //Popup you opened using $ $.magnificPopup.close(); }); If popup is triggered via onClick […]

Read More..

It’s very easy to send Email via rails 3 and above. You just need to write few lines of codes and you are done. There are two ways you want to send email You can just send email via any Email address you wish, eg: Next is, you can send email via email servers […]

Read More..

You can send email from any email address by just configuring the SMTP address to ISP's email settings.
Read More..

Submit Files Using J Query Ajax 

ShivaShiva Bhusal (Software Engineer) 1 Min. Read Sep 25, 2014
 Rails Ruby JS jQuery AJAX Form

Submit form data via AJAX using jQuery
Read More..

HTML forms provide three methods of encoding. application/x-www-form-urlencoded (the default) multipart/form-data text/plain The specifics of the formats don’t matter to most developers. The important points are: When you are writing client-side code, all you need to know is use multipart/form-data when your form includes any <input type=”file”> elements. When you are writing server-side code: Use […]

Read More..

Terminal does not have anything to do with git-branch. If you need to know in which branch you are currently working on then you need to manually type $ git branch. Good News: You can modify your terminal settings to make it show you which git branch you are working currently. To do this you […]

Read More..

You can load controller specific js files in the views, instead of loading a whole JS files a single file application.js
Read More..

To install a .deb file, simply double click on it, and then select Install Package Alternatively, you can also install a .deb file by opening a terminal and typing: sudo dpkg -i package_file_name.deb To uninstall a .deb file, deselect it in your package manager, or type: sudo dpkg -r package_name

Read More..

First of all you must have Sublime text 3 installed in your system.
Read More..

Some Very Helpful Jqgrid Tips And Tricks 

ShivaShiva Bhusal (Software Engineer) 3 Min. Read Sep 5, 2014
 JqGrid JS Javascript Tweaks Tips CSS

jqGrid is an Ajax-enabled JavaScript control that provides solutions for representing and manipulating tabular data on the web.
Read More..


You might also like

Write To Me

Hire me shiva bhusal
We'll never share your email with anyone else.
I'll never share your email with anyone else.