This file contains hidden or 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
use std::io; | |
/* | |
Gist: https://gist.github.com/battleoverflow/d93e13f89667951c713ec2d840c96cf2 | |
Author(s): battleoverflow (https://github.com/battleoverflow) | |
This code is for the LaurieWired 2023 Halloween Sorting Challenge! | |
Unfortunately, it didn't get featured, but I'll still share it here. Enjoy! | |
*/ |
This file contains hidden or 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
10 HOME | |
20 LET S = 1 | |
25 REM CONFIGURE SCREEN INFO | |
30 LET W = 40: LET H = 24 | |
40 GOSUB 2000 | |
50 DIM X(100): DIM Y(100) | |
60 X(S) = 20: Y(S) = 12 | |
70 GOSUB 3000 | |
80 FOR N = 1 TO 1000: NEXT N | |
90 GOTO 70 |
This file contains hidden or 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
# Currently, GitHub truncates membership searches to around ~50k members under the "People" tab in the UI. | |
# This can make it difficult to set a membership to public if the organization is larger than this (most notably, EpicGames). | |
# This bash script sets the authenticated member of an organization as public using the GitHub API. | |
# Set your account information | |
ORG="" | |
USER="" | |
TOKEN="" | |
SET_PUBLIC=$(curl -L \ |
This file contains hidden or 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 slack_sdk, time, argparse | |
from slack_sdk.errors import SlackApiError | |
# Example usage | |
# python3 slack_rm.py -t "xoxb-xxxx" -c "xxxx" -v | |
""" | |
Basic CLI script for deleting messages and most recent replies on Slack for a specific channel. | |
Requires appropiate bot permissions on the Slack side. | |
""" |
This file contains hidden or 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
# Utilizes the InQuest Labs API: https://labs.inquest.net/docs/?python#api-dfi-search-hash-source | |
from os.path import exists | |
import requests, json | |
class EvaluateHash: | |
def validate_input(): | |
print("\nAvailable options: md5, sha1, sha256, sha512\n") | |
This file contains hidden or 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
foreach ($r in 1..254) { Test-NetConnection -Port $r } |