Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
mydicebot.com

mydicebot

🏠
mydicebot.com
View GitHub Profile
@mydicebot
mydicebot / basic.py
Last active April 18, 2021 06:53
Basic Sample #MyDiceBot#
View basic.py
# 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):
@mydicebot
mydicebot / index.json
Last active March 29, 2020 06:01
index
View index.json
[
{
"name": "Basic Martingale",
"lang": "lua",
"author": "",
"url": "https://gist.github.com/mydicebot/155ca3c1ff54c6b6707d2dc869154da0"
}
]
@mydicebot
mydicebot / basic_martingale.lua
Last active April 2, 2020 07:29
Basic Martingale #MyDiceBot#
View basic_martingale.lua
chance = 49.5
multiplier = 2
basebet = 0.00000010
bethigh = false
function dobet()
if profit >= 0.1 then
stop()
end
@AlexZeitler
AlexZeitler / workflow.sh
Last active May 20, 2021 04:50
Run Atom / Visual Studio Code on Ubuntu via RDP
View workflow.sh
# 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