Skip to content

Instantly share code, notes, and snippets.

View freyamade's full-sized avatar
🏳️‍🌈
hi c:

freya freyamade

🏳️‍🌈
hi c:
View GitHub Profile
@ianklatzco
ianklatzco / discord-bot-post-message.py
Created December 29, 2016 02:29
sends messages to a discord channel using a bot via http POST
# post a message to discord api via a bot
# bot must be added to the server and have write access to the channel
# you may need to connect with a websocket the first time you run the bot
# use a library like discord.py to do so
import requests
import json
channelID = "your_id_goes_here" # enable dev mode on discord, right-click on the channel, copy ID
botToken = "your_token_here" # get from the bot page. must be a bot, not a discord app
@Strum355
Strum355 / README.md
Created March 12, 2019 23:25
Noto Sans Installer and Config Generator

Noto Sans Config Generator

Downloads and installs all Noto Sans fonts and prints a config section to be added to your ~/.config/fontconfig/fonts.conf

How to use

  1. Run the download.sh file
  2. Copy the output XML and pasted it before the final closing </fontconfig> tag in your ~/.config/fontconfig/fonts.conf file

Flags