码迷,mamicode.com
首页 >  
搜索关键字:docker run    ( 34239个结果
Android多线程研究(9)——线程锁Lock
在前面我们在解决线程同步问题的时候使用了synchronized关键字,今天我们来看看Java 5.0以后提供的线程锁Lock.Lock接口的实现类提供了比使用synchronized关键字更加灵活和广泛的锁定对象操作,而且是以面向对象的方式进行对象加锁。 @Override public void run() { while(true){ Lock lock = new Re...
分类:移动开发   时间:2014-06-11 00:57:51    阅读次数:329
/MD, /MT, /LD (Use Run-Time Library)
msdnIndicates whether a multithreaded module is a DLL and specifies retail or debug versions of the run-time library.Copy/MD[d]/MT[d]/LD[d]RemarksOpti...
分类:其他好文   时间:2014-06-10 15:12:38    阅读次数:283
【leetcode】First Missing Positive
Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant...
分类:其他好文   时间:2014-06-10 07:42:16    阅读次数:244
使用maven打包项目并上传到Linux服务器
maven打包: 项目右键Run as-->Maven build...--> 出来下面的界面,注意红色部分的填写,Goals填写package表示打包,下面的Skip Tests表示打包时不执行单元测试。 点击Run 就打包成功了,jar包在空间下/项目名/target下。没有打包配置文件。...
分类:系统相关   时间:2014-06-10 06:42:57    阅读次数:282
java创建一个简单的小框架frame
import java.awt.*; import javax.swing.*; public class SimpleFrameTest { public static void main(String[] args) { EventQueue.invokeLater(new Runnable(){ // 开一个线程 public void run() { Simpl...
分类:编程语言   时间:2014-06-10 06:05:33    阅读次数:566
python profile
1. python -m cProfile myprogram.py2. 使用import profile模块import profiledef profileTest(): ...if __name__ == "__main__": profile.run("profileTest()")3......
分类:编程语言   时间:2014-06-09 18:59:10    阅读次数:219
rman多通道全备份脚本
??run{allocate channel d1 type disk;allocate channel d2 type disk;allocate channel d3 type disk;allocate channel d4 type disk;allocate channel d5 type...
分类:其他好文   时间:2014-06-08 21:26:18    阅读次数:351
网易新闻页面信息抓取 -- htmlagilitypack搭配scrapysharp
最近在弄网页爬虫这方面的,上网看到关于htmlagilitypack搭配scrapysharp的文章,于是决定试一试~于是到https://www.nuget.org/packages/ScrapySharp去看看,看到这句下载提示:To install ScrapySharp, run the f...
分类:Web程序   时间:2014-06-08 20:23:28    阅读次数:402
Linux -- Ubuntu搭建java开发环境
Steps1Check to see if your Ubuntu Linux operating system architecture is 32-bit or 64-bit, open up a terminal and run the following command below.Type...
分类:编程语言   时间:2014-06-08 19:51:49    阅读次数:328
网站扫描工具paros proxy(v3.2.13)安装与使用总结
1、安装   (1) 安装JRE l         首先确保已安装JRE [Java Run Time Enviroment (JRE) 1.4 (or above) ] 注意:一定要先安装JRE,然后再安装paros proxy,如果先安装paros proxyr后安装JRE,paros proxy将无法启动。 l         如果没有JRE,可以通过以下地址下载并安装:http:...
分类:Web程序   时间:2014-06-08 16:22:59    阅读次数:333
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!