Skip to content

Instantly share code, notes, and snippets.

View davigamer987's full-sized avatar

davigamer987

View GitHub Profile
import os
import tortoise
from tortoise import api
import requests
import speech_recognition as sr
from googletrans import Translator
from pydub import AudioSegment
from pydub.playback import play
def convert_ogg_to_wav(ogg_file, wav_file):
<hal format="hidl" optional="true">
<name>android.hardware.atrace</name>
<version>1.0</version>
<interface>
<name>IAtraceDevice</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.audio.effect</name>
@davigamer987
davigamer987 / Readme.txt
Created May 19, 2022 16:49 — forked from endolith/Readme.txt
Gnome to Wine color scraper
This is a Python script to extract GNOME/GTK's color scheme and apply it to Wine, so that the themes (approximately) match.
Instructions:
1. Set your Gnome theme as you would like it
2. Run with a command like "python wine_colors_from_gtk.py"
3. Restart any apps running in Wine. They should match the Gnome theme colors now.
Better description with screenshots here: http://www.endolith.com/wordpress/2008/08/03/wine-colors/
This is also stored on https://code.launchpad.net/~endolith/+junk/wine-color-scraper
#!/bin/bash
mkdir android;cd android
echo "enter rom manifest thing here u idot (with branch):"
read x
echo "pls enter rom vendor name sur: "
read v
echo "Initiating repo!"
repo init -u ${x}
cd .repo;mkdir local_manifests;cd local_manifests
wget https://raw.githubusercontent.com/davigamer987/local_manifests/main/TP1803/A12-Lineage.xml
@davigamer987
davigamer987 / script.sh
Created November 29, 2021 10:18
First proto of full buildbot script
#!/bin/bash
mkdir ~/tempand
echo "enter rom manifest thing here u idot (with branch):"
read x
echo "Initiating repo!"
mkdir android;cd android
repo init -u ${x}
cd .repo;mkdir local_manifests;cd local_manifests
wget https://raw.githubusercontent.com/davigamer987/local_manifests/main/TP1803/A12-Lineage.xml
cd ..