View pdb.py
#!/usr/bin/env python3
def create_pdb(filename, title, location, pkg_link, icon_path, temp_dat, cid, date='Wed, 16 Apr 2008 11:11:41 GMT'):
"""
Example:
title = 'Ape Quest'
location = 'ux0:pspemu/bgdl/0000010d'
pkg_name = 'cCC53YedwIstMh54hhulsqmHmlLCMr4He9aKSNFGRTDNGvcUgcqpqbAcFU25tJC8PN1ksFVqlErDjeHYyijpCfqHD5WSAu6qqEDlt.pkg'
pkg_link = 'http://zeus.dl.playstation.net/cdn/EP9000/NPEG00005_00/cCC53YedwIstMh54hhulsqmHmlLCMr4He9aKSNFGRTDNGvcUgcqpqbAcFU25tJC8PN1ksFVqlErDjeHYyijpCfqHD5WSAu6qqEDlt.pkg?country=de'
icon_path = 'ux0:bgdl/t/0000010d/icon.png'
View avctomp4.cmd
for %%i in (*.avc) do (
ffmpeg -i "%%i" -codec copy "%%~ni.mp4"
)
View install_dep.bat
@echo off
WHERE python
IF %ERRORLEVEL% NEQ 0 (
IF NOT EXIST Anaconda3-5.0.1-Windows-x86_64.exe wget --no-check-certificate https://repo.continuum.io/archive/Anaconda3-5.0.1-Windows-x86_64.exe
start /wait Anaconda3-5.0.1-Windows-x86_64.exe
echo press a button if the installer closed !
pause
)
IF NOT EXIST psdle.py wget --no-check-certificate https://gist.githubusercontent.com/Gnarmagon/1cf55fd844779f69791e9bad600aaae6/raw/e7464647285cc08f9ce070bea6722f10fedffd67/psdle.py
View handbrake.bat
@echo off
:: The Command and conversion is copy&pasted from the Internet and I only added the subtitle command and the for loop....
:: if it's givin you an error delete the ">>log.txt" (didn't test if it's working but it should echo everything into a file called "log.txt")
:: You can delete the Lines starting with "::" (they are ignored)
for %%i in (*.mkv *.avi) do (
HandBrakeCLI -i "%%i" -o "%%~ni.mp4" -e x264 -q 20.0 -a 1 -E faac -B 160 -6 dpl2 -R Auto -D 0.0 --audio-copy-mask aac,ac3,dtshd,dts,mp3 --audio-fallback ffac3 -f mp4 --loose-anamorphic --modulus 2 -m --x264-preset veryfast --h264-profile main --h264-level 4.0 -s "1,2,3,4,5,6" --subtitle-burned
rm -f "%%i"
)>>log.txt
View ubuntu16.10-command-line-install-android-sdk
# install openjdk
sudo apt-get install openjdk-9-jdk
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
tar -xvf android-sdk_r24.2-linux.tgz -C $HOME
cd $HOME/android-sdk-linux/tools