javafx.concurrency并发包是为方便javafx Application Thread也就是javafx的UI线程与后台线程安全交互的工具包。
接口:Worker.
Worker接口封装了Worker.State枚举作为Worker的状态:READY,SCHEDULED,RUNNING,SUCCEDED,FAILED,CANCELLED.
Worker拥有下面这些只读prope...
分类:
编程语言 时间:
2014-05-01 21:51:52
阅读次数:
691
runtime
bundle/vim-pathogen/autoload/pathogen.vimset nocompatible " be iMproved,
requiredfiletype off " required" set th...
分类:
其他好文 时间:
2014-05-01 08:38:20
阅读次数:
327
思路很简单,就是存储之前运算的结果,然后递归class Solution {public: int**
dp; int get_min_sum(vector > &grid, int m, int n) { if (dp[m][n] != -1)
...
分类:
其他好文 时间:
2014-05-01 07:54:47
阅读次数:
330
void listFiles(){ namespace fs = boost::filesystem;
boost::filesystem::path path=boost::filesystem::current_path();
fs::directory_iterator item_beg...
分类:
其他好文 时间:
2014-05-01 05:23:07
阅读次数:
310
目录[-]使用 boost::filesystem 的第一个程序清单 1.
用于确定某个文件的类型是否为 Directory 的代码了解 Boost path 对象清单 2. 创建 Boost path 对象的方法清单 3.
使用本机格式初始化 path清单 4. 使用可移植格式初始化 pathpa...
分类:
其他好文 时间:
2014-05-01 04:25:38
阅读次数:
417
使用非默认内核而出现的错误。[zsj@arch ~]$ systemctl
--state=failed UNIT LOAD ACTIVE SUB DESCRIPTION● systemd-modules-load.service
load...
分类:
其他好文 时间:
2014-05-01 03:38:30
阅读次数:
589
今天clone了一份代码,跑gradle test时出现failed,从report上来看是这个错误:IllegalArgumentException,具体如下:
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassRead...
分类:
其他好文 时间:
2014-04-29 13:27:21
阅读次数:
359
mysql5.6, [ERROR] Failed toopen log ,datadir物理迁移报错,log-bin-index,log-bin配置...
分类:
数据库 时间:
2014-04-29 13:27:20
阅读次数:
512
FAILED: Error in metadata: java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException org.apache.hadoop.hive.hbase.HBaseSerDe: columns has 3 elements while hbase.columns.mapping has 4 elements (counting the key if implic...
分类:
其他好文 时间:
2014-04-29 13:17:21
阅读次数:
387
建立elements目录
mkdir -p elements/lamp/install.d/
vim 70-lamp
#!/bin/bash
set -eux
install-packages wordpress mariadb-server httpd memcached
生成一个带wordpress的镜像
export ELEMENTS_PATH=...
分类:
其他好文 时间:
2014-04-29 13:14:21
阅读次数:
475