-
140 number of properties
-
190 number of functions
-
14 number of classes
Discover gists
This file contains 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 fs from 'node:fs' | |
function rgbGradient(startRgb, endRgb, steps) { | |
const gradient: Array<Array<number>> = [] | |
for (let i = 0; i < steps; i++) { | |
const r = Math.round( | |
startRgb[0] + ((endRgb[0] - startRgb[0]) * i) / (steps - 1) | |
) | |
const g = Math.round( | |
startRgb[1] + ((endRgb[1] - startRgb[1]) * i) / (steps - 1) |
This file contains 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
Log uploaded on Friday, February 7, 2025, 8:00:50 AM | |
Loaded mods: | |
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0) | |
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1) | |
Visual Exceptions(brrainz.visualexceptions)[mv:1.3.2.0]: CrossPromotion(1.1.2), VisualExceptions(1.3.2) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
Biotech(Ludeon.RimWorld.Biotech): (no assemblies) | |
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies) |
This file contains 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
{"last_node_id":41,"last_link_id":64,"nodes":[{"id":8,"type":"VAEDecode","pos":[1220,193],"size":[210,46],"flags":{},"order":11,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":52,"localized_name":"samples"},{"name":"vae","type":"VAE","link":61,"localized_name":"vae"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[9],"slot_index":0,"localized_name":"IMAGE"}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":39,"type":"VAELoader","pos":[1177.82568359375,290.211669921875],"size":[315,58],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[61],"slot_index":0,"localized_name":"VAE"}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["ae.safetensors"]},{"id":33,"type":"CLIPTextEncode","pos":[-77.02729034423828,295.1256408691406],"size":[422.84503173828125,164.31304931640625],"flags":{"collapsed":false},"order":5,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":58,"slot_index":0,"localized_name":"clip"}],"outputs":[{"n |
This file contains 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
type State = Int | |
type ST a = State -> (a, State) | |
newtype ST a = S (State -> (a, State)) | |
app :: ST a -> State -> (a, State) | |
app (S st) x = st x | |
-- To make ST a monad with a type variable, we first make ST a functor | |
instance Functor ST where |
This file contains 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
btkitty | |
知名的BT磁力搜索,资源很多 | |
http://cnbtkitty.com/ | |
备用域名:http://btkitty.fyi/ | |
idope.se | |
资源丰富的BT磁力搜索,并且大多数速度下载速度很快 | |
https://idope.se/ |
This file contains 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
// ==UserScript== | |
// @name Zoho Test Plugin | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Test zoho. | |
// @author You | |
// @include https://salesiq.zoho.in/vandrevalafoundation/* | |
// @grant GM_log | |
// ==/UserScript== |
Всестороннее объяснение работы Large Language Models (LLMs) – с дополнительными подробностями лекции
Large Language Models (LLMs), такие как ChatGPT, произвели революцию в области обработки естественного языка, позволяя машинам генерировать текст, похожий на человеческий, с впечатляющей плавностью и связностью. Это преобразование обусловлено их способностью понимать и генерировать текст в различных областях – от составления электронных писем и написания эссе до перевода языков и программирования. Однако их возможности имеют ограничения и потенциальные риски.
Ключевые моменты:
- Build AOSP in debug mode (maybe optional)
$ export TARGET_BUILD_TYPE=debug $ export HOST_BUILD_TYPE=debug
- Use
eng
product type, e.g.$ lunch aosp_oriole-eng
- After building and booting, run adb as root (maybe optional)
This file contains 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
[toolchain] | |
channel = "nightly" | |
targets = [ "wasm32-unknown-unknown" ] // Or whatever targets you want to use | |
profile = "minimal" |