Skip to content

Instantly share code, notes, and snippets.

View spaceCamel's full-sized avatar

A. Mecca spaceCamel

  • London, United Kingdom
View GitHub Profile
--- %youthnet.org/Volunteer
alerts:
- # an Alert
id: A1,
search: # VolunteerSearch
location: L1,
details: # List<SearchDetail>
-
id: SD1
abstract class TypedMap {
private Map internalMap = new HashMap();
public <T> TypedMap put(Class<T> k, List<T> v) {
internalMap.put(k, v);
return this;
}
public <T> List<T> get(Class<T> k) {
We couldn’t find that file to show.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building testMavenOpt
[INFO] task-segment: [antrun:run]
[INFO] ------------------------------------------------------------------------
[INFO] [antrun:run {execution: default-cli}]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
import collection.mutable.{ListBuffer, LinkedList}
import io.Source
import scala.collection.mutable.HashMap
/**
* Date: Apr 16, 2010
* Time: 10:44:22 PM
*/
object Parser
import re
from glob import glob
nCo = re.compile("(\d+)\s+(.*)")
attributes = ['position', 'name', 'url', 'country', 'rate', 'field']
#all_fields = ['Software', 'Telecommunications/Networking', 'Media/Entertainment', 'Internet', 'Biotech/Pharmaceutical/ Medical Equipment', 'Other', 'Greentech', 'internet', 'Semiconductor, Components and Electronics', 'Computers/Peripherals']
#all_countries = ['Turkey', 'United Kingdom', 'Belgium', 'Germany', 'Netherlands', 'Republic of Ireland', 'Poland', 'France', 'Norway', 'Israel', 'Northern Ireland', 'Sweden', 'Russia', 'Romania', 'Finland', 'Bulgaria', 'Hungary', 'Greece', 'Serbia', 'Slovakia', 'Denmark', 'Austria', 'Czech Republic', 'Portugal', 'Croatia', 'Estonia']
my_fields = dict.fromkeys(['Software', 'Internet'])
my_countries = dict.fromkeys(['United Kingdom'])