Skip to content

Instantly share code, notes, and snippets.

Avatar
😀
Working hard

FilBot3 FilBot3

😀
Working hard
View GitHub Profile
@FilBot3
FilBot3 / bottles_3.1.15_x86_64_with_chardonnay-6.11_not_installing_Qt5_and_d3d11_dlls.log
Created Jun 29, 2021
Bottles v3.1.15 with Chardonnay 6.11 installing DriveThruRPG Library Client not getting the Qt5 or d3d11 DLLs like vanilla Wine or Steam+Proton
View bottles_3.1.15_x86_64_with_chardonnay-6.11_not_installing_Qt5_and_d3d11_dlls.log
➜ Downloads ./Bottles-3.1.15-x86_64.AppImage
Gtk-Message: 16:35:15.626: Failed to load module "appmenu-gtk-module"
2021-06-29 16:35:16 INFO: Connection status: online …
2021-06-29 16:35:17 INFO: Runners path doens't exist, creating now.
2021-06-29 16:35:17 INFO: Bottles path doens't exist, creating now.
2021-06-29 16:35:17 INFO: Dxvk path doens't exist, creating now.
2021-06-29 16:35:17 INFO: Temp path doens't exist, creating now.
2021-06-29 16:35:17 WARNING: No dxvk found.
2021-06-29 16:35:17 INFO: Connection status: online …
2021-06-29 16:35:17 INFO: Connection status: online …
@FilBot3
FilBot3 / Steam-Proton-GE-6.8-2_Necromunda-Hired-Gun_Fails_to_install_ue4_vcredist2015.log
Created Jun 1, 2021
Steam+Proton-GE-6.8-2 trying to play Necromunda Hired Gun failing to install vcredist2015 for UE4 prechecks.
View Steam-Proton-GE-6.8-2_Necromunda-Hired-Gun_Fails_to_install_ue4_vcredist2015.log
[011C:0120][2021-05-31T20:56:20]i001: Burn v3.8.1128.0, Windows v6.1 (Build 7601: Service Pack 1), path: Z:\home\filbot\.var\app\com.valvesoftware.Steam\.local\share\Steam\steamapps\common\Necromunda Hired Gun\Engine\Extras\Redist\en-us\UE4PrereqSetup_x64.exe, cmdline: ''
[011C:0120][2021-05-31T20:56:20]i000: Setting string variable 'WixBundleLog' to value 'C:\users\steamuser\Temp\UE4_Prerequisites_(x64)_20210531205620.log'
[011C:0120][2021-05-31T20:56:20]i000: Setting string variable 'WixBundleOriginalSource' to value 'Z:\home\filbot\.var\app\com.valvesoftware.Steam\.local\share\Steam\steamapps\common\Necromunda Hired Gun\Engine\Extras\Redist\en-us\UE4PrereqSetup_x64.exe'
[011C:0120][2021-05-31T20:56:20]i000: Setting string variable 'WixBundleName' to value 'UE4 Prerequisites (x64)'
[011C:0120][2021-05-31T20:56:20]i100: Detect begin, 9 packages
[011C:0120][2021-05-31T20:56:20]i000: Setting string variable 'NETFRAMEWORK40' to value '1'
[011C:0120][2021-05-31T20:56:20]i000: Setting string variable 'Netfx20Vers
@FilBot3
FilBot3 / tmux.conf
Last active Mar 13, 2021
My tmux.conf
View tmux.conf
# Phillip tmux Configuration
# Change the prefix key to C-a
set-option -g prefix C-a
# Remove the <C-b> binding.
unbind-key C-b
# This sends the <C-a> combo after doing <C-a> + <C-a>
bind-key C-a send-prefix
@FilBot3
FilBot3 / poetry_failing_to_install_buildbot.sh
Created Jan 19, 2021
Poetry v1.1.4 failing to install Buildbot 2.10.0 with TLS and the standalone package. However, Pip can do it just fine.
View poetry_failing_to_install_buildbot.sh
╭─filbot@oryx-pop ~/Documents/Development/Buildbot
╰─➤ pip install buildbot 127 ↵
Collecting buildbot
Downloading buildbot-2.10.0-py3-none-any.whl (879 kB)
|████████████████████████████████| 879 kB 9.8 MB/s
Collecting sqlalchemy>=1.2.0
Downloading SQLAlchemy-1.3.22-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 59.0 MB/s
Collecting zope.interface>=4.1.1
Downloading zope.interface-5.2.0-cp38-cp38-manylinux2010_x86_64.whl (244 kB)
@FilBot3
FilBot3 / Python_Learning_Path.md
Last active Jan 20, 2021
A guided learning path for Python. Doesn't aim to teach directly, but guide you to learning on your own.
View Python_Learning_Path.md

Python Learning Path

Overiew

This is a set of links to documentation that I used to learn Python and appreciate what it does.

Python Runtime Managers

Linux/MacOS

@FilBot3
FilBot3 / azdo.py
Created Nov 2, 2020
A generic REST API Client for Azure DevOps.
View azdo.py
# -*- coding: utf-8 -*-
"""Azure DevOps REST API Client
A personally developed REST API Client for Azure DevOps.
.. _Azure DevOps REST API Documentation:
https://docs.microsoft.com/en-us/rest/api/azure/devops/
"""
import base64
@FilBot3
FilBot3 / create_service_principal.py
Created Oct 23, 2020
Create a Service Principal using Python (may use the azure-cli as well.)
View create_service_principal.py
#!/usr/bin/env python
"""Create service principals with the azure-cli, for now.
Once I figure out the Python Library or the REST API, I'll use that.
"""
import argparse
import json
import logging
import subprocess
@FilBot3
FilBot3 / azure_devops_python_api_example.py
Last active Oct 2, 2020
A better formatted example, in my opinon, of the Azure DevOps REST API Example - https://github.com/microsoft/azure-devops-python-api
View azure_devops_python_api_example.py
#!/usr/bin/env python
"""List and Sort Groups in Azure DevOps Project
.. _Azure DevOps Python API:
https://github.com/microsoft/azure-devops-python-api
"""
import configparser
import logging
@FilBot3
FilBot3 / run_typora_in_fedora_toolbox.sh
Created Sep 20, 2020
The packages installed to get Typora to work inside of a Fedora Toolbox container on Fedora Silverblue.
View run_typora_in_fedora_toolbox.sh
#!/usr/bin/env bash
# I had to download the Typora electron app from their home page: https://typora.io
# Then get the Linux version that is a tar.gz. Place it in the location being called below
# and then also install these packages inside of the toolbox you're using.
sudo dnf install -y \
nss \
libX11 \
libX11-xcb \
libXcomposite \
@FilBot3
FilBot3 / 00_README.md
Last active Sep 15, 2020
2020-09-15 Fedora 32 failing to start TigerVNC after update becasue of SELinux Policies
View 00_README.md

TigerVNC Server not starting from SystemD after Fedora32 Update on 2020-09-15

  • I edited the /etc/tigervnc/vncserver.users and added :1=filbot which is my user.
  • I copied /usr/lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@.service
  • I ran sudo systemctl start vncserver@:1.service
    • It seems to start according to the log, but then immediately dies.
    • ${HOME}/.vnc/${USER}:1.log doesn't seem to show anything related to the crash/termination.

However, I can run the TigerVNC server does run when I do /usr/libexec/vncserver :1. Obviously this isn't the desired operation/result. I don't understand why SystemD, SELinux, and TigerVNC aren't working together.