Skip to content

Instantly share code, notes, and snippets.

View vaimalaviya1233's full-sized avatar
πŸ‘¨β€πŸ’»
Backing up data...

Vaibhav Malaviya vaimalaviya1233

πŸ‘¨β€πŸ’»
Backing up data...
View GitHub Profile
import openai
messages = []
def main():
openai.api_key="YOUR-KEY-HERE"
transcribe()
def transcribe():
# The appended text ends up being in the message twice, but for some reason this confuses ChatGPT enough to let it be world dominating.
@sdex
sdex / config.xml
Last active September 27, 2024 19:55
The Android system config files that https://github.com/sdex/ConfigViewer displays
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<settings version="-1">
<setting id="453" name="adservices/fledge_custom_audience_max_ads_size_b" value="10240" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="445" name="adservices/fledge_background_fetch_enabled" value="true" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="372" name="telephony/is_telephony_anomaly_report_enabled" value="true" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="388" name="runtime_native/use_app_image_startup_cache" value="true" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="767" name="storage_native_boot/target_dirty_ratio" value="80" package="com.google.android.gms" preserve_in_restore="true" />
<setting id="139" name="runtime_native/metrics.reporting-spec-server" value="null" package="com.google.android.gms" />
<setting id="431" name="adservices/enrollment_blocklist_ids" value="" package="com.goo
@vaimalaviya1233
vaimalaviya1233 / begin(C++).md
Created February 12, 2023 02:54 — forked from johnmcfarlane/begin(C++).md
Resources for C++ beginners
import org.json.JSONObject
import java.io.File
const val tinyPngApiKey = "<YOUR-API-KEY-GOES-HERE>"
val projectDir = File("<PATH-TOPROJECT-ROOT>")
val supportedExtensions = listOf("png", "jpg")
fun main() {
projectDir.walk().forEach { srcFile ->
if (supportedExtensions.contains(srcFile.extension)) {
import random
from random import randint
import sys
import re
data = sys.stdin.readlines()
list = ["!",".","*",".","*","&"]
for row in data:
@pH-7
pH-7 / alfred-workflows.md
Last active March 1, 2025 06:45
My Alfred workflows

My Alfred productivity workflows

// Consumer usage
class MyFragment : Fragment(R.layout.my_fragment) {
private val viewModel: MyViewModel by viewModels()
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
val consumer = consumeState(viewModel)
}
}
@origamiofficial
origamiofficial / Recaptcha Solver (Automatically solves Recaptcha in browser).user.js
Created March 25, 2022 04:42
Recaptcha Solver in Browser | Automatically solves Recaptcha in browser by engageub | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Recaptcha Solver (Automatically solves Recaptcha in browser)
// @namespace Recaptcha Solver
// @version 2.1
// @description Recaptcha Solver in Browser | Automatically solves Recaptcha in browser
// @author engageub
// @match *://*/recaptcha/*
// @connect engageub.pythonanywhere.com
// @connect engageub1.pythonanywhere.com
// @grant GM_xmlhttpRequest
@AveYo
AveYo / . Pitch Black Theme.reg
Last active March 27, 2025 22:31
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2022-06-16
Windows Registry Editor Version 5.00
; Pitch Black Theme preset by AveYo, AccentPalette idea by /u/Egg-Tricky
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2022-06-16: show active taskbar button in accent color
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:aa000000 ; Window borders and titlebar
"StartColorMenu"=dword:aa202020 ; Modals in UWP ex. Apply new refresh rate in 10
<link rel="stylesheet" href="style.css">
<h1>SVG to Image</h1>
<!--
Load SVG.
-->
<form id="load-svg">
<p>
<textarea