Visit Jeremy's Blog.
Go Back > Blogs
User Name



Day 4 - Why git will replace incumbant president Barack Obama in the 2012 democratic primaries

Posted 10-27-2011 at 04:50 PM by omgiamlinux
Updated 10-27-2011 at 06:33 PM by omgiamlinux

Well... now that we're coding and compiling on this thing, we'd better come up with some way of tracking the history and progress of our source code.
I mean... one false line of code and we might destroy our entire application, and we don't even know how to make backup copies. Hmmm... what to do... I know!

Oh, it looks like it's not installed, git: the version control software that allows you to work on source code with large groups...
LQ Newbie
Views 394 Comments 0 omgiamlinux is offline

Day 3.5 - hey, you got your debian in my .NET!

Posted 10-27-2011 at 04:43 PM by omgiamlinux
Updated 10-27-2011 at 06:34 PM by omgiamlinux

=Running C# code on debian linux

Well, since I've got over two thousand C# applications coded on my windows PC, let's see about putting them to use on my debian system.
Thanks to a project named mono, this is easy!

We may as well see a glimps of mono on a windows PC. This can be done by 'C:/'

:: WINDOWS PORTION (optional) ::

Download mono so you can compile .cs for the mono/.NET runtime:
LQ Newbie
Views 343 Comments 0 omgiamlinux is offline

Day 3 - Compiling C++ on Debian

Posted 10-27-2011 at 04:40 PM by omgiamlinux
Updated 10-27-2011 at 06:34 PM by omgiamlinux

Well, since we're setting up a debian system, we may as well review how to compile and run hello world. We'll just think of this blog as a reference to look back at latter.

The C++ compiler is already installed on debian. It would be stupid for linux to not have one installed already.
It's called g++, and you run it like this:

g++ hellosource.c
and it will produce "a.out" in the directory from which it was run. a.out is...
LQ Newbie
Views 329 Comments 0 omgiamlinux is offline

Server latency

Posted 10-27-2011 at 08:26 AM by sag47

I wanted a quick and dirty way to determine server latency on my Kubuntu machine. This just parses simple output from ping and provides only the time values.

for x in;do echo -n "[$x]: "; ping -c 1 $x | head -n 2 | tail -n 1 | awk '{split($8,arr,"=")} END{print arr[2],$9}';done
[]: 0.576 ms
[]: 6.23 ms
You can put as many servers or IPs as you want in the for loop to get a comparison....
Senior Member
Posted in Uncategorized
Views 1032 Comments 0 sag47 is offline

Recursively generate MD5 checksums

Posted 10-26-2011 at 09:53 AM by Garda
Tags find, md5, md5sum, xargs

I wanted to generate MD5 checksums of a whole bunch of files in a directory. It turns out that this is not as straightforward as it should be. IMO it should be completed with: md5sum -br *

Unfortunately it was not as straightforward. I found this blog entry after searching for a while and adapted this to what I needed. To generate checksums, I used the following:

find . -type f -print0 | xargs -0 md5sum -b
(Note: for the above to work, "cd"...
Posted in Uncategorized
Views 5156 Comments 0 Garda is offline


All times are GMT -5. The time now is 06:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration