Easily resolve Google Account and Drive integration issues on KDE with this simple script.
- Download the script:
The scriptfix_kde_google_integration.shis located alongside this README. Download it to your system.
Important Note!
Doing this requires running a script inside Discord, historically Discord has allowed these perfectly fine but it was for advanced people only and Discod discovered non-advanced users were copying and pasting random scripts people gave them which ended up being malicious and harmful to their account.
Discord has since blocked access to scripts unless you enable a hidden setting. The script below is open source and commented. Anyone is welcome to verify the legitimacy of it. It's very simple in how it works. However if you proceed further and enable custom scripts, I highly reccomend to disable it afterwards unless you know what you are doing. There's a reason Discord disabled this feature, don't even run scripts without knowing what they do first.
Sometimes while installing a new packages in Python we may get the following error:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
In this tiny note, you can get the direct installer for the Microsoft Visual C++ Build Tools 14.0 and you can make an offline installer. Therefore, you can use it on a different computer
Before do anything, install or upgrade the Setuptools Python package. It contain compatibility improvements and add automatic use of compilers [source]
| import os | |
| import time | |
| import requests | |
| from pypresence import Presence | |
| def main(): | |
| API_KEY = os.environ["WEATHERBIT_API_KEY"] # get a key at https://www.weatherbit.io/account/create | |
| CLIENT_ID = 704435320808276108 |
How to install Ubuntu Linux on an Acer Spin 1 SP111-32N
The first thing you encounter is how to get into the BIOS. Hold down the little blue Fn key, and press F2. If you do this as soon as you press the power button, then keep pressing F2 a lot, it gets into the BIOS reliably.
In the BIOS, you don’t need to change the Secure Boot settings (yet). Just remember that you have to hold down the little blue Fn key to change the boot order with F5 and F6.
The live USB should boot up just fine. Do not select “Install ubuntu” from the GRUB menu. Let the default option start up, “Try ubuntu without installing.”
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>A simple clock</title> | |
| </head> | |
| <body translate="no" > |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "strconv" | |
| "strings" |
| import discord | |
| from discord.ext import commands | |
| import sys, traceback | |
| """This is a multi file example showcasing many features of the command extension and the use of cogs. | |
| These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic | |
| understanding and platform for creating your own bot. | |
| These examples make use of Python 3.6.2 and the rewrite version on the lib. |
| {% assign relBase = '' %} | |
| {% assign tempDepth = page.url | append: 'hackish-solution' | split: '/' | size | minus: 2 %} | |
| {% for i in (1..tempDepth) %} | |
| {% assign relBase = relBase | append: "../" %} | |
| {% endfor %} | |
| {% if relBase == '' %} | |
| {% assign relBase = './' %} | |
| {% endif %} |
| # | |
| # Comic Chat fixer MITM proxy: fixes Comic Chat to (sort of) work with modern | |
| # IRC servers. Tested with Microsoft Chat 2.5 on Windows XP, 8 and 10 | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, |