# Install dependencies
brew install cmake enchant gstreamermm gtk+3 libnotify libsecret libsoup webp
git clone git@github.com:hunspell/hyphen.git
cd hyphen
autoreconf -fvi
./configure
make
make install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Auto Cookie Clicker | |
* Auto click cookies and golden cookies in the Cookie Clicker | |
* game found here: http://orteil.dashnet.org/cookieclicker/ | |
*/ | |
/** | |
* How to in Chrome: | |
* Open the browers and navigate to http://orteil.dashnet.org/cookieclicker/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
) | |
func main() { |
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests # dependency | |
url = "<your url>" # webhook url, from here: https://i.imgur.com/f9XnAew.png | |
# for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook | |
data = { | |
"content" : "message content", | |
"username" : "custom username" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""This custom help command is a perfect replacement for the default one on any Discord Bot written in Discord.py Rewrite! | |
However, you must put "bot.remove_command('help')" in your bot, and the command must be in a cog for it to work. | |
Written by Jared Newsom (AKA Jared M.F.)!""" | |
@commands.command() | |
commands.has_permissions(add_reactions=True,embed_links=True) | |
async def help(self,ctx,*cog): | |
"""Gets all cogs and commands of mine.""" | |
try: |
assuming a frictionless kernel (Ubuntu Linux)
Steps:
- Setup a [Docker][docker] container running [Ubuntu][ubuntu] and install [Discord][discord] on it
- Setup [X][x11] permissions, so the container can connect to the running [X][x11] server.
- Use [xdotool][xdotool] with a shell script to automate input events to [Discord][discord].
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from flask import Flask, request, send_from_directory | |
from datetime import datetime | |
from user_agents import parse | |
app = Flask(__name__) | |
def censor_ip(ip): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"math" | |
"os" | |
"runtime" | |
"sort" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
# Please excuse the awfully formatted code, I did not take the time to make it look nice. | |
def main(): | |
print() | |
if len(sys.argv) != 2: | |
print(f' Usage: {sys.argv[0]}') |
OlderNewer