Skip to content

Instantly share code, notes, and snippets.

@abhiraaid
abhiraaid / Multi Model Conversation v2.py
Created June 25, 2026 23:10
this is a pipe for multi model conversation in openwebui. It's a modified version of https://openwebui.com/posts/multi_model_conversations_v2_pipe_3efd91e9
"""
title: Multi Model Conversations v2
author: Haervwe
author_url: https://github.com/Haervwe
funding_url: https://github.com/Haervwe/open-webui-tools
version: 2.9.2
required_open_webui_version: 0.8.1
"""
import logging
#Define the SDL mapping string
#use SDL2 Gamepad Tool https://generalarcade.com/gamepadtool/ to generate mapping
SDL_MAPPING="03000000632500002705000010010000,SHANWAN Game Controller for Android,platform:Linux,a:b0,b:b1,x:b3,y:b4,back:b10,start:b11,leftstick:b13,rightstick:b14,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a5,righttrigger:a4"
#Start the game by setting environment variable
env SDL_GAMECONTROLLERCONFIG="$SDL_MAPPING" wine your_game.exe
@abhiraaid
abhiraaid / gplay certification
Created August 18, 2023 12:52
waydroid gplay certification
ANDROID_RUNTIME_ROOT=/apex/com.android.runtime ANDROID_DATA=/data ANDROID_TZDATA_ROOT=/apex/com.android.tzdata ANDROID_I18N_ROOT=/apex/com.android.i18n sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"