Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
mydicebot.com

mydicebot

🏠
mydicebot.com
View GitHub Profile
@mydicebot
mydicebot / basic.py
Last active Apr 28, 2020
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):
View index.json
[
{
"name": "Basic Martingale",
"lang": "lua",
"author": "",
"url": "https://gist.github.com/mydicebot/155ca3c1ff54c6b6707d2dc869154da0"
}
]
@mydicebot
mydicebot / basic_martingale.lua
Last active Apr 2, 2020
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 Aug 15, 2020
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
You can’t perform that action at this time.