You: Redirect User to https://discordapp.com/api/oauth2/authorize
name | value |
---|---|
client_id | Your application's Client ID |
scope | A list of scopes, delimited by spaces |
redirect_uri | The uri to send the user after authorization |
import pulsectl | |
import gi | |
gi.require_version('Wnck', '3.0') | |
from gi.repository import Wnck, GLib | |
screen = Wnck.Screen.get_default() | |
screen.force_update() | |
width = screen.get_width() | |
pulse = pulsectl.Pulse('audio-window-shift') | |
sink = pulse.sink_list()[0] |
import sys | |
import threading | |
class DeathThread(threading.Thread): | |
kill_state = threading.Event() | |
def run(self): | |
sys.settrace(self.global_trace) |
Hi! Thank you for offering a PR for one of my open source libraries. I really | |
appreciate it, because in most cases, I have very little time to maintain them. | |
I often get PRs that lead to a back-and-forth between me and the contributor, | |
where I ask them to undo many of the changes they have made. To avoid this in | |
your case, or to at least give you an idea why I'm asking you to adapt your PR, | |
here are my criteria for accepting PRs. | |
Every PR should have one, and only one, unique goal. Your PR should make the | |
absolute minimum number of changes that are required to achieve this goal. |
<# | |
Prerequisites: PowerShell version 2 or above. | |
License: MIT | |
Author: Michael Klement <[email protected]> | |
DOWNLOAD, from PowerShell version 3 or above: | |
irm https://gist.github.com/mklement0/243ea8297e7db0e1c03a67ce4b1e765d/raw/Out-HostColored.ps1 | iex |
#!/usr/bin/env python | |
# coding: utf-8 | |
# You need PIL <http://www.pythonware.com/products/pil/> to run this script | |
# Download unifont.ttf from <http://unifoundry.com/unifont.html> (or use | |
# any TTF you have) | |
# Copyright 2011 Álvaro Justen [alvarojusten at gmail dot com] | |
# License: GPL <http://www.gnu.org/copyleft/gpl.html> | |
from image_utils import ImageText |
You: Redirect User to https://discordapp.com/api/oauth2/authorize
name | value |
---|---|
client_id | Your application's Client ID |
scope | A list of scopes, delimited by spaces |
redirect_uri | The uri to send the user after authorization |
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
#!/usr/bin/env python | |
# coding: utf-8 | |
# You need PIL <http://www.pythonware.com/products/pil/> to run this script | |
# Download unifont.ttf from <http://unifoundry.com/unifont.html> (or use | |
# any TTF you have) | |
# Copyright 2011 Álvaro Justen [alvarojusten at gmail dot com] | |
# License: GPL <http://www.gnu.org/copyleft/gpl.html> | |
from image_utils import ImageText |