Clonezilla is awesome tool to backup your data. It has also released images able to boot from UEFI loader. This post shows how to create bootable USB from iso.
Sunday, May 3, 2015
Clonezilla UEFI boot
Friday, May 1, 2015
Howto: join mp4 files
To join two or more mp4 video files you can use ffmpeg utility, just follow this simple steps:
- convert mp4 to ts (transport stream) format
- join several ts files into one mp4
ffmpeg -i file.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts file1.ts
ffmpeg -i "concat:file1.ts|file2.ts" -c copy -bsf:a aac_adtstoasc file12.mp4
- conversion from other formats to mp4
ffmpeg -i fileOLD.webm -strict -2 fileNEW.mp4
Tuesday, January 27, 2015
Dynamic shell prompt
Dynamic shell prompt can change it's form according to some events going on on terminal. It can change e.g. color, if the previous command execution was unsuccessful, or it can display various information.
In this post, there is an example of such a prompt. It displays information, when you enter specified working directory.
The picture below shows my configuration:
This is achieved with setting a variable PROMPT_COMMAND which is evaluated every time you run a command. In my case, there is a condition, which looks for matching path.
In this post, there is an example of such a prompt. It displays information, when you enter specified working directory.
The picture below shows my configuration:
This is achieved with setting a variable PROMPT_COMMAND which is evaluated every time you run a command. In my case, there is a condition, which looks for matching path.
# dynamic PS prompt export PROMPT_COMMAND='PS1="$(if [ "$(pwd | grep /mnt/storage/backup_git)" ]; then echo "\\[\\033[32m\\]backup_git "; fi;)\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] "'
Sunday, September 28, 2014
HA-HeartBeat on Raspberry PI
High Availability HeartBeat is a clustering daemon. It allows to setup virtual IP addresses on network interfaces in order to provide redundancy in service availability. (It can also be used to automatically start/stop services)
In this post, we take a look at the basic HA usage, with two nodes.
In this post, we take a look at the basic HA usage, with two nodes.
Tuesday, September 16, 2014
mpd console player and ncmpcpp
For long time I've searched for a good music player. I've settled with mpd (music player daemon) and as a graphical frontend I use ncmpcpp. This post shows how to install and configure mpd and ncmpcpp.
Saturday, August 2, 2014
i3wm: change QT/GTK theme
If you'd like to change your window appearance, you can use systemsettings utility for QT windows and .gtkrc conf for GTK windows.
systemsettings is part of the KDE (included in kdebase-workspace package). Navigate to Application Appearance to change window theme:
systemsettings is part of the KDE (included in kdebase-workspace package). Navigate to Application Appearance to change window theme:
GPIO 05-pwm
Raspberry PI has the ability to use PWM (pulse width modulation) to control width of the pulse sent on the GPIO pin, which provides better granularity to control connected devices, in this case LED.
This feature allows to control LEDs intensity, which can be used with RGB LED to mix colors.
This feature allows to control LEDs intensity, which can be used with RGB LED to mix colors.
Subscribe to:
Comments (Atom)

