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
#include <stdio.h> | |
#include <math.h> | |
#define WIDTH 30 | |
#define HEIGHT 30 | |
int main() { | |
float w = WIDTH; | |
float h = HEIGHT; |
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
#!/usr/bin/env bash | |
# Bandori card art URL | |
BASE_URL="https://bandori.fandom.com/wiki/Category:Card_Art" | |
# Image's URL pattern | |
IMAGE_PATTERN="https:\/\/static\.wikia\.nocookie\.net\/bandori\/images\/.\/.{2}\/[^\/]+\.png" | |
# Next page URL pattern | |
NEXT_PAGE_PATTERN="https://bandori\.fandom\.com/wiki/Category:Card_Art\?from=[^\/]+\.png" |
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
AlignAfterOpenBracket: Align | |
AlignEscapedNewlines: Left | |
AlignOperands: Align | |
AlignTrailingComments: false | |
AllowAllArgumentsOnNextLine: false | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AllowShortBlocksOnASingleLine: Empty | |
AllowShortCaseLabelsOnASingleLine: false | |
AllowShortLambdasOnASingleLine: Inline | |
AllowShortEnumsOnASingleLine: false |
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 struct | |
import sys | |
def find_sof0_marker(data): | |
for i in range(len(data) - 9): | |
if data[i] == 0xFF and data[i+1] == 0xC0: | |
return i | |
return None | |
def modify_jpeg_dimensions(data, width, height): |
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
.editor-group-watermark > .letterpress{ | |
background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode.png") !important; | |
opacity: .95; | |
} |
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
#!/bin/python3 | |
import httpx | |
import trio | |
from ghunt.helpers.gmail import is_email_registered | |
def gen_email(): | |
email_list = [] | |
for dd in range(1, 32): |