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 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 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
| package main | |
| import ( | |
| "encoding/hex" | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net" |
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
| 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 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
| package main | |
| import ( | |
| "context" | |
| "crypto/tls" | |
| "io" | |
| "net/http" | |
| "net/url" | |
| "cloud.google.com/go/storage" |
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
| 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 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
| 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 |
We can't make this file beautiful and searchable because it's too large.
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
| 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 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 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") |
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 base64 | |
| import pyperclip | |
| target_file_path = r'C:\Users\user\Desktop\project.zip' | |
| def chunks(lst, n): | |
| for i in range(0, len(lst), n): | |
| yield lst[i:i+n] | |
| if __name__ == '__main__': |
OlderNewer