Skip to content

Instantly share code, notes, and snippets.

import fs from "fs";
import path from "path";
import { createWriteStream } from "fs";
import { resolve, dirname } from "path";
import { fileURLToPath } from "url";
import PDFDocument from "pdfkit-table";
import axios from "axios";
import moment from "moment/moment.js";
export function createSkillAcquisitionBox(doc, skillData, options) {
@choco-bot
choco-bot / FilesSnapshot.xml
Created April 29, 2025 17:17
pibakery v0.3.4 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\pibakery\pibakery.nupkg" checksum="3C04CF9C3D882455BE416F94EFBF3F10" />
<file path="C:\ProgramData\chocolatey\lib\pibakery\pibakery.nuspec" checksum="D073DCA36C17978D66BA16AB45A63A5A" />
<file path="C:\ProgramData\chocolatey\lib\pibakery\tools\chocolateyinstall.ps1" checksum="ED1E252C0A4F8DA11CDCCF1BB97CB450" />
<file path="C:\ProgramData\chocolatey\lib\pibakery\tools\chocolateyuninstall.ps1" checksum="DF7059DCB4BDAF226A169E37BFCA5206" />
</files>
</fileSnapshot>
import React from "react";
import { Card, CardContent, CardFooter } from "@/components/ui/card";
import { ImageCarousel } from "./ImageCarousel";
import { FavoriteButton } from "./FavoriteButton";
import { motion } from "framer-motion";
export interface App {
id: string;
name: string;
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: jazzy
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: jazzy
ament/ament_lint:
Obsidian Dictionary for Daily Planning
This dictionary explains key Obsidian terms in simple language to help you plan your day and connect your notes. Keep this note in your Obsidian Vault for reference!
Vault: The folder where all your Obsidian notes are stored, like a digital filing cabinet. Example: Your “My Daily Plans” Vault holds all your daily notes.
import matplotlib.pyplot as plt
# === 11. 模擬報酬率 ===
def simulate_strategy_returns(df):
df = df.copy()
# 如果缺欄位就跳過模擬
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: kilted
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: kilted
ament/ament_lint:
@nekojanai
nekojanai / nice-css-finds.css
Created April 29, 2025 17:16
CSS snippets found and/or discovered while browsing~
/* reddish glow around input */
.dark .input, .dark .select, .dark .btn {
background-color: rgba(34, 34, 34, 1);
color: rgba(156, 163, 175, 1);
}
.input:focus {
outline-color: rgba(239, 68, 68, 1);
outline-width: 2px;
outline-style: solid;
@WardF
WardF / deploy_env.sh
Last active April 29, 2025 17:26
Deploy netCDF dev environment
#!/bin/bash
#
# Take command line arguments to download/install a netCDF/HDF5 combo version.
#
# Workflow:
#
# 1) ./deploy_env.sh --create-envscripts
# 2) cp env_activate.sh env_deactivate.sh $HOME/local/bin
# 3) ./deploy_env -d [hdf5 version] -c [compiler] --create-link shared-[shared-hdf5-version]
#
@lvanasse
lvanasse / ci-risc-v-06.log
Created April 29, 2025 17:15
[risc-v-06] CI Log for nuttx @ 61f205f1d4ecaf50dba41b102074290e5b63f6e3 / nuttx-apps @ f14249d1d341fb1345e74b257bdea636a1777996
***** BUILD FAILED
fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
Script started on 2025-04-29 16:52:29+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh risc-v-06" <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=risc-v-06
+ neofetch
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-