Skip to content

Instantly share code, notes, and snippets.

🕶️
Working on a personal project

Taven daegontaven

🕶️
Working on a personal project
Block or report user

Report or block daegontaven

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@daegontaven
daegontaven / pyproject.toml
Created May 16, 2020
Poetry not installiing extras defined in dev-dependencies.
View pyproject.toml
[tool.poetry]
name = "fakelibrary"
version = "0.0.0"
license = "AGPL-3.0-only"
description = "A fake python libray."
authors = ["daegontaven <8206808+daegontaven@users.noreply.github.com>"]
readme = "README.md"
repository = "https://github.com/daegontaven/fakelibrary"
documentation = "https://fakelibrary.readthedocs.io"
keywords = ["poetry", "library", "fake", "system"]
View qutepart-test-result.log
(3.7.2) meredith@taylor:~/PycharmProjects/qutepart/tests$ python run_all.py
Suite created
test_1 (test_actions.Print) ... skipped 'Does not work'
test_completion_enabled (test_api.Completion) ... ok
test_threshold (test_api.Completion) ... ok
test_1 (test_api.DetectSyntax) ... qutepart: Indenter 'ada' is not finished yet. But you can do it!
ok
test_1 (test_api.InsertText) ... ok
test_2 (test_api.InsertText) ... ok
test_3 (test_api.InsertText) ... ok
View intro-progress-bar-2.py
import sys
import time
from PyQt5.QtCore import QThread, pyqtSignal
from PyQt5.QtWidgets import (QApplication, QDialog,
QProgressBar, QPushButton)
TIME_LIMIT = 100
class External(QThread):
View intro-progress-bar-1.py
import sys
import time
from PyQt5.QtWidgets import (QApplication, QDialog,
QProgressBar, QPushButton)
TIME_LIMIT = 100
class Actions(QDialog):
"""
View config.py
LOG_FORMAT = "%(asctime)s %(name)-18s %(levelname)-8s %(message)s"
DATE_FORMAT = "[%Y-%m-%d %H:%M:%S %z]"
MAIN_FIELD_STYLES = {
'asctime': {
'color': 'green'
},
'levelname': {
'color': 'black',
'bold': True
@daegontaven
daegontaven / install-output.md
Last active Feb 2, 2019
Install output for pipenv bug report as seen in https://github.com/pypa/pipenv/issues/3497
View install-output.md
Installing dependencies from Pipfile.lock (cbf103)…
Installing 'aiohttp'
$ ['/home/meredith/.local/share/virtualenvs/Orator-jO5XcFKu/bin/pip', 'install', '--verbose', '--upgrade', '--no-deps', '-r', '/tmp/pipenv-4f6wyya9-requirements/pipenv-nkxmmovu-requirement.txt', '-i', 'https://pypi.org/simple', '--require-hashes']
Installing 'async-timeout'
$ ['/home/meredith/.local/share/virtualenvs/Orator-jO5XcFKu/bin/pip', 'install', '--verbose', '--upgrade', '--no-deps', '-r', '/tmp/pipenv-4f6wyya9-requirements/pipenv-94x7sqjj-requirement.txt', '-i', 'https://pypi.org/simple', '--require-hashes']
Installing 'cffi'
$ ['/home/meredith/.local/share/virtualenvs/Orator-jO5XcFKu/bin/pip', 'install', '--verbose', '--upgrade', '--no-deps', '-r', '/tmp/pipenv-4f6wyya9-requirements/pipenv-q3umrtx0-requirement.txt', '-i', 'https://pypi.org/simple', '--require-hashes']
Installing 'chardet'
$ ['/home/meredith/.local/share/virtualenvs/Orator-jO5XcFKu/bin/pip', 'install', '--verbose', '--upgrade', '--no-deps', '-r', '/tmp/pipen
@daegontaven
daegontaven / vagrant-values.log
Created Jan 18, 2019
Output of `vagrant config --list`
View vagrant-values.log
git_user Your git/Gerrit username
Enter 'anonymous' for anonymous access, leave blank to manage it yourself
Current value: taven
vagrant_ram Amount of RAM (in MB) allocated to the guest VM
Specify 'auto' to automatically allocate 1/4 of your system's memory
Current value: 1536 (default)
vagrant_cores CPU cores allocated to the guest VM
All of your host system's cores are allocated by default.
@daegontaven
daegontaven / gcp-specs.log
Created Jan 18, 2019
GCP Instance Specifications
View gcp-specs.log
wiki-debug
description: Computer
product: Google Compute Engine
vendor: Google
serial: GoogleCloud-808A9ACA519E93147E70C3753FB65C86
width: 64 bits
capabilities: smbios-2.4 dmi-2.4 smp vsyscall32
configuration: boot=normal uuid=808A9ACA-519E-9314-7E70-C3753FB65C86
*-core
description: Motherboard
@daegontaven
daegontaven / discord-ban-bot.py
Last active Jan 21, 2020
Script to ban members of a discord servers.
View discord-ban-bot.py
#!/usr/bin/python
"""
# WARNING!
# DO not use this script for malicious purposes!
# Author: daegontaven - taven#0001
# License: Public Domain
# How to Install
1 - Download Python 3.7 or 3.6 : https://www.python.org/downloads/
2 - Run this command : python3 -m pip install discord.py
@daegontaven
daegontaven / error_handler.py
Created Mar 24, 2018 — forked from EvieePy/error_handler.py
Simple Error Handling for ext.commands - discord.py
View error_handler.py
import traceback
import sys
from discord.ext import commands
import discord
"""
If you are not using this inside a cog, add the event decorator e.g:
@bot.event
async def on_command_error(ctx, error)
You can’t perform that action at this time.