Skip to content

Instantly share code, notes, and snippets.

View tlyng's full-sized avatar

Torkel Lyng tlyng

View GitHub Profile
# dataplattform-bundle-2.0.1.yaml vedlikeholdes i supervisor gitops repository
apiVersion: vendingmachine.iad.vegvesen.no/v1alpha1
kind: Bundle
metadata:
name: dataplattform-bundle-2.0.1
namespace: iad-system
labels:
vendingmachine.iad.vegvesen.no/environment: "prod"
vendingmachine.iad.vegvesen.no/bundle: "dataplattform"
vendingmachine.iad.vegvesen.no/version: "2.0.1"
@tlyng
tlyng / bumpme
Last active April 24, 2018 19:53
0
/*
Copyright (c) 2012, Ger Hobbelt (ger@hobbelt.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
syntax = "proto3";
package teamup.libraryservice;
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
service Library {
// Shelf management
syntax = "proto3";
package teamup.libraryservice;
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
service LibraryService {
// Shelf management
syntax = "proto3";
package teamup.libraryservice;
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
service LibraryService {
// Shelf management
➜ web2mob.scraper bin/scraper
2013-01-21 10:27:05+0100 [scrapy] INFO: Found page: TMP Norge
2013-01-21 10:27:06+0100 [scrapy] INFO: Found page: Lerøy | TMP Norge
2013-01-21 10:27:06+0100 [scrapy] INFO: Found page: Julen 2012 | TMP Norge
2013-01-21 10:27:06+0100 [scrapy] INFO: Found page: Stavanger Plastikkirurgi | TMP Norge
2013-01-21 10:27:07+0100 [scrapy] INFO: Found page: NELFO og Norsk Teknologi | TMP Norge
2013-01-21 10:27:07+0100 [scrapy] INFO: Found page: DigiPublishing | Facebookspesialisten
2013-01-21 10:27:07+0100 [scrapy] INFO: Found page: TMP Blogg | TMP Norge
2013-01-21 10:27:07+0100 [scrapy] INFO: Found page: Hektisk høst | TMP Norge
2013-01-21 10:27:07+0100 [scrapy] INFO: Found page: Poggenpohl Studio Oslo | TMP Norge
from urlparse import urlparse
from twisted.internet import reactor
from scrapy.http import Request, HtmlResponse
from scrapy.crawler import Crawler
from scrapy.settings import Settings
from scrapy.spider import BaseSpider
from scrapy.selector import HtmlXPathSelector
from scrapy.item import Item, Field
<?xml version="1.0"?>
<object name="portal_properties" meta_type="Plone Properties Tool">
<object name="site_properties" meta_type="Plone Property Sheet">
<!-- Fields that will be added to the form after installation of the product
-->
<property name="user_registration_fields" type="lines" purge="False">
<element value="country" />
<element value="accept" />
</property>
</object>