制作Mac OS X Mavericks 安装U盘

摘要: 1. 8G+ U盘一个。2. App Store 下载Maverics到本地(默认会下载到Applications)2. 打开Mac OS 磁盘工具(Disk Utility),左侧选中U盘,在右侧打开“抹掉”(Erase)面板。 格式/Format:Mac OS 扩展/Mac OS Extend... 阅读全文
posted @ 2014-08-29 09:56 hooligen 阅读(394) 评论(0) 推荐(0)

宅男福利--利用Python简单爬图

摘要: Ver beta..代码粗陋。使用说明以Windows为例, Python版本为2.7.6确认你电脑已经安装了Python, Windows默认安装路径为C:\Python27。如果没有安装,先下载安装https://www.python.org/download/releases/2.7.6下载m... 阅读全文
posted @ 2014-04-17 21:11 hooligen 阅读(1201) 评论(0) 推荐(0)

python 实现文件批量拷贝

摘要: 场景:某个文件夹下面包含数量巨大的文件,需求需要将这些文件按组(比如5000个一组)存放到不同的目录中去。# Filename: CopyFiles.pyimport osimport os.pathfolder_capacity = 20def copy_files(src_dir, dest_d... 阅读全文
posted @ 2014-04-15 17:09 hooligen 阅读(698) 评论(1) 推荐(0)

解决mac os x 10.9.1 AppStore ‘Use the Purchases page to try again’ 问题

摘要: 方法一:关闭AppStoreTerminal:open $TMPDIR/../C删除 com.apple.appstore 下所有文件后进入AppStore重新下载方法二:Terminal:defaults write com.apple.appstore ShowDebugMenu -bool t... 阅读全文
posted @ 2014-01-16 20:34 hooligen 阅读(1264) 评论(0) 推荐(0)

TIBCO ActiveMatrix BPM 生成daa包脚本

摘要: Ant 配置: --> 执行:>\studio\>\eclipse\amx_eclipse_ant.exe -f > -data > 阅读全文
posted @ 2013-10-24 11:46 hooligen 阅读(234) 评论(0) 推荐(0)

gwt 创建 超链接cell (HyperTextCell)

摘要: package com.cnblogs.hooligen.client;import com.google.gwt.cell.client.AbstractCell;import com.google.gwt.cell.client.ValueUpdater;import com.google.gwt.core.client.GWT;import com.google.gwt.dom.client.Element;import com.google.gwt.dom.client.NativeEvent;import com.google.gwt.safehtml.client.SafeHtml 阅读全文
posted @ 2013-09-09 09:11 hooligen 阅读(397) 评论(0) 推荐(0)

将TIBCO Host 实例注册为Windows服务

摘要: 安装了TIBCO ActiveMatrix BPM及成功创建了ActiveMatrix Administrator 和 BPM Server后,每次都要手动启动tibcohost,比较麻烦,实际上TIBCO提供了工具可以将tibcohost注册为Windows服务,步骤如下:1.拷贝TIBCO_HO... 阅读全文
posted @ 2013-06-24 10:47 hooligen 阅读(178) 评论(0) 推荐(0)