rough notebook

from src.api.url_api import fastapi_api_request_url, flask_api_request_url
from src.api.st_analysis_tab_01 import display_complaint_information
from src.api.st_analysis_tab_02 import display_missing_values_report
from src.api.st_analysis_tab_03 import display_summary_statistics
from src.api.st_analysis_tab_04 import display_dataset_info
from src.api.st_analysis_tab_05 import display_visualizations
from src.visualization.st_plt import (create_complaints_visualization, process_complaints_dat

3074. Apple Redistribution into Boxes

You are given an array apple of size n and an array capacity of size m. There are n packs where the ith pack contains apple[i] apples. There are m boxes as well, and the ith box has a capacity of capacity[i] apples. Return the minimum number of boxes you need to select to redistribute these n packs of apples into boxes. Note that, apples from the same pack can be distributed into different boxes.
/**
 * @param {number[]} apple
 * @param {number[]} capacity
 * @return {number}
 */
var minimumBoxes = function(apple, capacity) {
    // 1. Compute the total number of apples across all packs.
    // Since aplles can be split across boxes, only the total matters.
    let totalApples = 0;
    for (let a of apple) {
        totalApples += a;
    }

    // 2. Sort the box capacities in descending order.
    // We want to use the largest boxes first to minimize the count.
    capacity.sort((a, b) 

skill-creator

---
name: skill-creator
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
license: Complete terms in LICENSE.txt
---

# Skill Creator

This skill provides guidance for creating effective skills.

## About Skills

Skills are modular, self-contained packages that extend Claude's capabilities by providing
specia

切换微信显示(隐藏)到托盘

/*
@SnippetName: ToggleWeChat (Encapsulated)
@Description: 切换微信显示/隐藏到托盘,支持自动启动。无全局变量污染。
@Version: 2.0
@TestWeChatVersion: 3.9.12.57
*/

/**
 * 切换微信窗口状态
 * 如果微信未运行:则启动微信
 * 如果微信已运行但隐藏/在后台:则显示并激活窗口
 * 如果微信窗口已激活:则最小化至系统托盘
 */
ToggleWeChat() {
    ; --- 局部变量定义 ---
    local wechatLnk := A_AppData "\Microsoft\Windows\Start Menu\Programs\微信\微信.lnk"
    local wndClass  := "ahk_class WeChatMainWndForPC"
    local exeName   := "WeChat.exe"

    ; 临时开启隐藏窗口检测,确保能找到托盘下的微信
    ; 此设置在函数退出后

合并选中的文件

; ==============================================================================
; 函数定义:合并选中文件
; ==============================================================================
/**
 * 合并选中的特定类型文件为一个新文件,以便给 AI 提供上下文
 * @param filetype 文件的后缀名 (例如 "md" 或 "txt")
 */
combineFiles(filetype) {
    ; 1. 自动执行复制动作,获取选中文件的路径
    oldClipboard := A_Clipboard  ; 备份当前剪贴板
    A_Clipboard := ""            ; 清空剪贴板用于判断
    Send "^c"
    
    ; 等待剪贴板获取内容(最多等待 2 秒)
    if !ClipWait(2) {
        MsgBox 

OAuthとOIDC概要

# OAuth と OIDC の概要と目的の違い

## OAuth 2.0 とは

OAuth は、リソースの所有者が、リソースへのアクセス権を第三者に与える仕組み。

RFC 6749 では、OAuth 2.0 を以下のように定義している:

> OAuth 2.0 は、サードパーティーアプリケーションによる HTTP サービスへの限定的なアクセスを可能にする認可フレームワークである

### 具体例:写真印刷サービス

自分の写真をオンラインアルバムサービスで管理している場合を考える。このアルバムサービスとは別の印刷サービスに写真を印刷してもらいたい場合、従来であれば印刷サービスにアルバムサービスのパスワードを教え、自分の代わりに写真にアクセスしてもらう必要があった。これは意図した範囲を超えたアクセスを許可してしまう危険な行為である。写真以外にも、メールや連絡先など、他の個人情報にまでアクセスされてしまう可能性がある。

OAuth 2.0 を使用すれば、印刷サービスに対して自分の写真を見る権限のみを与えることが実現できる。

#### アクセストークンとスコープ

具体的には、

快速启动或切换思源笔记 PWA 应用

#Requires AutoHotkey v2.0

/**
 * 快速启动或切换思源笔记 PWA (通用路径版)
 * 
 * 功能:
 * 1. 自动定位:使用 A_AppData 变量自动匹配当前用户的 AppData 目录。
 * 2. 精准识别:排除浏览器后缀,只针对独立的 PWA 窗口操作。
 * 3. 智能切换:实现“未运行则启动,已运行则激活,已激活则最小化”的一键循环。
 */
ToggleSiYuanPWA() {
    ; --- 配置区域 ---
    ; 窗口匹配特征:标题含“思源笔记”,类名为 Chromium 类
    targetTitle := "思源笔记 ahk_class Chrome_WidgetWin_1"
    
    ; 排除特征:排除包含“Cent Browser”后缀的窗口(浏览器标签页)
    excludeTitle := "Cent Browser" 

    ; 动态生成快捷方式路径:
    ; A_AppData 指向 C:\Users\用户名\AppData\Roamin

Script to create New Laravel project


#!/usr/bin/env bash

set -e

echo "=== New Laravel Site Setup ==="

# --- Prompts ---
read -p "GitHub repo URL (SSH or HTTPS): " REPO_URL
read -p "Domain name (example: lockedin.vip): " DOMAIN
read -p "Database name: " DB_NAME
read -p "Database user: " DB_USER
read -s -p "Database password: " DB_PASS
echo

SITE_ROOT="/var/www/$DOMAIN"
NGINX_AVAILABLE="/etc/nginx/sites-available/$DOMAIN"
NGINX_ENABLED="/etc/nginx/sites-enabled/$DOMAIN"

# --- Clone repo ---
echo "Cloning repository..."
cd ~
REPO

SSM CLI One-liners

$instanceId="i-0123456789abcdef0"; aws ssm start-session --target $instanceId --document-name AWS-StartPortForwardingSession --parameters 'localPortNumber=55678,portNumber=3389'

propmt for mastra.ai agency

can you tell me how to create a design development agency with the mastra.ai typescript framework, creatoing a project manager, a deep research agent, a design agent, a frontend agent, a backend agent, a qa agent and a team to help me find/onboard new clints, use nextjs for the frontend and mongodb for data perisstance, use tailwindcss for styles and shadcnui for components

アプリ内ブラウザでconsoleを表示する

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>JSONPlaceholder API Test</title>
    <script src="https://cdn.jsdelivr.net/npm/eruda"></script>
    <script>eruda.init();</script>
</head>
<body>
    <button onclick="fetchPosts()">投稿を取得</button>
    <div id="result"></div>

    <script>
        async function fetchPosts() {
            try {
                const response = await fetch('https://jsonplaceholder.typicode.com/posts/1');
                const post = await response.

Fresh CC Fullz Bank Logs Paypal Transfer WU Transfer Bug MoneyGram CashApp Zelle Venmo Apple Pay Skrill Transfer ATM Cards.



Scattered Spider (and allied group Scattered LAPSUS$ Hunters) 🌎 


VERIFIED CARDER SELLING WU,BANK,PAYPAL,CASHAPP,SKRILL TRANSFER BANK LOGS,DUMPS+PIN,CLONED CARDS

Telegram: JeansonTooL SELL CCV CANADA FULLZ FRESH SSN DOB WITH DL LIVE MAIL PASSWORD OFFICE365 PAYPAL

Telegram: JeansonTooL CVV,Fullz,Dumps,PayPal Debit/Credit Card,CashApp, Western Union, Transfer,ATM Clone Cards!!

Telegram: JeansonTooL SELL CVV FULLZ INFO GOOD USA-UK-CA-AU-INTER,PASS VBV/BIN/DOB

Telegram: JeansonTooL : Sell Dum

Hamburger Menu BETA!!!!

document.addEventListener('DOMContentLoaded', function () {
  const modal = document.getElementById('tm-dialog-mobile');
  const hamburgers = document.querySelectorAll('.uk-navbar-toggle'); 

  console.log('Modal gefunden:', modal);
  console.log('Hamburger-Menüs gefunden:', hamburgers);

  if (!modal) {
    console.error('Modal mit ID "tm-dialog-mobile" nicht gefunden!');
    return;
  }

  if (hamburgers.length === 0) {
    console.error('Keine Hamburger-Menüs mit Klasse ".uk-navbar-toggle" ge

Laravel installation permissions + DB


cd into your project directory

sudo chown -R yourusername:yourusername .
sudo chown -R www-data:www-data storage bootstrap/cache
sudo chmod -R 775 storage bootstrap/cache


Laravel is owned by your deploy user (you), need to be able to edit:
git pull
composer install
npm install
npm run build
php artisan migrate
php artisan cache:clear
edit .env


Web server needs to be able to :
write logs
write cache
write compiled views
write sessions
serve files from public/


Laravel officially expects th

960. Delete Columns to Make Sorted III

You are given an array of n strings strs, all of the same length. We may choose any deletion indices, and we delete all the characters in those indices for each string. For example, if we have strs = ["abcdef","uvwxyz"] and deletion indices {0, 2, 3}, then the final array after deletions is ["bef", "vyz"]. Suppose we chose a set of deletion indices answer such that after deletions, the final array has every string (row) in lexicographic order. (i.e., (strs[0][0] <= strs[0][1] <= ... <= strs[0][strs[0].length - 1]), and (strs[1][0] <= strs[1][1] <= ... <= strs[1][strs[1].length - 1]), and so on). Return the minimum possible value of answer.length.
/**
 * @param {string[]} strs
 * @return {number}
 */
var minDeletionSize = function(strs) {
    const n = strs.length;        // number of rows
    const m = strs[0].length;     // number of columns (all strings same length)

    // dp[i] = length of the longest valid chain ending at column i
    const dp = Array(m).fill(1);

    // Helper: check if column j can come before column i
    // This requires strs[row][j] <= strs[row][i] for EVERY row
    function isValid(j, i) {
        for (let row