Skip to content

Instantly share code, notes, and snippets.

View maximmai's full-sized avatar

Maxim Mai maximmai

View GitHub Profile
@maximmai
maximmai / nginx-hello-world-deployment.yaml
Last active January 29, 2024 16:32 — forked from sdenel/nginx-hello-world-deployment.yaml
Kubernetes: a simple Nginx "Hello world" deployment file
# To deploy: kubectl create -f nginx-hello-world-deployment.yaml
# Access it with the API as a proxy:
# $ kubectl proxy
# Then in you browser: http://localhost:8001/api/v1/namespaces/default/services/nginx:/proxy/#!/
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
# GNU Screen - main configuration file
# All other .screenrc files will source this file to inherit settings.
# Author: Christian Wills - cwills.sys@gmail.com
# Allow bold colors - necessary for some reason
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'

加拿大出生华裔(CBC)赴华细节

本文针对在加拿大出生的华裔儿童,关于首次赴华需要准备的旅行证件及申请细节。

国籍问题

国籍是一个相对概念。维基百科定义为:

国籍是指一个人属于一个国家国民的法律资格,也是国家实行外交保护的依据。

从加拿大政府角度:在加拿大出生的华裔,根据加拿大国籍法,加拿大给予此儿童加拿大籍。(父母为外交人员除外,详情参见:http://www.cic.gc.ca/english/information/applications/guides/CIT0001ETOC.asp