JSX 介紹 首先看看下面這個變數宣告 const element = <h1>你好,世界!</h1>; 這個有趣的標籤語法不是一個字串也不是HTML。 這
Concurrency Go provides concurrency features as part of the core language. This module goes over goroutines and channels, and how they are used to implement different concurrency patterns. 複習: Concurrency and Parallelism Goroutines A goroutine is a lightweight thread managed by Go runtime. goroutine是輕量級的執行緒(lightwe
JupyterHub Use Docker to build a JupyterHub for multiple users
Notices Before your start to build a JupyterHub with docker, please download the relative file at example.
Enable HTTPS (SSL encryption) Generate a self-signed certificate with openssl, as below:
create a self-signed certificate. For example, the following command will create a certificate valid for 365 days with both the key and certificate data written to the same file:
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout jupyterhub.
Generator functions allow you to declare a function that behaves like an iterator. 在開始介紹Generator前,先讓我們來看看Iterator。 Iterator vs Iterable Iteration: 當我們用一個循環(ex: for loop)遍歷一
Methods and Interfaces Learn how to define methods on types, how to declare interfaces, and how to put everything together. Methods (方法) Go does not classes. However, you can define methods on types. A method is a function with a special receiver argument. The receiver appears in its own argument list between the func keword and the method name. Example The Abs() method has a receiver of