Create a forums channel in your discord server, and deny create posts
and send messages in posts
permissions for @everyone
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j
#include <stdio.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include "cs50.h" | |
int main(int argc, string argv[]) | |
{ | |
if (argc < 2) | |
{ |
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
Italics *italics* or _italics_
Underline italics __*underline italics*__
import re | |
def regex_strip(str, arg=None): | |
if arg is None: | |
return re.sub(r'\s+|\s+$', "", str) | |
else: | |
return re.sub(r'{0}'.format(arg), "", str) |
import unittest | |
from strong_password_detection import isStrongPassword | |
# A strong password is defined as one that is | |
# at least eight characters long, | |
# contains both uppercase and lowercase characters, | |
# and has at least one digit. | |
class TestStrongPasswords(unittest.TestCase): |
def printTable(table): | |
col_widths = getLongestWordLength(table) | |
for i in range(len(table[0])): | |
for j in range(len(table)): | |
print(table[j][i].rjust(col_widths[j]), end=' ') | |
print() | |
def getLongestWordLength(table): | |
return[max([len(item) for item in line]) for line in table] |
def displayInventory(inv): | |
print("Inventory: ") | |
total = 0 | |
for item, quantity in inv.items(): | |
print(f'{quantity} {item}') | |
total += quantity | |
print(f'Total number of items: {total}') | |
def addToInventory(inventory, addedItems): |