This is a simple way to install LunatiX on Linux. This method works on Ubuntu 14.04+ and Debian. It should also work on other Linux distributions.
Duration : 30-60 mins
#!/bin/bash | |
# Generate video from audio and a cover image | |
if (( $# < 3 )); then | |
echo "Usage: audeo.sh <img_file> <audio_file> <dest-video-file>" | |
else | |
ffmpeg -i $2 -loop 1 -i $1 -loop 1 -filter_complex "[0:a]showwaves=s=1920x200:mode=cline:colors=0xFFFFFF|0x333333[fg];[1:v]scale=1920:-1[bg];[bg][fg]overlay=shortest=1:820:format=auto,format=yuv420p[v]" -map "[v]" -map 0:a -c:v libx264 -c:a copy -shortest $3 | |
fi |
# Jib | |
alias mvn-jbuild='mvn jib:build' | |
alias mvn-jdocker='mvn jib:dockerBuild' | |
alias gradle-jbuild='gradle jib' | |
alias gradle-jdocker='gradle jibDockerBuild' | |
# Docker | |
alias docker-img='docker images' | |
alias docker-history='. ~/bin/docker-image-history.sh' | |
alias docker-ps='docker process' |
#!/usr/bin/env bash | |
# | |
# Simple script for automatically creating an 'AppDir' | |
# | |
# https://github.com/AppImage/AppImageKit/wiki/AppDir | |
# https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages | |
# | |
SCRIPT=`basename $0` |
int | |
SDL_RenderDrawCircle(SDL_Renderer * renderer, int x, int y, int radius) | |
{ | |
int offsetx, offsety, d; | |
int status; | |
CHECK_RENDERER_MAGIC(renderer, -1); |