先用appearance:none取消浏览器默认样式,再用多重背景定义背景色和箭头
select {
@include appearance(none);
@include background-image(inline-image("select_arrow.png"),linear-gradient(top, #ffffff 0%,#e8e8e8 100%));
background-repeat: no-repeat, repeat-x;
background-position: right center, right top ;
background-size: auto 100%, 100%
ubuntu无法升级。
提示错误:
upgrade E: Sub-process /usr/bin/dpkg returned an error code (1)
原因:
/boot被占满
解决方法:
dpkg –get-selections|grep linux-image
查看有哪些内核
sudo apt-get autoremove linux-image-3.5.0-17-generic linux-image-3.5.0-19-generic linux-image-3.5.0-22-generic
SELECT * FROM tbl ORDER BY FIELD(type,5,1,2,3,4) ASC
没有在FIELD中定义的值asc时会排在最上边
Eclipse:Ant build
http://wirelesswombat.com/2012/06/17/automatically-compling-sass-compass-in-eclipse-zend-studio/
VirtualStudio:
http://sassforvisualstudio.com/
Dreamwaver:
http://www.lenashore.com/2013/general/setting-up-sass-and-compiling-the-code-with-dreamweaver/
1.开启log日志:
[mysqld]
log = “/var/log/mysql.log”
2.tail监控
tail -f /var/log/mysql.log
2.1让windows支持tail
Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/en-us/download/details.aspx?id=