elicpase update java src
- stop tomcat
- delete the original one
- remove and add in server
- start the tomcat again
this is a JS world
Git基本常用命令如下:
mkdir: XX (创建一个空目录 XX指目录名)
pwd: 显示当前目录的路径。
git init 把当前的目录变成可以管理的git仓库,生成隐藏.git文件。
git add XX 把xx文件添加到暂存区去。
git commit –m “XX” 提交文件 –m 后面的是注释。
git status 查看仓库状态
git diff XX 查看XX文件修改了那些内容
git log 查看历史记录
git reset –hard HEAD^ 或者 git reset –hard HEAD~ 回退到上一个版本
(如果想回退到100个版本,使用git reset –hard HEAD~100 )
cat XX 查看XX文件内容
git reflog 查看历史记录的版本号id
git checkout – XX 把XX文件在工作区的修改全部撤销。
git rm XX 删除XX文件
git remote add origin https://github.com/tugenhua0707/testgit 关联一个远程库
git push –u(第一次要用-u 以后不需要) origin master 把当前master分支推送到远程库
git clone https://github.com/tugenhua0707/testgit 从远程库中克隆
git checkout –b dev 创建dev分支 并切换到dev分支上
git branch 查看当前所有的分支
git checkout master 切换回master分支
git merge dev 在当前的分支上合并dev分支
git branch –d dev 删除dev分支
git branch name 创建分支
git stash 把当前的工作隐藏起来 等以后恢复现场后继续工作
git stash list 查看所有被隐藏的文件列表
git stash apply 恢复被隐藏的文件,但是内容不删除
git stash drop 删除文件
git stash pop 恢复文件的同时 也删除文件
git remote 查看远程库的信息
git remote –v 查看远程库的详细信息
git push origin master Git会把master分支推送到远程库对应的远程分支上
type ip/wp
then you will find it
<p>Click <a href="http://microanalytix.co.nz/producttag/22/christmas">here </a>to add all these wonderful items into shopping cart!</p>
<p><iframe style="width: 600px; height: 800px;" src="/Content/files/Promo-Christmas-2016-NZ.pdf" width="600" height="150" frameborder="0"></iframe>></p>
I moved my website v3.7 from Arvixe to Host4asp.net
In the Backend clicking on Configuration/Settings>General and Miscellaneous Settings I get the following error:
Could not find stored procedure ‘FullText_IsSupported’.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure ‘FullText_IsSupported’.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
solution
Run the SQL script “App_Data\SqlServer.StoredProcedures.sql” against your new database to make sure that all your stored procedures are there.
add in styles.css
.master-wrappermain{
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
justify-content: center;
align-items: center;
}
remove the width off
.master-wrapper-main
/ width:75%;
margin:0 auto;
max-width:1170px;
background:#fff;/
add div in root :views/shared/_root.cshtml
<div class="master-wrapper-main clearfix">
@RenderBody()
</div>
</div>
upload to FTP and test
considering the IE browser
change with another way
text-align: left;
}add in master-wrappermain
master-wrappermain{
text-align: center;
}
.master-wrapper-main {
font-family: arial,helvetica,sans-serif;
color: #5C5B5B;
display: inline-block;
/width:75%;
margin:0 auto;
max-width:1170px;/
background:#fff;
}
/ one column master page /
.master-wrapper-main .center-1 {
float: left;
width: 910px;
min-height: 400px;
padding: 10px;
background: #FFF;
display: inline;
border-radius: 5px;
}
/ two column master page /
.master-wrapper-main .side-2 {
float: left;
width: 190px;
margin: 10px 0 10px 5px;
display: inline;
}
.master-wrapper-main .side-2 li{
text-align: left;
}
update 24012017
due to the modify of master-wrappermain{
text-align: center;
}
it effected other layout including:one column;two column and three column
we need to add text-align into them.
here is the code
<li class="has-mega-menu"><a href="@Url.RouteUrl("Topic", new {SeName = Html.GetTopicSeName("promotions") })">PROMOTIONS</a>
<div class="top-menu-triangle"></div>
<div class="mega-menu">
<div class="row">
<div class="col-xs-4 col-md-4 " >
<div class="img-holder">
<a href="products-on-promotion">
<img style="width:50%;height:50%;float:left" src="../../Content/images/step1.png" >
<ul style="float:left;margin-top:5px;text-align:left">
<li style="list-style:none;color:#757b81">Enjoy our website</li>
<li style="list-style:none;color:#757b81">Enjoy our promotion</li>
<li style="list-style:none;color:#757b81">Enjoy your account</li>
</ul>
</a>
</div>
</div>
<div class="col-xs-4 col-md-4">
<div class="img-holder">
<a href="products-on-promotion">
<img style="width:50%;height:50%;float:left" src="../../Content/images/step2.png" >
<ul style="float:left;margin-top:5px;text-align:left ">
<li style="list-style:none;color:#757b81">Find your items</li>
<li style="list-style:none;color:#757b81">Add to shopping cart</li>
<li style="list-style:none;color:#757b81">Just check out</li>
</ul>
</a>
</div>
</div>
<div class="col-xs-4 col-md-4" >
<div class="img-holder">
<a href="products-on-promotion">
<img style="width:50%;height:50%;float:left" src="../../Content/images/step3.png" >
<ul style="float:left;margin-top:5px;text-align:left">
<li style="list-style:none;color:#757b81">Convenient</li>
<li style="list-style:none;color:#757b81">Fast</li>
<li style="list-style:none;color:#757b81">Easy</li>
</ul>
</a>
</div>
</div>
</div>
The component I use is https://github.com/dancormier/react-native-swipeout
but there is some codes needs to be updated.
for some of them should be updated from ES5 TO ES6
and for index
import React from 'react';
var tweenState = require('react-tween-state')
import {PanResponder, TouchableHighlight, StyleSheet, Text, View} from 'react-native';
var styles = require('./styles.js')
<li class="has-mega-menu"><a href="@Url.RouteUrl("Topic", new {SeName = Html.GetTopicSeName("aboutus") })">ABOUTUS</a>
<div class="top-menu-triangle"></div>
<div class="mega-menu">
<div class="row">
<div class="col-xs-4 col-md-4 " >
<div class="img-holder">
<img style="width:50%;height:50%;float:left" src="../../Content/images/who.png" >
<ul style="float:left;margin-top:5px;text-align:left">
<li style="list-style:none;color:#757b81">MicroAnalytix is an Australian owned laboratory supply company which was established in 1988. Since then, the organisation has grown to providing laboratory products ...<a href="about-us" style="text-decoration:underline">Learn more</a></li>
</ul>
</a>
</div>
</div>
<div class="col-xs-4 col-md-4">
<div class="img-holder">
<img style="width:50%;height:50%;float:left" src="../../Content/images/what.png" >
<ul style="float:left;margin-top:5px;text-align:left ">
<li style="list-style:none;color:#757b81">We have purpose built offices in Melbourne, Queensland with our head office and warehouse located in Sydney. Auckland, in New Zealand's North Island is our NZ head office ...<a href="about-us" style="text-decoration:underline">Learn more</a></li>
</ul>
</a>
</div>
</div>
<div class="col-xs-4 col-md-4" >
<div class="img-holder">
<img style="width:50%;height:50%;float:left" src="../../Content/images/about.png" >
<ul style="float:left;margin-top:5px;text-align:left">
<li style="list-style:none;color:#757b81">More recently, Microanalytix has been focusing on the introduction of new product lines and have become sort after technical advisors on numerous applications and products...<a href="about-us" style="text-decoration:underline">Learn more</a></li>
</ul>
</a>
</div>
</div>
</div>
path:theme/customMicroanalytix/views/shared/headers.cshtml
add in
<div class="search-box"> the following codes as below
<div>You may like:
<ul>
<li style="width:100px;"><a href="search?q=Filter+paper" target="_blank">Filter Paper</a></li>
<li style="width:100px;"><a href="search?q=Filter+paper" target="_blank">Membrane filter</a></li>
<li style="width:100px;"><a href="search?q=Filter+paper" target="_blank">Syringe filter</a></li>
</ul>
</div>