martedì 21 aprile 2009

cleaning logs up

#!/bin/bash

if [ $UID -ne 0 ]
then
echo "you got to be root bomber";
exit;
else

DIR_LOG=/var/log
cd $DIR_LOG
cat /dev/null > messages
cat /dev/null > wtmp

echo "log cancellati bomber"
exit
fi

mercoledì 15 aprile 2009

download da youtube

downloadare youtube-dl
chmod +x
./youtube-dl url_del_video
ffmpeg -i url_del_video.flv nuovo_file.mpeg

il gioco e' fatto.

How to deploy Podman images to OpenShift Container Platform (CRC on localhost)

I have a microservice on localhost and I want to deploy its Podman image on OCP, which I am running using CRC on localhost.       1. Get the...