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 pandas as pd | |
from io import StringIO | |
import datetime | |
def to_df(table_data): | |
df = pd.read_csv(table, delimiter=",") | |
return df |
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
CREATE TEXT SEARCH DICTIONARY public.vietnamese ( | |
TEMPLATE = pg_catalog.simple, | |
STOPWORDS = vietnamese | |
); | |
CREATE TEXT SEARCH CONFIGURATION public.vietnamese ( | |
COPY = pg_catalog.english | |
); | |
ALTER TEXT SEARCH CONFIGURATION public.vietnamese |
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 requests | |
import subprocess | |
import os | |
import signal | |
def download_file(url, target_path): | |
response = requests.get(url, stream=True) | |
with open(target_path, "wb") as f: | |
for chunk in response.iter_content(chunk_size=8192): | |
f.write(chunk) |
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
(function() { | |
'use strict'; | |
function collectUrls() { | |
const urlPattern = /^https:\/\/www\.linkedin\.com\/company\/[a-zA-Z0-9-]+\/?$/; | |
const links = document.querySelectorAll('a'); | |
const matchingUrls = []; | |
links.forEach(link => { | |
const href = link.href; |
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
{ | |
"last_node_id": 83, | |
"last_link_id": 236, | |
"nodes": [ | |
{ | |
"id": 16, | |
"type": "KSamplerSelect", | |
"pos": [ | |
484, | |
751 |
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
{ | |
"chat_models": { | |
"gpt-4.1": { | |
"display_name": "GPT-4.1", | |
"description": "The top GPT-4.1 model, built for complex tasks. Excellent at following detailed instructions, advanced coding, and understanding very long documents. Choose this for the toughest jobs.", | |
"litellm_name": "azure/gpt-4.1" | |
}, | |
"gpt-4.1-mini": { | |
"display_name": "GPT-4.1 Mini", | |
"description": "A balanced model offering strong performance (like GPT-4o) but faster and cheaper. Handles long text, good for coding and understanding images. Great for fast, interactive chats.", |
OlderNewer