This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- %youthnet.org/Volunteer | |
alerts: | |
- # an Alert | |
id: A1, | |
search: # VolunteerSearch | |
location: L1, | |
details: # List<SearchDetail> | |
- | |
id: SD1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collection.mutable.{ListBuffer, LinkedList} | |
import io.Source | |
import scala.collection.mutable.HashMap | |
/** | |
* Date: Apr 16, 2010 | |
* Time: 10:44:22 PM | |
*/ | |
object Parser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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']) |
NewerOlder