Skip to content

Instantly share code, notes, and snippets.

View iamrony777's full-sized avatar
🍥
Dattebayo!

Ronit Sarkar iamrony777

🍥
Dattebayo!
View GitHub Profile
@pskopek
pskopek / distrobox_fedora_playwright.md
Created April 2, 2025 13:16
Playwright compatible distrobox setup on Fedora 41

Setup on Fedora 41 (or other not supported Linux distro)

Playwright doesn't support Fedora distribution. Following is a description how to run the tests using Ubuntu 22.04 image using distrobox which is fairy supported on various Linux distributions.

Install distrobox and podman packages

sudo dnf install distrobox podman
@purpshell
purpshell / monitor.js
Created May 13, 2024 14:48
Monitor Socket messages on 2.3000x and above
if (!window.decodeBackStanza) {
window.decodeBackStanza = require("WAWap").decodeStanza;
window.encodeBackStanza = require("WAWap").encodeStanza;
}
require("WAWap").decodeStanza = async (e, t) => {
const result = await window.decodeBackStanza(e, t);

Elevenlabs.io API Documentation

Endpoint

The Text-to-Speech API is available at the following endpoint: https://api.pawan.krd/tts

Methods

The API supports the following methods:

@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 11, 2025 10:37
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@jaradc
jaradc / keyword_grouping_in_python.py
Created July 31, 2019 05:00
Basic Keyword Clustering Example in Python
import pandas as pd
import numpy as np
from nltk.stem import PorterStemmer, WordNetLemmatizer
from nltk.corpus import stopwords
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn import cluster
stemmer = PorterStemmer()
@theclashoftitans
theclashoftitans / badjav.txt
Last active November 2, 2022 06:51
Bad JAV Sites
! Title: Bad JAV sites
! Homepage: https://gist.github.com/theclashoftitans/08ae50b813cab62466b5e2995e3683ac
! Expires: 1 days
! To use this list, add the URL as a 3rd party filter in your AdBlock (or alike) plug-in.
! Deceptive, malicious or fake sites, or sites created to intentionally pollute search results.
! Also includes filters for ads.
! Report false positives to theclashoftitans at users.noreply.github.com
@dideler
dideler / bot.rb
Last active May 7, 2025 12:44
Sending a notification message to Telegram using its HTTP API via cURL
# Use this script to test that your Telegram bot works.
#
# Install the dependency
#
# $ gem install telegram_bot
#
# Run the bot
#
# $ ruby bot.rb
#
@mgithens1
mgithens1 / autoport_autobind_transmission.sh
Last active March 15, 2024 08:03
Bash script for updating Transmission IP/port for Private Internet Access via OpenVPN.
#!/bin/sh
# FILL OUT YOUR INFO HERE
LOGIN=PIA LOGIN HERE
PASSWORD=PIA PASSWORD HERE
USER=TRANSMISSION LOGIN HERE
PASS=TRANSMISSION PASSWORD HERE
BIN="/usr/bin/transmission-remote"
LOGGING="/home/USERNAME/transmission_logging.txt"
@markuscraig
markuscraig / sync_gdrive.py
Last active January 7, 2025 07:54
Rclone + Google Drive sync script
#!/usr/bin/env python
import os
import shutil
import subprocess
# global variables
SYNC_DIRS = [
{
'src': "/Volumes/PhotoArchive/Lightroom",
@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A