How to use Pelican on GitHub Pages
Author: Josef Jezek
sudo apt-get install python-setuptools
EPS to SVG using Inkscape
Author: Josef Jezek
# Install Inkscape on Ubuntu
sudo apt-get install inkscape
To convert animation GIF to MP4 by ffmpeg, use the following command
ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4
movflags – This option optimizes the structure of the MP4 file so the browser can load it as quickly as possible.
pix_fmt – MP4 videos store pixels in different formats. We include this option to specify a specific format which has maximum compatibility across all browsers.
This file contains 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
#!/bin/bash | |
# Backup script for GLPI | |
GLPI_DIR='/usr/share/glpi'; | |
BACKUP_DIR='/root/backup'; | |
LOGFILE='/var/log/glpi/backup.log'; | |
DBUSER=root | |
DBPASS= |
# Install easyengine
curl -sL https://raw.githubusercontent.com/rtCamp/easyengine/stable/install.sh | sudo bash
NewerOlder