solutions to ISLR

摘要: Chapter 2 1, a) better, the more samples can make the function fit pratcal problem better. b) worse, since the number of observations is small, the mo 阅读全文
posted @ 2017-02-11 19:01 alex_wood 阅读(421) 评论(1) 推荐(0) 编辑

OCR note

摘要: Color Spaces The RGB method to represent colors is an example of a colorspace. It’s one of many methods that stores colors. Another colorspace is gray 阅读全文
posted @ 2016-06-19 02:26 alex_wood 阅读(107) 评论(0) 推荐(0) 编辑

JSPatch -- iOS hotfix

摘要: wiki: https://github.com/bang590/JSPatch/wiki 1. Block block( 'int, MyClass *', function( paramA, paramB) { //do something } ); // double is not suppo 阅读全文
posted @ 2016-04-28 02:07 alex_wood 阅读(132) 评论(0) 推荐(0) 编辑

React Native note

摘要: 1. cited from https://github.com/facebook/react-native/issues/240#issuecomment-86977126 阅读全文
posted @ 2016-04-16 14:51 alex_wood 阅读(161) 评论(0) 推荐(0) 编辑

iOS snow animation

摘要: //// CTSnowAnimationView.h// CTMyCtrip//// Created by alex on 16/1/4.// Copyright © 2016年 ctrip. All rights reserved.//#import @interface CTSnowAn... 阅读全文
posted @ 2016-01-15 13:47 alex_wood 阅读(148) 评论(0) 推荐(0) 编辑

iOS develop note

摘要: 1) All animation should run on main thread. 2) When animation by changing UINSLayoutConstraint, [[animatingView parentView] layoutIfNeeded] should be 阅读全文
posted @ 2015-12-11 15:21 alex_wood 阅读(178) 评论(0) 推荐(0) 编辑

OverTheWire Bandit

摘要: #sshpass is a helpful tool to enter password which could save tons of time.ssh bandit26@bandit.labs.overthewire.org5koReBOKuIDDepwhWk7jZC0RTdopnAYKh6D... 阅读全文
posted @ 2015-08-17 14:51 alex_wood 阅读(310) 评论(0) 推荐(0) 编辑

Psychology and Life

摘要: 1. By 2010, the two settings most psychologists employed in are academic settings, 37.3%, and human services, like ospitals, etc., 25.8%.2. study tech... 阅读全文
posted @ 2015-06-26 17:39 alex_wood 阅读(248) 评论(0) 推荐(0) 编辑

python hosts

摘要: 怒了,自己写个python程序来更新hosts。先占个坑,晚点来填。*****************************我是时光长河的分界线***********T_T***************************************千年前挖下的坑,今天终于填了=。=。。。本来老抽... 阅读全文
posted @ 2015-01-11 16:49 alex_wood 阅读(382) 评论(0) 推荐(0) 编辑

sicp solutions

摘要: **1.11012836Value: aValue: b19#f416616**1.2(/ (+ 5 4 (- 2 (- 3 (+ 6 (/ 4 5) ) ) ) ) (* 3 (- 6 2) (- 2 7) ) )**1.3(define (larger x y) ... 阅读全文
posted @ 2015-01-09 10:36 alex_wood 阅读(484) 评论(0) 推荐(0) 编辑