Skip to content

Instantly share code, notes, and snippets.

View spaceCamel's full-sized avatar

A. Mecca spaceCamel

  • London, United Kingdom
View GitHub Profile
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'])
import collection.mutable.{ListBuffer, LinkedList}
import io.Source
import scala.collection.mutable.HashMap
/**
* Date: Apr 16, 2010
* Time: 10:44:22 PM
*/
object Parser
[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
We couldn’t find that file to show.
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) {
--- %youthnet.org/Volunteer
alerts:
- # an Alert
id: A1,
search: # VolunteerSearch
location: L1,
details: # List<SearchDetail>
-
id: SD1
<html>
<body>
<!-- REPLACE THIS -->
<div class="buttons">
<g:form>
<g:hiddenField name="id" value="\${${propertyName}?.id}" />
<span class="button"><g:actionSubmit class="edit" action="edit" value="\${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
<span class="button"><g:actionSubmit class="delete" action="delete" value="\${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('\${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Edit</title>
<style type="text/css">
ul.properties {
list-style: none;
/*
TOMATO TIMER
CIRCUIT:
5 red leds, 1 green, 1 button
STATES:
STOPPED, COUNTING, HOLD (show period number), TOMATO_COMPLETED
DESCRIPTION
The timer when plugged is in STOPPED state, waiting for the button to be pressed.
mysql> select * from locayta_field where source_name = 'Ersatzteilkategorie';
+------+---------+-----------------------------------------------------+-----------+---------------------+--------+
| id | shop_id | name | type | source_name | weight |
+------+---------+-----------------------------------------------------+-----------+---------------------+--------+
| 4594 | 1673 | ATTRIBUTE_19fc88b8f05301119676260f745102ac_PartType | ATTRIBUTE | Ersatzteilkategorie | 3 |
| 5082 | 1676 | ATTRIBUTE_ApplianceType | ATTRIBUTE | Ersatzteilkategorie | 3 |
| 6144 | 1679 | ATTRIBUTE_ApplianceType | ATTRIBUTE | Ersatzteilkategorie | 3 |
+------+---------+-----------------------------------------------------+-----------+---------------------+--------+
3 rows in set (0.01 sec)