Tuesday, June 30, 2009

FFmpeg fix video

So I was having problems with a video where it kept erroring out. I found a command that will just repair the video by copying it.
ffmpeg -i infile.avi -acodec copy -vcodec copy outfile.avi

Wednesday, June 10, 2009

Ubuntu/Linux Version Command

If you want to find out the version of the OS that you are working on then you can use these commands
uname -a
uname -r

Saturday, June 6, 2009

Linux/Unix change user password

Recently I needed to change someone's password on a server because they forgot it. I forgot the command so looking it up thought you might need it, I did.

Change someone's password as root

Tuesday, June 2, 2009

SVNserve Mac OS X 10.5

I recently had to build a SVNserver for a client and needed to setup the command to start of the SVNserve on the Mac OS X 10.5 machine. I wanted the documents to be stored on the server in the admin account. Here are the commands for future reference.

Start up SVNserve on Mac OS X with a custom folder
svnserve -d -r /usr/local/repositories
SVN create new project
svnadmin create PROJECTNAME
Just used this to create a new project. Enjoy

Raspberry Pi Zero W - Wireless Configuation

create the file under "boot" folder wpa_supplicant.conf country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev u...