Skip to content

Instantly share code, notes, and snippets.

@hanxiao
hanxiao / metadata.tsv
Created May 24, 2024 03:15
Projector Data Files
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
《0~3岁婴幼儿喂养建议(基层医师版)》
《中华儿科杂志》编辑委员会、中华医学会儿科学分会儿童保健学组于2009年发表了"婴幼儿喂养建议" [1],为全国儿童保健医生以及儿科临床医护人员提供了针对婴幼儿喂养的具体临床指导建议。近年来随着国家分级诊疗工作的不断推进,基层儿科工作人员在儿童健康管理中的作用越来越凸显。为适应发展,《中华儿科杂志》编辑委员会及中华医学会儿科学分会儿童保健学组此次在2009年"婴幼儿喂养建议" [1]的基础上,参考最新研究进展进行修订,撰写适用社区儿童保健医师及全科医师的"0~3岁婴幼儿喂养建议(基层医师版)" 。本建议根据儿童<6月龄、6~8月龄、9~11月龄以及12~36月龄不同阶段年龄特点,分别围绕营养(喂养)建议、进食行为、常见问题处理以及营养评价4部分描述,最后以表格形式汇总各阶段的要点。本建议主要目标人群为健康足月儿,早产儿和(或)低出生体重儿以及其他有特殊需求婴幼儿的喂养建议可参考其他相关指南[2,3]。
一、<6月龄
要点提示
建议婴儿出生后至6月龄(180日龄以内)纯母乳喂养;
母乳量不足时,可采用婴儿配方奶补充;
足月新生儿出生后数日(分娩出院后)即开始补充维生素D, 400 IU(10 μg)/d,无需补充钙剂;
识别婴儿饥饿及饱腹信号,家长及时应答是早期建立良好进食习惯的关键;
正确使用生长曲线,定期评价婴儿营养状况。
(一)喂养建议
@scriptdev
scriptdev / .php
Created May 24, 2024 03:15
GERAR URL COMPLETA DO ARQUIVO
<?php
# PEGA A URL PRINCIPAL DO SISTEMA
$url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$parsed_url = parse_url($url);
$base_url = $parsed_url['scheme'] . '://' . $parsed_url['host'] . $parsed_url['path'];
$path_parts = pathinfo($base_url);
if (isset($path_parts['extension'])) {
@kaigouthro
kaigouthro / unpack_js_map.py
Created May 24, 2024 03:14
Fastest ever folder of ./index.js.map making for source map to files extractor, quick and dirty.
import json
import os
def extract_source_code(map_file_path):
"""
Extracts source code from a webpack source map file.
Args:
map_file_path (str): Path to the source map file.
Returns:
This file has been truncated, but you can view the full file.
This file has been truncated
le_mapping
/nix/store/vp7444p5l73cpss1xhcgn7wcdlsy0drf-python3.11-langchain-0.2.1/lib/python3.11/site-packages/langchain/__init__.py:29: UserWarning: Importing WolframAlphaAPIWrapper from langchain root module is no longer supported. Please use langchain_community.utilities.WolframAlphaAPIWrapper instead.
warnings.warn(
tests/unit_tests/load/test_serializable.py::test_import_all_modules
tests/unit_tests/load/test_serializable.py::test_serializable_mapping
/nix/store/vp7444p5l73cpss1xhcgn7wcdlsy0drf-python3.11-langchain-0.2.1/lib/python3.11/site-packages/langchain/__init__.py:29: UserWarning: Importing Writer from langchain root module is no longer supported. Please use langchain_community.llms.Writer instead.
warnings.warn(
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Comentarios</title>
<link rel="shortcut icon" href="img/logo photoshop.png" type="image/x-icon">
<link rel="stylesheet" href="css/estilopag2.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
@ededejr
ededejr / use-current-color-value.tsx
Created May 24, 2024 03:12
use the current css color of a passed ref or the document
import type React from "react";
import { useEffect, useState } from "react";
export function useCurrentColorValue(ref?: React.RefObject<HTMLElement>) {
const [color, setColor] = useState<string | null>(null);
useEffect(() => {
const updateColor = () => {
if (ref?.current) {
setColor(getComputedStyle(ref.current).color);
@0-a-e
0-a-e / misskey_readonly.user.js
Created May 24, 2024 03:12
misskey readonly
// ==UserScript==
// @name Misskey read-only
// @version 1.0
// @description misskeyを読み専にするやつ
// @author @oae@msk.seppuku.club
// @match https://misskey.io/*
// @match https://msk.seppuku.club/*
// @grant none
// ==/UserScript==
@quonic
quonic / Get-TMI.ps1
Last active May 24, 2024 03:12
Randy Marsh's TMI formula in PowerShell
function Get-TMI {
<#
.SYNOPSIS
Calculates the TMI of a given object.
.DESCRIPTION
Calculates the TMI of a given object.
.PARAMETER Length
The length of the object
.PARAMETER Diameter
The diameter of the object
@mypy-play
mypy-play / main.py
Created May 24, 2024 03:11
Shared via mypy Playground
"\w"
@thangnn91
thangnn91 / Multicall.sol
Last active May 24, 2024 03:10 — forked from amanelis/Multicall.sol
A Pre EIP-1559 MEV/Multicall in pure Yul integrated with ApeBank and with Native GasTokens
// SPDX-License-Identifier: MIT
object "Multicall" {
code {
// Deploy the contract
// Store gas token burn cost in zero slot
sstore(0, 0)
sstore(1, 0)
sstore(2, 0)
datacopy(0x0, dataoffset("MulticallRuntime"), datasize("MulticallRuntime"))