Resources:
[1] Easy download https://mp3-ringtone.com/
[2] Play and using FireBug download https://www.zedge.net/find/ringtones/2023
Software Developer, Programming, Web resources and entertaiment. Desarrollo de software, programaciĆ³n, recursos web y entretenimiento.
Resources:
[1] Easy download https://mp3-ringtone.com/
[2] Play and using FireBug download https://www.zedge.net/find/ringtones/2023
ffmpeg -i mad-principio_peter.mp4 -vn -y out1.mp3 #9M
ffmpeg -i mad-principio_peter.mp4 -f mp3 -ab 192000 -vn out2.mp3 #14M
ffmpeg -i mad-principio_peter.mp4 -f mp3 -ab 128000 -vn out3.mp3 #9M
ffmpeg -i mad-principio_peter.mp4 -vn -acodec libmp3lame out4.mp3 #9M
ffmpeg -i mad-principio_peter.mp4 -acodec libmp3lame -ab 128k out5.mp3 #9M
ffmpeg -i gym.mp4 -f webm -c:v libvpx -b:v 1M -acodec libvorbis gym.webm -hide_banner
Second
ffmpeg -i sample.avi -q:a 0 -map a sample.mp3 #complete
ffmpeg -i sample.avi -ss 00:03:05 -t 00:00:45.0 -q:a 0 -map a sample.mp3
#fraction
Parameters :
-q:a 0
for variable bit rate
-ss
starting timestamp
-t
the encoding time (If you don't specify, it will go to the end)
-map 0:a:3
selects audio stream #4 (ffmpeg
starts counting from 0)
** specific the timestamps in HH:MM:SS.xxx format.
References:
[1] https://json2video.com/how-to/ffmpeg-course/ffmpeg-extract-audio.html
First
Share your file in GD (with anybody access by link) and get FILEID
Second
Execute next code(replace FILEID and choose FILENAME):
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
Note:
Previous methods doesn't work, because now GD needs confirmation, then using cookies it's possible.
On Server (10.10.7.229):
$ sudo apt install nfs-kernel-server #install server
$ sudo mkdir -p /mnt/nfs_drive #create share point
$ sudo chown -R nobody:nogroup /mnt/nfs_drive #no owner
$ sudo chmod 777 /mnt/nfs_drive #set r/w permission
$ sudo vi /etc/exports #define clients grants
/mnt/nfs_drive 10.10.7.218(rw,sync,no_subtree_check) #mine
/mnt/nfs_drive 10.10.7.235(rw,sync,no_subtree_check) #houdini
$ sudo exportfs -a
$ sudo systemctl restart nfs-kernel-server
On Client:
$ sudo apt install nfs-common
$ sudo mkdir -p /mnt/nfs_drive_client #mirror
$ sudo mount 10.10.7.229:/mnt/nfs_drive /mnt/nfs_drive_client
Notes:
$ sudo ufw status #verify the firewall, more details in reference[0]
References:
[0] Working https://linuxhint.com/install-and-configure-nfs-server-ubuntu-22-04/
Install brctl
sudo apt install bridge-utils
Add new virtual bridge
sudo brctl addbr virbr0
sudo brctl addif virbr0 eth0
Check
/etc/qemu-ifup and /etc/qemu-ifdown #files
[0] Model and code https://github.com/wobushizhanghua/candide3-face/blob/master/src/main.cpp
[1] Landmark 3D https://webspace.science.uu.nl/~veltk101/publications/art/wss06.pdf
[2] https://github.com/MarekKowalski/FaceSwap
[3] https://github.com/jorticus/face-replace/blob/master/README.md
[0] https://www.gimp.org/docs/python/index.html#PREGION-OBJECT-MEMBERS
[1] https://www.gimp.org/docs/python/index.html#DRAWABLE-OBJECT-METHODS
[2] http://myvirtualbrain.blogspot.com/2012/06/gimp-python-fu-very-basics.html
[3] Samples https://github.com/jfmdev/PythonFuSamples
[4] https://github.com/gummyCowboy/GIMP-python-fu
[5] https://gist.github.com/garystafford/5259576a7e9299d5b80284489aa25fc3
[0] gif editor crop, mp4 to gif https://ezgif.com
[1] https://www.powtoon.com/?locale=en
[2] https://www.animaker.com/
[3] https://biteable.com/
[1] How to use textures on Houdini
http://wordpress.discretization.de/houdini/home/advanced-2/textures/
[2] Repository of textures with normals
https://opengameart.org/content/50-free-textures-4-normalmaps
[3] Textures for Blender
https://polyhaven.com/textures/brick/outdoor/wall
[4] HDRs (Environment Ilumination patterns) https://polyhaven.com/hdris
1. Download https://cmake.org/download/
2. Unpack and enter to folder to execute commands
./bootstrap
make -j$(nproc)
sudo make install
References
[1] https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line
$ nm libmanson.so | grep -n apply
1:00000000000058ef T apply
#Force to install a version Python-3.7.4
wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
tar xvf Python-3.7.4.tgz
cd Python-3.7.4
./configure --enable-optimizations --with-ensurepip=install
make -j 8
sudo make altinstall
#Install pip module into any version of Python
curl -o get-pip.py https://bootstrap.pypa.io/pip/get-pip.py
python3.8 get-pip.py #or
python3.9 get-pip.py
[1] Nasdaq API https://data.nasdaq.com/sign-up
[2] API https://data.nasdaq.com/tools/python (API is in setting option)
Any file to PNG
$ sudo apt install webp
$ for i in *.webp; do name=`echo "$i" | cut -d'.' -f1`; echo "$name"; dwebp "$i"
-o "${name}.png"; done
Add to Nautilus Script
fincahuanaco@pisces:~/.local/share/nautilus/scripts$ cat toPNG
dwebp $1 -o "$1.png"
rm $1
$chmod +x toPNG
Updated to Selection to PNG (2023)#!/bin/bash
count=0
success=0
# Transform command line arguments (if provided)
[[ -z "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" ]] &&
NAUTILUS_SCRIPT_SELECTED_FILE_PATHS=$(printf "%s\n" "$@")
# Process each file in turn
while IFS= read -r src
do
if [[ -f "$src" ]]
then
# Target
dst="${src}.png"
# Primary conversion to PNG
step=0
dwebp $src -o $dst && ((step++))
# Remove src
if [[ step -eq 1 ]]
then
rm $src && ((step++))
fi
# Update
if [[ step -eq 2 ]]
then
((success++))
fi
# Count it
((count++))
fi
done <<<"$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
[[ count -gt 1 ]] &&
notify-send "Conversion finished ($success files of $count)"
exit $((count - success))
AVIF format support[1] libavif https://github.com/AOMediaCodec/libavif/
References:
[1] https://unix.stackexchange.com/questions/710013/making-a-bash-script-apply-to-only-selected-files-nautilus
#Cuda 8.0 Settings
export CUDA_HOME=/usr/local/cuda-8.0
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
#Cuda 9.1 Settings
export CUDA_HOME=/usr/local/cuda-9.1
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
#Cuda 9.2 Settings
export CUDA_HOME=/usr/local/cuda-9.2
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
$ LD_LIBRARY_PATH=. ./programtest #direct execution
$ echo $LD_LIBRARY_PATH
/usr/local/cuda-8.0/lib64
$ ls /etc/ld.so.conf.d
cuda-8-0.conf opencv.conf
fakeroot-x86_64-linux-gnu.conf x86_64-linux-gnu.conf
glew.conf x86_64-linux-gnu_EGL.conf
i386-linux-gnu.conf x86_64-linux-gnu_GL.conf
libc.conf zz_i386-biarch-compat.conf
$ldconfig -p #list libraries
$sudo ldconfig #update paths
[0] Card power https://whattomine.com/
[1] Linux Dodge https://www.youtube.com/watch?v=Ng-OU38-RjY
Tool for mine Dodge https://xmrig.com/download
[2] Linux bittorrent https://www.youtube.com/watch?v=y5EWimXPOD0
[3] Linux Minero(Alternative to xmrig) https://www.youtube.com/watch?v=NMMiT_eMd-s
[1] Windows tool https://unmineable.com/coins/MATIC
[2] How to mine Matic ESP https://www.youtube.com/watch?v=m_qLQQSWRW0
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal