Skip to content

Instantly share code, notes, and snippets.

# From extracted imaginary_base to imaginary, the working image
FROM imaginary_base
ARG PORT=9000
RUN ls -l /usr/local/lib /usr/local/bin/imaginary /usr/local/bin/vips*
# Install libvips required libraries (again) + cjk fonts
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update && \
@suntong
suntong / “孩子每发烧一次,就会变聪明一些”,真的是这样吗?.md
Created October 10, 2023 18:23
老人常说:“孩子每发烧一次,就会变聪明一些”,真的是这样吗?

老人常说:“孩子每发烧一次,就会变聪明一些”,真的是这样吗?

https://www.sohu.com/a/490707795_120889535

感觉孩子发烧一次,就能解锁一些“新技能”‍ 最近,小田家的宝宝因为换季又感冒发烧了,小田细心地照顾,经过一段时间后,孩子的烧终于退了。但经过这次发烧后,小田发现孩子学会了说话。

小田真的是又惊又喜,经过长时间的观察后,小田发现,孩子每次发烧后,都会解锁一项新的技能,像突然会数数、突然能说多个字的句子、甚至还学会了音调……

于是,小田觉得,孩子每发烧一次,可能就会变得更聪明。

openapi: 3.0.0
servers:
- description: Main endpoint.
url: https://app.asana.com/api/1.0
info:
contact:
name: Asana Support
url: https://asana.com/support
description: This is the interface for interacting with the [Asana
Platform](https://developers.asana.com). Our API reference is generated from
This file has been truncated, but you can view the full file.
openapi: 3.0.1
info:
version: 4.159.0
title: Linode API
description: >
## Introduction
The Linode API provides the ability to programmatically manage the full
openapi: 3.0.3
servers:
- url: https://api.spotify.com/v1
info:
contact:
name: sonallux
url: https://github.com/sonallux/spotify-web-api
description: >
You can use Spotify's Web API to discover music and podcasts, manage your
Spotify library, control audio playback, and much more. Browse our available
openapi: 3.0.0
info:
title: Petstore-OpenAPI
version: v0.1
summary: ""
description: >-
This is a sample Pet Store Server based on the OpenAPI 3.0
specification. You can find out more about
Swagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!

Hexagonal Architecture

From https://www.golinuxcloud.com/hexagonal-architectural-golang/

Hexagonal Architecture Components

  1. Core Business Logic: This is the central component of the architecture, and it contains the application's core domain logic. This component should be independent of any external systems and should not be affected by changes in the infrastructure or the user interface.
  2. Adapters: These are the components that connect the core business logic to the external systems. They can be thought of as the "ports" through which the application communicates with the outside world. Adapters can take many forms, including APIs, databases, user interfaces, and messaging systems.
@suntong
suntong / c
Last active July 24, 2023 21:24
c
# Initially generated on boot by initramfs,
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
# Specify that the physical interface that should be connected to the bridge

https://huaren.us/showtopic.html?topicid=1134616

头部有深绿和浅绿物质,腹部也有深绿色物质,发黑,不知道能不能吃?
放狗搜了一下,有说是卵的,有的说是肝脏,也有说叫啥啥龙虾膏,很美味,有知道的吗?

  • 龙虾的大部分消化系统在头部,所以绿色的是未消化完的食物,海藻之类。我一般都是不吃的。不过要是煮熟了吃下去也没事,但不是什么精华就是了。好吃的是虾膏,有些龙虾里面有。煮熟了是红色的。

  • 吃过,没出状况过。 在 maine 龙虾店里吃的时候 waitress 说黑色的是籽,主要存在在身子到尾巴的部位,不太熟的时候是黑绿的,cooked 了会变红。 浅绿的应该只在头部和身子链接的地方,据说是 liver 之类,也可以吃,只要不多吃,比如每天不要超过一个龙虾,呵呵。不过对 shell fish 过敏的人也许吃这部位过敏的危险更高。