time.google.com
time1.google.com
time2.google.com
time3.google.com
| const normalize = (min, max, value) => { | |
| if (value < min) return min | |
| else if (value > max) return max | |
| else return value | |
| } | |
| const splitChannels = (color, split) => { | |
| color = color.replace(split, '').replace(')', '').trim() | |
| let channels = color.split(',') |
| # if input image is in range 0..1, please first multiply img by 255 | |
| # assume image is ndarray of shape [height, width, channels] where channels can be 1, 3 or 4 | |
| def imshow(img): | |
| import cv2 | |
| import IPython | |
| _,ret = cv2.imencode('.jpg', img) | |
| i = IPython.display.Image(data=ret) | |
| IPython.display.display(i) |
| /* | |
| RGB split shader | |
| Built-inシェーダのvert_imgなどはここを参照のこと。 | |
| http://wiki.unity3d.com/index.php/Shader_Code | |
| uvなどは頂点シェーダで計算したほうが軽くなりそう。 | |
| */ | |
| Shader "Custom/RGBSplit" { | |
| Properties { |
In the screenshot above, i'm using:
本文譯自 Julio Merino 2018 年七月撰寫的 Rust vs. Go 一文。Julio Merino 是 G 社僱員,在 G 社工作超過 8 年,無論工作內外,都接觸開發不少 Go 語言,並撰寫 [Rust 點評][rust-review]系列文,來聽聽他對 Rust 與 Go 的想法吧。
Thanks Julio Merino for this awesome article!
Postman | API Development Environment https://www.getpostman.com
Insomnia REST Client - https://insomnia.rest/
| Features | Insomnia | Postman | Notes |
|---|---|---|---|
| Create and send HTTP requests | x | x | |
| Authorization header helpers | x | x | Can create "Authorization" header for you for different authentication schemes: Basic, Digest, OAuth, Bearer Token, HAWK, AWS |