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 pdfkit | |
import streamlit as st | |
# Streamlit 애플리케이션 설정 | |
st.set_page_config(page_title="HTML to PDF Converter", page_icon="📄") | |
st.title("HTML to PDF 변환기") | |
# HTML 파일 업로드 | |
uploaded_file = st.file_uploader("변환할 HTML 파일을 업로드하세요", type="html") |
We can't make this file beautiful and searchable because it's too large.
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
subject | |
[PATCH v4 18/18] btrfs: only set QUOTA_ENABLED when done reading qgroups | |
[PATCH v4 17/18] btrfs: track data relocation with simple quota | |
[PATCH v4 16/18] btrfs: track metadata relocation cow with simple quota | |
[PATCH v4 15/18] btrfs: check generation when recording simple quota delta | |
[PATCH v4 14/18] btrfs: simple quota auto hierarchy for nested subvols | |
[PATCH v4 13/18] btrfs: record simple quota deltas | |
[PATCH v4 12/18] btrfs: inline owner ref lookup helper | |
[PATCH v4 11/18] btrfs: new inline ref storing owning subvol of data extents | |
[PATCH v4 10/18] btrfs: track original extent owner in head_ref |
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
tls:tls_device_offload_set | |
tls:tls_device_decrypted | |
tls:tls_device_rx_resync_send | |
tls:tls_device_rx_resync_nh_schedule | |
tls:tls_device_rx_resync_nh_delay | |
tls:tls_device_tx_resync_req | |
tls:tls_device_tx_resync_send | |
mac80211:drv_return_void | |
mac80211:drv_return_int | |
mac80211:drv_return_bool |
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
from concurrent.futures import ThreadPoolExecutor, as_completed | |
from typing import Optional, List, Tuple, Dict | |
import requests | |
from bs4 import BeautifulSoup | |
def search_many_postcode(queries: List[Tuple[str, str]]) -> Dict[tuple, Optional[dict]]: | |
""" | |
:param queries: list of tuple(keyword, zipcode) |
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 ( | |
"context" | |
"crypto/tls" | |
"io" | |
"net/http" | |
"net/url" | |
"cloud.google.com/go/storage" |
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
from PIL import Image | |
def get_rgb_average(img: Image) -> tuple: | |
histogram = img.histogram() | |
r = max(range(256), key=lambda x: histogram[x]) | |
g = max(range(256), key=lambda x: histogram[256 + x]) | |
b = max(range(256), key=lambda x: histogram[512 + x]) | |
return r, g, b |
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 ( | |
"encoding/hex" | |
"errors" | |
"flag" | |
"fmt" | |
"io" | |
"log" | |
"net" |
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 json | |
import os | |
import requests | |
trackers_list_url = 'https://newtrackon.com/api/stable' | |
qbt_host = 'http://localhost:8081' | |
custom_trackers = ''' | |
http://open.acgnxtracker.com:80/announce |
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 csv | |
import json | |
import sys | |
import os.path | |
import tqdm | |
def main() -> int: | |
if len(sys.argv) == 2: | |
in_filename = sys.argv[1] |
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" | |
"encoding/csv" | |
"encoding/json" | |
"os" | |
) | |
func main() { |
NewerOlder