1 2 3 4
def set_teams_members members = get_components(Fees::ITEMS, params[:fee][:teams], params[:teams]) teams = get_components(MembershipFee::ITEMS, params[:fee][:members], params[:members]) ...
1
RankHistory.find(:all, :conditions => [ "created_at IN (?)", RankHistory.maximum(:created_at, :group => :id)])
Ruby On Nested select; is there a b...
by Elij,
December 11, 2008 19:58
not really sure what you me...
1 2 3 4
private static bool canBeXmlSerialized(object @object) { return @object is IXmlSerializable || @object.GetType().IsSerializable; ...
C# On Check type is XML Serializable
by Elij,
November 20, 2008 01:55
If you have an instance at ...
1 2 3 4
public static class HtmlHelper { public static string StripHtmlComments(string html) { if (html == null) { ...
1 2 3 4
def convert(file) output = [""] ...
Ruby On Pretty output of permission...
by Elij,
November 07, 2008 00:08
Not much difference -- but ...
1 2 3 4
@songs = {} feed = RssParser.run("http://ws.audioscrobbler.com/1.0/user/me/recenttracks.rss") feed[:items].each { |item| @songs[item[:title]] = item[:link] } ...
1 2 3
List<Item> items = new List<Item>(); string descriptions = string.Join(",", items.Select(item => item.Description).ToArray());
1 2 3 4
import re def getWordFrequencies(text): ...
Python On Count word occurrences in a...
by Elij,
December 08, 2007 08:58
The regex needs some work -...
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
I've demonstrated using fal...


When dealing with XML there...