Skip to content

Instantly share code, notes, and snippets.

View iamrony777's full-sized avatar
🍥
Dattebayo!

Ronit Sarkar iamrony777

🍥
Dattebayo!
View GitHub Profile
// set type: module in package.json to use import statements
import Keyv from 'keyv' // https://www.npmjs.com/package/keyv
import { ChatGPTAPI } from "chatgpt"; // https://www.npmjs.com/package/chatgpt
// Set REDIS_URL to your Redis URL
const messageStore = new Keyv(`sqlite://history.db`)
import { v4, validate } from 'uuid'
/**
general:
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
debug: false
# displayed name
instance_name: "searxng"
# For example: https://example.com/privacy
privacypolicy_url: false
# use true to use your own donation page written in searx/info/en/donate.md
# use false to disable the donation link
donation_url: https://docs.searxng.org/donate.html
{
"abe_kanna.jpg": "https://ik.imagekit.io/javinfo/actress/abe_kanna.jpg",
"abe_kaori.jpg": "https://ik.imagekit.io/javinfo/actress/abe_kaori.jpg",
"abe_maria.jpg": "https://ik.imagekit.io/javinfo/actress/abe_maria.jpg",
"abe_masami.jpg": "https://ik.imagekit.io/javinfo/actress/abe_masami.jpg",
"abe_mikako.jpg": "https://ik.imagekit.io/javinfo/actress/abe_mikako.jpg",
"abe_natuki.jpg": "https://ik.imagekit.io/javinfo/actress/abe_natuki.jpg",
"abe_ran.jpg": "https://ik.imagekit.io/javinfo/actress/abe_ran.jpg",
"abe_rion.jpg": "https://ik.imagekit.io/javinfo/actress/abe_rion.jpg",
"abe_tiaki.jpg": "https://ik.imagekit.io/javinfo/actress/abe_tiaki.jpg",
@iamrony777
iamrony777 / config
Last active September 23, 2022 07:45
Rust cross compise geckodriver
[target.i686-pc-windows-gnu]
linker = "i686-w64-mingw32-gcc"
rustflags = "-C panic=abort"
@iamrony777
iamrony777 / error.log
Created September 6, 2022 13:10
HTTPExcetion not working , instead of 401 status , its showing 200
javinfo-api | api | --- Logging error in Loguru Handler #1 ---
javinfo-api | api | Record was: None
javinfo-api | api | --- Logging error in Loguru Handler #2 ---
javinfo-api | api | Record was: None
javinfo-api | api | Traceback (most recent call last):
javinfo-api | api | File "/usr/local/lib/python3.10/site-packages/loguru/_handler.py", line 272, in _queued_writer
javinfo-api | api | message = queue.get()
javinfo-api | api | File "/usr/local/lib/python3.10/multiprocessing/queues.py", line 367, in get
javinfo-api | api | return _ForkingPickler.loads(res)
javinfo-api | api | TypeError: HTTPException.__init__() missing 1 required positional argument: 'status_code'
@iamrony777
iamrony777 / config
Last active July 3, 2022 17:42
Custom .gitignore file for watchfile.git
[url "git@github.com:"]
insteadOf = https://github.com/
[url "https://github.com/rust-lang/crates.io-index"]
insteadOf = https://github.com/rust-lang/crates.io-index
magnet:?xt=urn:btih:653F695E9416A213AB4B5A51B4E28CDB8F3F9CBE&dn=Serious+Sam+Siberian+Mayhem-CODEX+%5BRepack%5D&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2780%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2730%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fcoppersurfer.tk%3A6969%2Fannounce
gid=0f7abc5dcd2d4612
https://releases.ubuntu.com/20.04/ubuntu-20.04.3-live-server-amd64.iso.torrent
gid=0aacdff2f0de7454
@iamrony777
iamrony777 / README.md
Created January 8, 2022 07:28 — forked from magnetikonline/README.md
Bash string manipulation cheatsheet.

Bash string manipulation cheatsheet

Assignment
Assign value to variable if variable is not already set, value is returned.

Combine with a : no-op to discard/ignore return value.
${variable="value"}
: ${variable="value"}
@iamrony777
iamrony777 / latest-commit.json
Created December 29, 2021 09:00
Gist update with API call from a Bash script
{
"subject": "feat(chisel): new bricks textures",
"author": "Léa Gris",
"date": "Fri, 7 Jun 2019 11:01:41 +0200"
}
@iamrony777
iamrony777 / sync_gdrive.py
Created December 24, 2021 06:55 — forked from markuscraig/sync_gdrive.py
Rclone + Google Drive sync script
#!/usr/bin/env python
import os
import shutil
import subprocess
# global variables
SYNC_DIRS = [
{
'src': "/Volumes/PhotoArchive/Lightroom",