`
yanshaozhi
  • 浏览: 102447 次
  • 性别: Icon_minigender_1
  • 来自: 东营
社区版块
存档分类
最新评论
文章列表
public class DB { private String url = "jdbc:mysql://localhost:3306/test"; private String user = "root"; private String pwd = "yanshaozhi"; public Connection getcon() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLExce ...
linux 下删除目录(含非空)   rm -rf 目录名 linux 连接 linux       sudo ssh root@iP_address
if (session.hasPendingChanges()) session.save();
InputStream in = node.getProperty("jcr:data").getStream(); ByteArrayOutputStream out = new ByteArrayOutputStream(500 * 1024); makeThumbnail(in, out); out.flush(); node.setProperty("dms:Thumbnail", new ByteArrayInputStream(out .toByteArray())); node.save();
@scr.property name="sling.servlet.paths" value="/system/services/download" * @scr.property name="sling.servlet.methods"  values.0="POST" @scr.property name="sling.servlet.paths" 为访问路径
-Dcom.sun.management.jmxremote -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=30303,server=y,suspend=n
public void zipFile() throws IOException { String dir="e:/testPicture"; File d = new File(dir); if (!d.isDirectory()) throw new IllegalArgumentException("Not a directory:  " + dir); String[] entries = d.list(); byte[] buffer = new byte[4096]; // Create a buffer for co ...
Global site tag (gtag.js) - Google Analytics