本方案旨在利用海洋废弃物(贝壳、鱼骨)作为核心钙源,通过“平菇菌丝”构建生物骨架,结合“3D打印喷雾矿化”技术,在受控环境下实现海上漂浮模块的快速生长。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import subprocess | |
| import select | |
| import signal | |
| import struct | |
| import time | |
| import fcntl | |
| import termios | |
| import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| CWD=$(dirname $(realpath $0)) | |
| cd $CWD | |
| TARGET_VER="3.21" | |
| FULL_VER="${TARGET_VER}.3" | |
| TARGET_DIR="${CWD}/sys" | |
| TARGET_APK_REPO="mirrors.ustc.edu.cn" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as winston from 'winston'; | |
| import DailyRotateFile from 'winston-daily-rotate-file'; | |
| import { Config } from '../config'; | |
| class MyLogger { | |
| logger: winston.Logger; | |
| defaultLogLevel: string; | |
| constructor(logger: winston.Logger, defaultLogLevel: string) { | |
| this.logger = logger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ## require objdump and awk and sed | |
| fn=$1 | |
| objdump -j .text -S $fn | awk -F ' {2,}' '{print $3}' | sed -n '/^\s\+/!d;s/\s\+\([a-z]\+\).*$/\1/p' | sort | uniq -c | sort -k1 -n | |
| ## save here in case i would forget oneday |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \ ssd1306 I2C display driver for 128x32 pixel OLED displays, this is work in progress | |
| \ Tested with wemos oled shield | |
| \ Usage: | |
| \ display-init | |
| \ font5x7 font ! | |
| \ 10 text-top ! 8 text-left ! | |
| \ "Hello" draw-str | |
| \ display | |
| \ display-clear |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ================================================ | |
| vi like interface for rappid | |
| ================================================ | |
| :Author: jyf | |
| :Date: 2013-10-10 | |
| .. contents:: index | |
| links |