This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 .. |