Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
| Action | Windows/Linux | macOS |
|---|---|---|
| New window | Ctrl+Shift+N | Cmd+N |
| Close window | Alt+F4 | Cmd+Shift+W |
| canon_map = { | |
| "a": ["Ã", "å", "Ă", "ą", "ƛ", "ǟ", "ɑ", "Δ", "Λ", "ά", "α", "λ", "Д", "а", "Թ", "ค", "მ", "ል", "Ꭿ", "Ꮧ", "ᕱ", "ᗅ", "ᗩ", "ᴀ", "ᴬ", "ᵃ", "ₐ", "₳", "⍺", "ⓐ", "卂", "ꁲ", "ꋫ", "ꋬ", "ꍏ", "ꪖ", "a", "ム", "𝐚", "𝑎", "𝒂", "𝒶", "𝓪", "𝔞", "𝕒", "𝖆", "𝖺", "𝗮", "𝘢", "𝙖", "𝚊", "𝛂", "𝛼", "𝜶", "𝝰", "𝞪", "🄰", "🅐", "🅰", "🇦\u200c",], | |
| "b": ["ß", "Ɓ", "Ƅ", "ɓ", "ɮ", "ʙ", "β", "ϐ", "Ϧ", "Б", "Ь", "б", "в", "ҍ", "Յ", "฿", "๒", "๖", "Ⴆ", "ჩ", "ც", "ጌ", "Ꮟ", "Ᏸ", "ᑲ", "ᖯ", "ᗷ", "ᙘ", "᥇", "ᴮ", "ᵇ", "ⓑ", "♭", "乃", "ꃃ", "ꃲ", "ꃳ", "ꋰ", "ꌃ", "ꍗ", "ꪉ", "b", "𐒈", "𝐛", "𝑏", "𝒃", "𝒷", "𝓫", "𝔟", "𝕓", "𝖇", "𝖻", "𝗯", "𝘣", "𝙗", "𝚋", "🄱", "🅑", "🅱", "🇧\u200c",], | |
| "c": ["¢", "ç", "Ć", "Č", "Ƈ", "ƈ", "ȼ", "ς", "ϲ", "с", "Շ", "८", "૮", "ე", "ᄃ", "ር", "ፈ", "Ꮯ", "Ꮳ", "ᑕ", "ᑢ", "ᑤ", "ᝯ", "ᥴ", "ᨶ", "ᴄ", "ᶜ", "₡", "₵", "ℂ", "ⅽ", "ⓒ", "☾", "ⲥ", "ㄈ", "匚", "ꀯ", "ꇃ", "ꉓ", "ꉔ", "ꏳ", "ꏸ", "꒝", "ꮯ", "c", "𐐽", "𐒨", "𝐜", "𝑐", "𝒄", "𝒸", "𝓬", "𝔠", "𝕔", "𝖈", "𝖼", "𝗰", "𝘤", "𝙘", "𝚌", "🄲", "🅒", "🅲", "🇨\u200c",], | |
| "d": ["Ð", "Ď", "ď", "Đ", "Ɗ", " |
These are the breaking changes of pycord version 2.0. This gist is copied from breaking-changes-dpy.md and will be maintained for pycord.
"Breaking change" includes:
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: gray; icon-glyph: magic; | |
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: green; icon-glyph: magic; | |
| // dm Klopapier & Mehl Widget | |
| // | |
| // Copyright (C) 2020 by marco79 <marco79cgn@gmail.com> | |
| // |
| import discord | |
| from discord.ext import commands | |
| from discord.errors import Forbidden | |
| """This custom help command is a perfect replacement for the default one on any Discord Bot written in Discord.py! | |
| However, you must put "bot.remove_command('help')" in your bot, and the command must be in a cog for it to work. | |
| Original concept by Jared Newsom (AKA Jared M.F.) | |
| [Deleted] https://gist.github.com/StudioMFTechnologies/ad41bfd32b2379ccffe90b0e34128b8b | |
| Rewritten and optimized by github.com/nonchris |
Sometimes it is useful to route traffic through a different machine for testing or development. At work, we have a VPN to a remote facility that we haven't bothered to fix for routing, so the only way to access a certain machine over that VPN is via an SSH tunnel to a machine that is reachable over the VPN. Other times, I have used this technique to test internet-facing requests against sites I am developing. It is pretty easy, and if you don't use firefox regularly, you can treat Firefox as your "Proxy" browser and other browsers can use a normal configuration (Although you can also configure an entire system to use the proxy, other articles exists that discuss this potential).
| 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. |
| import logging | |
| import discord | |
| from discord import app_commands | |
| from discord.ext import commands | |
| LOGGER: logging.Logger = logging.getLogger(__name__) |
I just put the finishing touches on my Raspberry Pi 3 emulation machine running RetroArch. I was not a huge fan of RetroPie due to the reliance on Emulation Station - more moving parts meant that there were more things that could potentially break. I just wanted something that would run raw RetroArch, no frills.
This tutorial is mostly recreated from memory and was most recently tested with a Raspberry Pi 3 running Raspbian Stretch and RetroArch 1.7.7. If there is a mistake or a broken link, PLEASE message me and I will fix it.
I used Raspbian Stretch Lite from this page. Write the image to your SD card using something like Win32 Disk Imager, or if you're using OSX/Linux follow a tutorial on how to write the image using dd.