This file contains hidden or 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 subprocess | |
import shutil | |
def convert_videos(input_dir, output_dir): | |
# Ensure the output directory exists | |
os.makedirs(output_dir, exist_ok=True) | |
# Get all mp4 files | |
mp4_files = [f for f in os.listdir(input_dir) if f.endswith('.mp4')] |
This file contains hidden or 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
<code_scheme name="Android" version="173"> | |
<option name="RIGHT_MARGIN" value="100" /> | |
<AndroidXmlCodeStyleSettings> | |
<option name="USE_CUSTOM_SETTINGS" value="true" /> | |
<option name="LAYOUT_SETTINGS"> | |
<value> | |
<option name="INSERT_LINE_BREAK_BEFORE_NAMESPACE_DECLARATION" value="true" /> | |
</value> | |
</option> | |
</AndroidXmlCodeStyleSettings> |
This file contains hidden or 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
# download linux kenel | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>_all.deb | |
wgte http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>-generic_<version>_arm64.deb | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-image-<version>-generic_<version>_amd64.deb | |
# intsall linux kenel | |
sudo dpkg -i *.deb | |
# unintsall old kenel | |
dpkg -l|grep linux-image |