Make sure you have installed the following commands:
- swaymsg
- jq
- slurp
- awk
========= ========== ===== ===== | |
========= ============ ====== ====== | |
=== === ==== ===== ===== | |
=== ========= ====== ====== INSTALLIN' THAT SWEET SWEET | |
=== ======== ============= BIG IRON ON YOUR LINUX LAPTOP | |
=== ========= ============= OR SERVER - BY MR. SKILLFULL | |
=== === ==== === === === | |
========= ============ ===== = ===== | |
========= ========== ===== ===== |
#!/bin/bash | |
start_ssredir() { | |
# please modify MyIP, MyPort, etc. | |
(ss-redir -s MyIP -p MyPort -m MyMethod -k MyPasswd -b 127.0.0.1 -l 60080 --no-delay -u -T -v </dev/null &>>/var/log/ss-redir.log &) | |
} | |
stop_ssredir() { | |
kill -9 $(pidof ss-redir) &>/dev/null | |
} |
import requests | |
import sys | |
import json | |
def waybackurls(host, with_subs): | |
if with_subs: | |
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
else: | |
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |
""" | |
Usage: | |
Make sure that redis is running on localhost (or adjust the url) | |
Install uvicorn or some other asgi server https://asgi.readthedocs.io/en/latest/implementations.html | |
pip install -u uvicorn | |
Install dependencies |
//go:build linux | |
// +build linux | |
// This program demonstrates attaching an eBPF program to a kernel tracepoint. | |
// The eBPF program will be attached to the page allocation tracepoint and | |
// prints out the number of times it has been reached. The tracepoint fields | |
// are printed into /sys/kernel/debug/tracing/trace_pipe. | |
package main | |
import ( |
import dspy | |
from dspy.teleprompt import BootstrapFewShot | |
class CoT(dspy.Module): | |
def __init__(self): | |
super().__init__() | |
self.prog = dspy.ChainOfThought("question -> answer") | |
def forward(self, question): |
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/go-ldap/ldap/v3" | |
) | |
const ( |
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자