2019年3月13日
摘要: leetcode 1005 Sort the array first. The negation rules are quite simple: 1. execute negation for K times,so use a for loop 2. after negation, if the n 阅读全文
posted @ 2019-03-13 23:00 王 帅 阅读(126) 评论(0) 推荐(0) 编辑
摘要: html调色板 虽然不是专业写前端的,但是每隔半年(或者更久?)都会有html配色的需求,这种不常用的东西不想放到书签里面,但是又懒得找半天,干脆扔这里吧 "coolors调色板" Javascript convert string array to integer array 今天遇到一个奇怪的问 阅读全文
posted @ 2019-03-13 17:39 王 帅 阅读(142) 评论(0) 推荐(0) 编辑
  2012年12月4日
摘要: I assume you already set up your hadoop 1.0.3 on your os x.open your ssh like thisFirst of all , you need to change your hadoop configuration,the masters and slaves have the same name localhostyour core-site.xml should be like this:<configuration> <property> <name>fs.default.name&l 阅读全文
posted @ 2012-12-04 10:59 王 帅 阅读(234) 评论(0) 推荐(0) 编辑
  2012年12月2日
摘要: these two days I spent some time reading the manual of GNU tar (not BSD version, through my mac's shell is BSD), and get some usefull insights about tar:1. tar is just a archiving tools , which means you can put many files together for the convinent of other operation. 8 operations are provided 阅读全文
posted @ 2012-12-02 11:19 王 帅 阅读(132) 评论(0) 推荐(0) 编辑