javascript常见问题处理 1.对已经写了宽度的图片进行样式重置<img width="100px" height="100px"><style> img { width: 100% !important; height: auto !important; }</style>
webpack tapablehttps://github.com/webpack/tapable2.0版本中文翻译https://segmentfault.com/a/1190000017420937
angularjs $q 链式操作angular.module('ecApp', []) .controller('testController', function($http, $scope, $q, $timeout) { function okToGreet(name) { return name == "andy"; } funct
browser js window.onload = function() {var browser = { versions: function () { var u = navigator.userAgent, app = navigator.appVersion; return { trident: u.indexOf
height100% <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" style="height:100%;"><head><meta h
LESS高亮 sublime text3: 1.点击view->show console 2.在console下输入:import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-packag
解决eclipse字体太小问题 把字体设置为Courier New操作步骤:打开Elcipse,点击菜单栏上的“Windows”——点击“Preferences”——点击“Genneral”——点击“Appearance”——点击“Colors and Font”——在右侧框展开“Basic”文件夹–双击“Text Font”——在弹出窗选择“Courier New”(注:这里可能找不到“Courier New”,点击字体选择框左
freemarker 判断变量是否存在<#if variable_to_test??>not null!<#else>null!boolean转换成数值?string(“yes”,”no”)map问题参考:http://freemarker.624813.n4.nabble.com/How-to-generate-the-output-for-a-given-java-collection-object-td383325
2 zip public class ExportFile{ // 導出的文件名稱 private String name; // 文件內容 private byte[] content; // 導出文件的後綴名 private String suffix;}public void zipFiles(ServletOutputStream outputStream,