Sunday, 27 December 2015

Clean url and relative path

Use base tag in header section of your html

<base href="http://localhost/flight/">
Then use teh path from base to the required file
example:

<link rel="stylesheet" href="./theme/default/assets/animate.css/animate.min.css" type="text/css">



Example
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <base href="http://localhost/flight/">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="Login Form">
  <title>Login Form</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:700,400&amp;subset=cyrillic,latin,greek,vietnamese">
  <link rel="stylesheet" href="./theme/default/assets/bootstrap/css/bootstrap.min.css" type="text/css">
  </head>

Sunday, 27 September 2015

LATEX new command example


  • LATEX new command example to represent  chemical elements

%chemical elements
%example
%\ele{Mg}{2}
%\ele{SF}{6}
\newcommand{\ele}[2]{$\mathrm{#1}_{#2}$}


Here
Command part - \ele
passing value to the command [2]
actual implementation starts $ to $
#1 - first input to the command
#2 - second input to the command

  • Another simple Example 

%resonance integrals
\newcommand{\oliHij}{
\begin{equation}\label{eq:resonanceIntegrals}
H_{ij} = \int \chi_{i} H \chi_{j} dv
\end{equation}}

  • Example to use matrix in the equation and within the command



\newcommand{\SecEq}{\begin{equation}\label{eq:SecularEquation}
\begin{Vmatrix}
H_{11} - \epsilon S_{11} & H_{21} - \epsilon S_{21} & H_{31} - \epsilon S_{31} &... & H_{n1} - \epsilon S_{n1} \\

H_{12} - \epsilon S_{12} & H_{22} -\epsilon S_{22} & H_{32} - \epsilon S_{32} &... & H_{n2} - \epsilon S_{n2} \\

H_{13} - \epsilon S_{13} & H_{23} -\epsilon S_{23} & H_{33} - \epsilon S_{33} &... & H_{n3} - \epsilon S_{n3} \\

. & . & . &... & . \\ . & . & . &... & . \\ . & . &. & ... & . \\

H_{1n} - \epsilon S_{1n} & H_{2n} - \epsilon S_{2n} & H_{3n} - \epsilon S_{3n} &... & H_{nn} - \epsilon S_{nn} \\ \end{Vmatrix} \begin{bmatrix}
C_{1}\\
C_{2}\\
C_{3}\\
.\\
.\\
.\\
C_{n}\\
\end{bmatrix}=0
\end{equation}}

Sunday, 6 September 2015

Policy Generator Tools for Websites


http://www.shopify.com/tools/policy-generator/refund


https://www.freeprivacypolicy.com/

Saturday, 5 September 2015

Extensions Installer issue when FTP support disabled in opencart

QuickFix: Extensions Installer issue when FTP support disabled

Refer this link and download and install the extension then you are done
 
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=18892


Friday, 21 August 2015

Best commercial solutions for payment gateway India and multi currency

https://www.ebs.in/IPS/pricing

https://www.payu.in/pricing 
 - I prefer PayU for its low (0.75%) Transaction Value: <= 2000


https://www.payumoney.com/whyseller.html - provides store front

https://www.payumoney.com/websiteintegration.html?utm_source=homepage&utm_medium=footer&utm_campaign=footerlink

https://login.ccavenue.com/web/registration.do?command=navigateSchemeForm

https://mob.citruspay.com/citrus-mob/

https://mob.citruspay.com/citrus-mob/#simple_pricing