View basic.py
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
# Sample script, you can code here and then 'Save As..' to another named file. | |
# Author: MyDiceBot | |
chance = 49.5 | |
multiplier = 2 | |
basebet = 0.00000001 | |
bethigh = False | |
nextbet = basebet | |
def dobet(event): |
View index.json
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
[ | |
{ | |
"name": "Basic Martingale", | |
"lang": "lua", | |
"author": "", | |
"url": "https://gist.github.com/mydicebot/155ca3c1ff54c6b6707d2dc869154da0" | |
} | |
] |
View basic_martingale.lua
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
chance = 49.5 | |
multiplier = 2 | |
basebet = 0.00000010 | |
bethigh = false | |
function dobet() | |
if profit >= 0.1 then | |
stop() | |
end | |
View workflow.sh
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
# Error before fixing: | |
# Xlib: extension "XInputExtension" missing on display ":10.0". | |
# Xlib: extension "XInputExtension" missing on display ":10.0". | |
#Find Atom / VS Code installation folder, e.g. /usr/share/atom or /usr/share/code | |
dpkg -L atom | |
dpgk -L visual-studio-code | |
#Find libxcb1 installation folder, e.g. /usr/lib/x86_64-linux-gnu/libxcb.so.1 | |
dpkg -L libxcb1 |