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
{ | |
"3": { | |
"inputs": { | |
"seed": 524650296754258, | |
"steps": 20, | |
"cfg": 2.5, | |
"sampler_name": "euler", | |
"scheduler": "karras", | |
"denoise": 1, | |
"model": [ |
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
{ | |
"last_node_id": 25, | |
"last_link_id": 44, | |
"nodes": [ | |
{ | |
"id": 14, | |
"type": "VideoLinearCFGGuidance", | |
"pos": [ | |
487.799932861328, | |
265.6999450683599 |
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
{ | |
"last_node_id": 120, | |
"last_link_id": 228, | |
"nodes": [ | |
{ | |
"id": 53, | |
"type": "Reroute", | |
"pos": [ | |
440, | |
-20 |
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 playwright.sync_api import sync_playwright | |
with sync_playwright() as p: | |
browser = p.chromium.connect_over_cdp("http://localhost:9222") | |
default_context = browser.contexts[0] | |
page = default_context.pages[0] | |
page.goto("https://x.com/devniel/followers") | |
page.wait_for_timeout(1000) | |
items = page.get_by_test_id("cellInnerDiv").all() | |
print(len(items)) |
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
#!/usr/bin/env bash | |
################################################# | |
# Please do not make any changes to this file, # | |
# change the variables in webui-user.sh instead # | |
################################################# | |
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | |
# If run from macOS, load defaults from webui-macos-env.sh |
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 ubuntu:22.04 | |
RUN apt-get update -q -y && apt-get install -q -y \ | |
openssl \ | |
openssh-server \ | |
openssh-client \ | |
pstack \ | |
sysstat \ | |
rasdaemon \ | |
dialog \ |
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
sudo apt-get install rasdaemon psstack sysstat | |
sudo /opt/vertica/sbin/install_vertica -s localhost -r vertica_23.3.0-3_amd64.deb -u dbadmin -g dbadmin -d /home/dbadmin -p vertica -L /opt/vertica/config/licensing/vertica_community_edition.license.key -Y | |
/opt/vertica/sbin/install_example VMart |
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
// Excluding a task | |
task1 { | |
dependsOn taskChain | |
// it will only disable task3 | |
// but not its dependencies | |
task3.enabled = false | |
} | |
task2 { |
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
map $upstream_http_docker_distribution_api_version $docker_distribution_api_version { | |
'' 'registry/2.0'; | |
} | |
upstream docker-registry { | |
server registry:5000; | |
} | |
server { | |
listen 80; |
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
#!/bin/bash | |
regex=":([[:digit:]]+)\/" | |
cluster_info=$(kubectl cluster-info) | |
[[ $cluster_info =~ $regex ]] | |
port="${BASH_REMATCH[1]}" | |
echo "Kubernetes API port: ${port}" |
NewerOlder