# DeepSeek MOE
1. deepseek moe 发展:https://mp.weixin.qq.com/s?__biz=MzUxNzQ5MTExNw==&mid=2247493157&idx=1&sn=51c0e27a347dd3fe1ed868d87f667897&scene=21#wechat_redirect
function myFunction() {
return { name: "John", age: 30 };
}
type MyFunctionReturnType = ReturnType<typeof myFunction>;
// MyFunctionReturnType is now { name: string; age: number }
・[【PHP超入門】名前空間(namespace・use)について](https://qiita.com/7968/items/1e5c61128fa495358c1f)
# Docker mac no UI
#### Instalar docker
`brew install docker`<br>
`brew installa docker-compose`
#### Editar docker config
- nvim ~/.docker/config.json<br>
`"cliPluginsExtraDirs": [
"/opt/homebrew/lib/docker/cli-plugins"
]`
#### Instalar colima<br>
`brew install colima`<br>
`colima start --mount-type=virtiofs --mount=/Volumes/DataExt:w,~:w`
https://freestylefeet.com.au/products/flamingo-feet-silicone-toe-activators?variant=31268016980034
/**
* @param {number[]} arr
* @return {number}
*/
var lenLongestFibSubseq = function(arr) {
const n = arr.length;
if (n < 3) return 0;
const indexMap = new Map();
for (let i = 0; i < n; i++) {
indexMap.set(arr[i], i);
}
const dp = new Map();
let maxLength = 0;
// Iterate over all pairs (i, j) where i < j.
for (let j = 0; j < n; j++) {
for (let i = 0; i < j; i++) {
const x = arr[i];
const y = arr[j];
con
<!-- https://www.vuemastery.com/courses/component-design-patterns/one-object-to-rule-them-all -->
<!-- To heavy , to complicated, all props we dont need ...-->
<template>
<main>
<Component
v-for="content in apiResponse"
:key="content.id"
:is="content.type"
:article-title="content.title"
:article-content="content.body"
:ad-image="content.image"
:ad-heading="content.heading"
@click="content.type === 'NewsArticle' ? openArticle : openAd"
{% comment %}
Renders a product rating
Accepts:
- product: {Object} Product Liquid object (optional)
- classes: {String}
Usage:
{% render 'product-rating', product: product %}
{% endcomment %}
{%- assign reviews_metafield = product.metafields.reviews -%}
{%- if reviews_metafield.rating.value != blank -%}
{% liquid
assign rating_count = reviews_metafield.rating_count
assign rating_metafield = reviews_metafield.rating.value
assign rating = rating_meta
<footer class="position-relative">
<a href="#top" class="backtop-btn">
<div id="div_block-219-19294" class="ct-div-block"><img id="image-217-19294" alt="arrow-up" src="https://prettyagile.com.au/assets/images/arrow-up.png" class="ct-image"></div>
<div id="text_block-214-19294" class="ct-text-block">Back to Top</div>
</a>
<section id="footer" class="position-relative">
<div class="inner-wrapper page-container p-0 ">
<div class="news-letter-se
@echo off
set arg1=%1
set arg2=%2
echo Searching %arg1% ...
setlocal
rem change to the correct directory
cd /d %arg2%
rem count the files
dir /b %arg1% /s 2> nul | find "" /v /c > %temp%\count
set /p _count=<%temp%\count
rem cleanup
del %temp%\count
rem output the number of files
rem list the files
echo File Paths:
dir /b %arg1% /s
echo Total files found: %_count%
endlocal
pause
/**
* @param {number[]} nums
* @return {number}
*/
var maxAbsoluteSum = function(nums) {
// Initialize variables to store the max sum, current max, min sum, and current min
let maxSum = 0;
let currentMax = 0;
let minSum = 0;
let currentMin = 0;
// Iterate through each number in the array
for (let num of nums) {
// Update currentMax to be the maximum of the current number or the currentMax plus the current number
currentMax = Math.max(currentMax + n
# Building Robust LLM Applications with LangGraph's StateGraph
## Introduction
LangGraph is a framework for building stateful applications powered by language models. At its core is the `StateGraph` class, which allows you to create explicit state machines that can coordinate complex LLM-based workflows.
This tutorial will guide you through using `StateGraph` effectively while leveraging Python's type system through `Annotated` and `TypedDict` to create more robust applications.
## U
#!/bin/zsh --no-rcs
# Title: macOffboarding.sh
# Created By: HCS Technology Group
# Version: 2
# Creation Date: 02-10-2025
# Tested on macOS Version: macOS Sequoia
# Contact HCS: info@hcsonline.com
# Visit HCS: https://hcsonline.com
# Last Modified Date: 02-26-2025
# Modified By: Omer Ninyo
# Contact Omer Ninyo: ninyo@wediggit.co.il
################################################################################################################################################################
C:\Program Files\Mozilla Firefox>firefox --allow-downgrade
# NOT WORKING
import tkinter as tk
from tkinter import filedialog, messagebox
import os
def generate_srt(txt_file, time_length, time_space):
try:
with open(txt_file, 'r', encoding='utf-8') as file:
lines = [line.strip() for line in file if line.strip()]
srt_filename = os.path.splitext(txt_file)[0] + ".srt"
start_time = 0
def format_time(ms):
hours = ms // 3600000
minutes = (ms % 3600000) // 60000
seconds =
import re
import os
import tkinter as tk
from tkinter import filedialog, messagebox
def reverse_hebrew_text(line):
"""
Reverse Hebrew text but keep numbers and spaces in the correct position.
"""
# Regex pattern to capture Hebrew words separately from numbers
words = re.findall(r'[\u0590-\u05FF]+|\d+|.', line)
reversed_line = []
temp_hebrew = []
for word in words:
if re.match(r'[\u0590-\u05FF]+', word): # If it's a Hebrew word, store it
te