This file contains hidden or 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
# OBS Python Script to toggle a source or a source filter with Hotkeys | |
# Edit the bottom JSON defines to change (or add) the default F8 F9 keys | |
# tpruvot@github - February 2025 | |
# See https://github.com/upgradeQ/Streaming-Software-Scripting-Reference | |
# and https://docs.obsproject.com/reference-scenes | |
import obspython as S | |
def script_description(): | |
return "Script to toggle a (source) filter with Hotkeys." |
This file contains hidden or 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 urllib.request | |
import hexchat | |
import json | |
import time | |
__module_name__ = "Cryptowat.ch API query" | |
__module_version__ = "1.65" | |
__module_description__ = "Answer market price when you type /kraken or trigger !kraken !bitstamp !coinbase ..." | |
__author__ = "tpruvot" |
This file contains hidden or 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 urllib.request | |
import hexchat | |
import json | |
__module_name__ = "YiiMP API query" | |
__module_version__ = "1.2" | |
__module_description__ = "Report pool rate when you type /yiimp or trigger !yiimp" | |
__author__ = "tpruvot" | |
__url_api__ = "http://yiimp.ccminer.org/api/" |
This file contains hidden or 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 urllib.request | |
import hexchat | |
import json | |
__module_name__ = "Coinmarketcap API query" | |
__module_version__ = "2.2" | |
__module_description__ = "Say BTC price when you type /BTC or trigger !BTC" | |
__author__ = "tpruvot" | |
__url_cmc__ = "http://api.coinmarketcap.com/v1/ticker" |
This file contains hidden or 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
# To allow nvidia powermizer settings, we need to define dummy monitors for each card | |
# Edit the PCI BusId for each cards (lspci | grep VGA) | |
# Also, you need to dump an EDID file from your monitor | |
# Here is my dell.edid (2560x1440) | |
# it's stored in text, hexdump -C format, not binary: | |
# 00 ff ff ff ff ff ff 00 10 ac 7e 40 4c 54 41 41 | |
# 15 17 01 03 80 3c 22 78 ea 4b b5 a7 56 4b a3 25 | |
# 0a 50 54 a5 4b 00 81 00 b3 00 d1 00 71 4f a9 40 | |
# 81 80 d1 c0 01 01 56 5e 00 a0 a0 a0 29 50 30 20 |
This file contains hidden or 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
#include "common.h" | |
#include "blake2bcl.h" | |
#define tree0_ptr(heap, r) ((__global bucket0 *)(heap + r)) | |
#define tree1_ptr(heap, r) ((__global bucket1 *)(heap + r)) | |
uint32_t tree_bucket(tree t) | |
{ | |
const uint32_t bucketMask = ((1u<<BUCKBITS)-1); |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
// | |
// Generated by NVIDIA NVVM Compiler | |
// | |
// Compiler Build ID: UNKNOWN | |
// Driver | |
// Based on LLVM 3.4svn | |
// | |
.version 5.0 | |
.target sm_61, texmode_independent |
This file contains hidden or 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/sh | |
### BEGIN INIT INFO | |
# Provides: dcrd | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: dcrd daemon startup script | |
# Description: dcrd daemon startup script |
This file contains hidden or 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
# Name: autoload.pl | |
# Version: 1.2 | |
# Author: tpruvot@github | |
# Date: 2016-04-17 | |
# Description: Autoload plugins in addons sub folders, place this script in HexChat\addons | |
use Xchat qw (:all); | |
register('AutoLoad', '1.2', 'Plugin Auto Loader', \&auto_unload); |
This file contains hidden or 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
# Name: slack_users.pl | |
# Version: 2.3 | |
# Author: https://gist.github.com/tpruvot/ | |
# Date: 2016-10-18 | |
# Description: Change the display of Slack channel messages, display them like normal users | |
# Version History | |
# 1.0 2016-04-16 Initial Version | |
# 1.1 2016-04-17 Keep message type (highlight/action) | |
# 1.3 2016-04-17 Nick autocompletion + keep users case |
NewerOlder