Discover gists
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
def solve_me(solution): | |
res = solution() | |
del res | |
if res: | |
print("Solved") | |
solution = lambda: [ | |
g.write(b"\x09\x09\x09\x09") | |
for x, y, g in [ |
لیست سایت ها و دامنه هایی که آی پی های ایران را تحریم کرده اند.
analytics.google.com
firebaseremoteconfig.googleapis.com
cloud.google.com
ads.google.com
fonts.googleapis.com
developer.android.com
本项目提供了一个使用多GPU并行处理PDF文件的Python脚本。它基于 MinerU 库,能够将PDF文件转换为Markdown格式,并支持在多GPU环境下高效处理大量文件。
- 多GPU支持:利用多个GPU并行处理PDF文件,显著提高处理速度。
- 日志记录:支持控制台和文件日志记录,便于调试和监控。
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
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
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
# Project Policy | |
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices. | |
# 1. Introduction | |
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities. | |
## 1.1 Actors |
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 re | |
from txtai import Embeddings, LLM | |
# Prompt courtesy of the following link: https://github.com/codelion/optillm/blob/main/cot_reflection.py | |
def cot(system, user): | |
system = f""" | |
{system} | |
You are an AI assistant that uses a Chain of Thought (CoT) approach with reflection to answer queries. Follow these steps: |
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
Description | Syntax |
---|---|
Get the length of a string | ${#VARNAME} |
Get a single character | ${VARNAME[index]} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder