Linux media conversion

sudo apt install libav-tools webm to mp4 ffmpeg -i “Jurjak – Bucuresti.webm” -qscale 0 “Jurjak – Bucuresti.mp4” ffmpeg -fflags +genpts -i “Jurjak – Bucuresti.webm” -r 24 “Jurjak – Bucuresti1.mp4” -> change to 24 FPS ffmpeg -i “Jurjak – Bucuresti.webm” […]

Linux hardware information

# sources: # RAM sudo lshw -short -C memory sudo lshw -C memory sudo dmidecode -t memory VGA memory sudo dmesg | grep Reserving [ 0.000000] Reserving Intel graphics stolen memory at 0x5ef00000-0x7eefffff compute now using a hexadecimal calculator […]

Ufw (uncomplicated firewall)

documentation important files /etc/ufw/user.rules Uncomplicated Firewall # sudo ufw show added sudo ufw status verbose sudo ufw show listening sudo ufw limit ssh sudo ufw allow 80 sudo ufw allow 443 sudo ufw allow 32400 sudo […]

APT (Advanced Package Tool)

search packages by name using REGEX see apt-cache search libapr apt-cache search ‘php.*sql’ apt-cache search apache.\*perl apt-cache search elvis\|vim list the contents of a (not-installed) package see apt-file list mysql-client-5.1 showing package information apt-cache showpkg libconfig-dev check a […]

Angularjs project setup (NODE & YEOMAN)

# see also # general setup sudo ln -s /usr/bin/nodejs /usr/bin/node -> when node file is not found sudo npm install -g yo bower grunt-cli generator-karma generator-angular # see # npm help list # sudo npm list -gp […]