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
""" | |
title: FLUX Schnell Manifold Function for Black Forest Lab Image Generation Models | |
author: Balaxxe, credit to mobilestack and bgeneto | |
author_url: https://github.com/jaim12005/open-webui-flux-1.1-pro-ultra | |
funding_url: https://github.com/open-webui | |
version: 1.5 | |
license: MIT | |
requirements: pydantic>=2.0.0, aiohttp>=3.8.1 | |
environment_variables: | |
- REPLICATE_API_TOKEN (required) |
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
#!/bin/bash | |
# a wrapper for quick web-friendly video convertions using ffmpeg | |
# mostly intended to be used on macOS (hence videotoolbox hardware acceleration) | |
# info & updates: https://gist.github.com/deseven/f3dc4ae7141babeeac860a4305c34122 | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' | |
BLUE='\033[0;34m' |
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
# Very simple bot for Tap Ninja | |
# (https://store.steampowered.com/app/1891700/Tap_Ninja__Idle_game/) | |
# made by deseven, 2023 | |
# The bot will perform building/tech upgrades every 30 seconds and | |
# ascention every 40 minutes (could be adjusted, see RUN_TIME below), | |
# very helpful for getting enough elixir on later stages of the game. | |
# Prerequisites: | |
# - Windows (should be easily portable to other OS) |
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
#!/bin/bash | |
# insert your last.fm api key (can be obtained by creating an app here - https://www.last.fm/api/account/create) | |
# change output_file and artist_play_limit how you like | |
# you'll also need to install jq | |
# USAGE: | |
# cat artists.txt | ./tms-obscure-artists.sh | |
lastfm_api_key="" |
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
function varclear --description 'Remove duplicates from environment variable' | |
if test (count $argv) = 1 | |
set -l newvar | |
set -l count 0 | |
for v in $$argv | |
if contains -- $v $newvar | |
set count (math $count+1) | |
else | |
set newvar $newvar $v | |
end |
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
#!/bin/bash | |
# === bitbucket_user_commits_check === | |
# checks whether there are any commits for user since the last working day | |
# written by deseven, 2019 | |
# http://deseven.info | |
# bitbucket base URL | |
bitbucketURL="https://example.com" |
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
function fish_prompt --description 'Write out the prompt' | |
set laststatus $status | |
if not set -q __fish_prompt_hostname | |
set -g __fish_prompt_hostname (hostname) | |
end | |
set_color -b black | |
if test $laststatus -eq 0 | |
#printf "[%s$status%s] " (set_color -o green) (set_color normal) |
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
#!/bin/bash | |
# === bitbucket_commits_check === | |
# checks whether there are any commits in the provided repo (all branches) since the last working day | |
# written by deseven, 2019 | |
# http://deseven.info | |
# bitbucket base URL | |
bitbucketURL="https://example.com" |
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
#!/bin/bash | |
# your mattermost installation url | |
mattermost="https://example.com" | |
# bot token, get it in Integrations > Bot Accounts | |
token=abcdef123456 | |
# set to true for debug output | |
debug=false |
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
/* | |
Copyright (C) 2000 Daniel Ryde | |
Copyright (C) 2017 deseven <de7@deseven.info> | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public | |
License as published by the Free Software Foundation; either | |
version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, |
NewerOlder