• 19 ffmpeg commands for all needs

    Thanks to: Posted by jbj on Sep 22, 2008 in GNU/Linux, Operating systems at catswhocode; and rescued from archive.org so I’ve them near when needed. ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion,...


  • VirtualBox Manage

    VBoxManage is the command line way to manage your VirtualBox hosts. VBoxManage showvminfo VBoxManage list vms VBoxManage list runningvms VBoxManage startvm $vm --type=headless VBoxManage startvm $vm --type=gui VBoxManage controlvm $vm savestate VBoxManage controlvm $vm poweroff VBoxManage modifyvm $vm --accelerate3d=off VBoxManage modifyvm backend --memory 256 Mount Shared folder mount -t vboxsf...


  • MacPorts Maintenance

    To maintain you macports repository clean and without unused stuff, proceed with: port clean --all all sudo port -f uninstall inactive If you can’t wait for the clean one to run in the background, there are a few commands you can run manually and faster. Remove leftover build files (this...


  • Python for dummies

    Virtualenv creates a completely separated sandbox for python and it’s tools. Create a virtualenv python virtualenv.py /path/to/work/directory/.env ### Activation source /path/to/work/directory/.env/bin/activate ### Deactivation source /path/to/work/directory/.env/bin/deactivate Quickly create simple HTTP Server Navigate to directory you want to serve and run the following inside, if you don’t put port number, 80 will be default...


  • Some Network Tips

    Iptables Do you have a firewall or some computer with any kind of exposure to the Internet? Then you might want to use iptables for filtering/blocking/forwarding your connections. Lets see some examples. Block an IP address iptables -I INPUT -i eth0 -s IP_address -j REJECT Basic Init.d script for firewalling...