Skip to content

Instantly share code, notes, and snippets.

View resouer's full-sized avatar
🏡
Mountain View

Lei Zhang (Harry) resouer

🏡
Mountain View
  • NVIDIA
  • Bay Area
  • 12:58 (UTC -07:00)
View GitHub Profile
{
"updated": "2026-05-07T19:07:47.639302+00:00",
"readhub": [
{
"title": "传 DeepSeek 获国家大基金洽谈领投 估值达 450 亿美元",
"summary": "有消息指国家集成电路产业投资基金正洽谈领投 DeepSeek 首轮融资,此轮融资或使该公司估值达约 450 亿美元。腾讯等投资者也在洽谈入股,最终阵容未确定,创办人梁文峰可能参与本轮融资。虽 DeepSeek 缺乏商业化,但投资者押注其潜力,使其估值从 200 亿美元大幅增长,且其编码能力在中国名列前茅。中国已启动大基金三期,募集 470 亿美元,投资方向为半导体设备和材料,尚未公开支持其他语言大",
"link": "https://readhub.cn/topic/8suHhAMYOp8"
},
{
"title": "月之暗面将完成 20 亿美元新融资,估值破 200 亿美元",
@resouer
resouer / app.yaml
Last active June 8, 2021 05:24
A sample Open Application Model (OAM) deployment plan
apiVersion: core.oam.dev/v1
kind: Application
metadata:
name: awesome-blog
spec:
components:
- name: web
type: helm-chart
properties:
image: bitnami/wordpress
@resouer
resouer / platform.md
Last active November 30, 2020 22:56
My dream platform

My dream platform:

  1. Single binary install on nodes, and easy to join them into a cluster.

  2. Resources defined as JSON with comments in a simple format with JSON Schema URLs denoting resource types - I should be able to run 1 container with 3 lines of resource definition.

  3. Everything as a CRD... No resources or funcionality pre-installed and instead available via publicly hosted HTTPS schema URLs.

  4. Pluggable / auto-installed runtimes based on the schema URL or a "runtime" field: containers, vms, firecracker, wasm, maybe even bare processes, etc.

@resouer
resouer / vela.yaml
Last active November 11, 2020 23:56
name: _my-app-name_
services:
_my-service-name_:
build:
docker:
file: _Dockerfile_name_
context: _Dockerfile_path_
myapp: {
components: {
frontend: {
containerized:{
image: "nginx:v1"
port: "8080"
}
traits: {
route: {
domain: "www.example.com"
```console
$ rudr --help
✈️ A Micro App Plafrom for Kubernetes.
Commands
Getting Started 🌱
env Set your enviroment (e.g. dev,stage,prod).
docs Open the rudr docs.
---
apiVersion: core.oam.dev/v1alpha1
kind: WorkloadDefinition
metadata:
name: service.serving.knative.dev
spec:
definitionRef:
# reference to the name of real-world crd
name: service.serving.knative.dev
---
# -------------------------- Step 1: Define and install WorkloadType and Trait ---------------------
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: radius.cache.crossplane.io
annotations:
core.oam.dev/oam-type: WorkloadType
scope: Namespaced
names:
# Step 1: Define and install WorkloadType and Trait
---
apiVersion: core.oam.dev/v1alpha1
kind: WorkloadType
metadata:
name: cache.crossplane.io/v1.Radius # we endorse G/V/K convension as WorkloadType name
spec:
schematic: |
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
apiVersion: core.oam.dev/v1alpha1
kind: ApplicationConfiguration
metadata:
name: first-app
spec:
components:
- componentName: helloworld-python-v1
instanceName: first-app-helloworld-python-v1
parameterValues:
- name: target