<commit_before>package jupiter.broadcasting.live.tv;

import java.util.Hashtable;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
/*
 * Copyright (c) 2012 <NAME>
 *
 * This software is MIT licensed see link for details
 * http://www.opensource.org/licenses/MIT
 * 
 * @author <NAME>
 */
public class RssListActivity extends Activity {
	/** Called when the activity is first created. */
	public Hashtable<String,String> showToFeedTable;
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		ListView showsListView = (ListView) findViewById(R.id.showList);
		final String[] shows = new String[]{getString(R.string.allshows),
				"Coder Radio",
				"Faux Show",
				"Linux Action Show",
				"Plan B",
				"SciByte",
				"Techsnap",
				"Unfilter"};
		showToFeedTable = new Hashtable<String,String>();
		showToFeedTable.put(getString(R.string.youtubefeed), "http://www.youtube.com/rss/user/JupiterBroadcasting/videos.rss");
		showToFeedTable.put(getString(R.string.allshows), "http://feeds.feedburner.com/JupiterBroadcasting");
		showToFeedTable.put("Coder Radio", "http://feeds.feedburner.com/coderradiomp3");
		showToFeedTable.put("Faux Show", "http://www.jupiterbroadcasting.com/feeds/FauxShowMP3.xml");
		showToFeedTable.put("Linux Action Show", "http://feeds.feedburner.com/TheLinuxActionShow");
		showToFeedTable.put("SciByte", "http://feeds.feedburner.com/scibyteaudio");
		showToFeedTable.put("Techsnap", "http://feeds.feedburner.com/techsnapmp3");
		showToFeedTable.put("Unfilter", "http://www.jupiterbroadcasting.com/feeds/unfilterMP3.xml");
		showToFeedTable.put("Plan B", "http://feeds.feedburner.com/planbmp3");
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
				android.R.layout.simple_list_item_1, android.R.id.text1, shows);
		showsListView.setAdapter(adapter);
		showsListView.setOnItemClickListener(new OnItemClickListener() {
			public void onItemClick(AdapterView<?> parent, View view, int pos,long id) {
				Toast.makeText(getApplicationContext(),
						getString(R.string.loading) + shows[pos], Toast.LENGTH_LONG)
						.show();
				String feed = showToFeedTable.get(shows[pos]);
				Intent episodeIntent = new Intent(view.getContext(), EpisodeListActivity.class);
				episodeIntent.putExtra("SHOW_NAME", shows[pos]);
				episodeIntent.putExtra("SHOW_FEED", feed);
				startActivityForResult(episodeIntent, 0);
			}
		});
	}
}<commit_msg>added BSD Now and LINUX Unplugged<commit_after>package jupiter.broadcasting.live.tv;

import java.util.Hashtable;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
/*
 * Copyright (c) 2012 <NAME>
 *
 * This software is MIT licensed see link for details
 * http://www.opensource.org/licenses/MIT
 * 
 * @author <NAME>
 */
public class RssListActivity extends Activity {
	/** Called when the activity is first created. */
	public Hashtable<String,String> showToFeedTable;
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		ListView showsListView = (ListView) findViewById(R.id.showList);
		final String[] shows = new String[]{getString(R.string.allshows),
				"BSD Now",
				"Coder Radio",
				"Faux Show",
				"Linux Action Show",
				"LINUX Unplugged",
				"Plan B",
				"SciByte",
				"Techsnap",
				"Unfilter"};
		showToFeedTable = new Hashtable<String,String>();
		showToFeedTable.put(getString(R.string.youtubefeed), "http://www.youtube.com/rss/user/JupiterBroadcasting/videos.rss");
		showToFeedTable.put(getString(R.string.allshows), "http://feeds.feedburner.com/JupiterBroadcasting");
		showToFeedTable.put("BSD Now","http://feeds.feedburner.com/BsdNowMp3");
		showToFeedTable.put("Coder Radio", "http://feeds.feedburner.com/coderradiomp3");
		showToFeedTable.put("Faux Show", "http://www.jupiterbroadcasting.com/feeds/FauxShowMP3.xml");
		showToFeedTable.put("Linux Action Show", "http://feeds.feedburner.com/TheLinuxActionShow");
		showToFeedTable.Put("LINUX Unplugged", "http://feeds.feedburner.com/linuxunplugged");
		showToFeedTable.put("SciByte", "http://feeds.feedburner.com/scibyteaudio");
		showToFeedTable.put("Techsnap", "http://feeds.feedburner.com/techsnapmp3");
		showToFeedTable.put("Unfilter", "http://www.jupiterbroadcasting.com/feeds/unfilterMP3.xml");
		showToFeedTable.put("Plan B", "http://feeds.feedburner.com/planbmp3");
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
				android.R.layout.simple_list_item_1, android.R.id.text1, shows);
		showsListView.setAdapter(adapter);
		showsListView.setOnItemClickListener(new OnItemClickListener() {
			public void onItemClick(AdapterView<?> parent, View view, int pos,long id) {
				Toast.makeText(getApplicationContext(),
						getString(R.string.loading) + shows[pos], Toast.LENGTH_LONG)
						.show();
				String feed = showToFeedTable.get(shows[pos]);
				Intent episodeIntent = new Intent(view.getContext(), EpisodeListActivity.class);
				episodeIntent.putExtra("SHOW_NAME", shows[pos]);
				episodeIntent.putExtra("SHOW_FEED", feed);
				startActivityForResult(episodeIntent, 0);
			}
		});
	}
}
{'fraction_non_alphanumeric': 0.1405135520684736, 'fraction_numerical': 0.004457917261055635, 'mean_word_length': 5.424971363115693, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4328457', 'n_tokens_mistral': 2027, 'n_tokens_neox': 1800, 'n_words': 302}