在大前端的時代,開發 Web app 不再像以前使用一個 jQuery 的 CDN 這麼容易,從 html 模板的抉擇,css 預處理器的挑選,Javascript 模組化的方法,自動化工具的使用等等,都是一門學問。本文將從建置基本的前端開發環境起頭,簡單介紹個人愛用現代常用的前端開發工具。
(撰於 2017-03-10)
Image by Nick Youngson CC BY-SA 3.0
As a non-native English speaker, I often try several methods to improve my English skills. Listening to podcasts is one of the most interesting way to practice English, especially with fascinating topics I indulge in.
Therefore, I pick some of my favorite podcasts about software engineering to share with you. Enjoy these awesome shows and don't forget to give them some feedback.
This is a series of quick notes about the fundamentals of the Rust programming language. It would cover parts of basic concepts and patterns in Rust. As a Rust begineer and a non-native English speaker, I may make some silly mistakes in my notes. Please contact me if there are some misleading words.
(written on 2018-09-30)
# Create X509 self-signed certificate. | |
openssl req \ | |
-newkey rsa:2048 -nodes -keyout cert.key \ | |
-x509 -days 365 -out cert.pem | |
# Convert from PEM format to DER. | |
openssl pkcs12 \ | |
-inkey cert.key -in cert.pem \ | |
-export -out cert.pfx |
pub struct XorShift64 { | |
a: u64, | |
} | |
impl XorShift64 { | |
pub fn next(&mut self) -> u64 { | |
let mut x = self.a; | |
x ^= x << 13; | |
x ^= x >> 7; | |
x ^= x << 17; |
I hereby claim:
To claim this, I am signing this object: