Skip to content

Instantly share code, notes, and snippets.

@DolphinOfficial
DolphinOfficial / PostShutdownFullLog.txt
Created February 7, 2025 03:12
Text file created by Roblox
-- AH POST-SERVER LOGS --
-- ServerID: 53b968d6-c9a2-41ad-bec2-b72fbce14b10
-- Server started: February 07, 2025 02:46 AM UTC | Server uptime: 1477 seconds
------------------ LOADB LOGS ------------------
{
}
# taken from Ollama discord users
Ollama Cheat Sheet: Use Cases and Commands
Here is a cheat sheet of Ollama commands and their corresponding use cases, based on the provided sources and our conversation history.
Basic Commands
ollama run [model_name]: This command starts an interactive session with a specific model. For example, ollama run llama2 starts a conversation with the Llama 2 7b model.
ollama pull [model_name]: Use this to download a model from the Ollama registry. Example: ollama pull llama2-uncensored downloads the uncensored variant of Llama 2.
from typing import TypedDict, Literal, Optional
from langgraph.graph import StateGraph, END
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.messages import HumanMessage, AIMessage
from langchain_openai import ChatOpenAI
from pydantic import BaseModel, ValidationError
# Define the state structure with retry counter
class AgentState(TypedDict):
messages: list
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 7, 2025 03:11
mpvnet.install v5.4.9.20220427 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1596741959-743918983-2523237570-1000</user>
<keys>
<key installerType="InnoSetup" displayName="mpv.net version 5.4.9.0" displayVersion="5.4.9.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9AA2B100-BEF3-44D0-B819-D8FC3C4D557D}}_is1</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\mpv.net\]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\mpv.net\unins000.exe" /SILENT]]></UninstallString>
@zsluedem
zsluedem / fkZJErDr_400x400.png
Last active February 7, 2025 03:54
luban holesky eigenlayer info
fkZJErDr_400x400.png
@hinananoha
hinananoha / donedodonebar.sh
Created February 7, 2025 03:11
無限 done do done 酒場
#!/bin/bash
function trap_sigint() {
echo -n "酒場"
echo ""
echo "$(( i / 2 )) Beer and Gyoza."
if [ $(( i % 2 )) -eq 0 ]; then
echo "帰宅成功"
else
echo "帰宅失敗"
@lithium323
lithium323 / erc4337_proposed_tables.md
Last active February 7, 2025 03:11
Proposed account abstraction data tables for tx = 0x85dc9e8463b762edcd134a885a8575ed5c6ab0484223ff33856bb3fec838c552

UserOperationEvent

A table that has one row per user operation event.

ctx.client.sql(f"""
    SELECT * FROM {user_ops} 
    WHERE transaction_hash = '0x85dc9e8463b762edcd134a885a8575ed5c6ab0484223ff33856bb3fec838c552'
    ORDER BY log_index
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 7, 2025 03:10
fs-uae v3.1.66 - Passed - 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\fs-uae\fs-uae.nupkg" checksum="6BF1118911BFCCC2757884E5A083A00B" />
<file path="C:\ProgramData\chocolatey\lib\fs-uae\fs-uae.nuspec" checksum="5C5136AC92D24BD99F4928566A36882A" />
<file path="C:\ProgramData\chocolatey\lib\fs-uae\FS-UAE_3.1.66_Windows_x86-64.zip.txt" checksum="50105CBD04B2F695560A6572F77FB37F" />
<file path="C:\ProgramData\chocolatey\lib\fs-uae\tools\chocolateyinstall.ps1" checksum="EE4703F7E22F74A4688A93989F0E4F49" />
<file path="C:\ProgramData\chocolatey\lib\fs-uae\tools\LICENSE.txt" checksum="72DC172A7255A365385A111C6C312077" />
<file path="C:\ProgramData\chocolatey\lib\fs-uae\tools\VERIFICATION.txt" checksum="4A44723F1D3DA295829AA5F6C0BD792E" />
</files>
@choco-bot
choco-bot / Install.txt
Created February 7, 2025 03:08
voxengo-crtiv-reverb-2 v3.1 - Passed - Package Tests Results
2025-02-07 03:07:21,324 2360 [DEBUG] - XmlConfiguration is now operational
2025-02-07 03:07:21,476 2360 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-07 03:07:21,476 2360 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-07 03:07:21,476 2360 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-07 03:07:21,476 2360 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-02-07 03:07:21,495 2360 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-07 03:07:21,495 2360 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-02-07 03:07:21,495 2360 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-07 03:07:21,495 2360 [DEBUG] - Adding new typ
@squeedee
squeedee / common.go
Created February 7, 2025 03:07
intrinsic scalar typed json/yaml in golang
package api
import (
"encoding/json"
"fmt"
)
// Value can store either a string or float64 value
type Value struct {
stringValue *string