Showing posts from June, 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

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 or uname -r

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 passwd USERNAME

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