1
2
3
List<Item> items = new List<Item>();

string descriptions = string.Join(",", items.Select(item => item.Description).ToArray());

C# On Traversing a List and colle...

by Elij, July 09, 2008 05:20 Star_fullStar_fullStar_fullStar_fullStar_full

If linq is an option (.net ...

4d72203c38dd5f3e3d2d446b5888e8a7 Talk
1
2
3
4
<html>
<head>   
<title>My Experiment</title>   
...

JavaScript On How to Refactor from a Loop...

by Elij, December 31, 2007 10:49 Star_fullStar_fullStar_fullStar_full

bit hacky...

4d72203c38dd5f3e3d2d446b5888e8a7 Talk
1
grep -n UNRESERVED /usr/lib/ruby/1.8/uri/common.rb

Ruby On why does this puke?

by Elij, December 20, 2007 08:18

It doesn't include the pipe...

4d72203c38dd5f3e3d2d446b5888e8a7 Talk
1
2
3
4
import re

def getWordFrequencies(text):
...

Python On Count word occurrences in a...

by Elij, December 08, 2007 08:58 Star_fullStar_fullStar_full

The regex needs some work -...

4d72203c38dd5f3e3d2d446b5888e8a7 Talk
1
2
3
4
		GridBagConstraints c = new GridBagConstraints();
		c.insets.bottom = 2;
		c.insets.top = 2;
...

Java On Swing GridBagLayout in calc...

by Elij, November 21, 2007 05:08 Star_fullStar_fullStar_full

I've demonstrated using fal...

4d72203c38dd5f3e3d2d446b5888e8a7 Talk