Skip to content

Instantly share code, notes, and snippets.

View sebs's full-sized avatar
🌈
@127.0.0.1

Sebastian Schürmann sebs

🌈
@127.0.0.1
View GitHub Profile
@sebs
sebs / Wohnungssuche.json
Created October 6, 2017 08:45 — forked from pReya/Wohnungssuche.json
This is a "scenario" for apartment hunting in Hamburg, Germany to be used with the Huginn scraper (https://github.com/huginn/huginn). It includes a list of about 20 building companies who publish new rental ads on their own website, as well as an agent for the two big real estate platforms Immobilienscout and Immowelt. However it is customised t…
{
"schema_version": 1,
"name": "wohnungssuche",
"description": "This scenario is for apartment search in Hamburg, Germany. It has several event sources from building companies who have their own property ads on their website.",
"source_url": false,
"guid": "b157be4c66ae64b92ae4725fee342313",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "home",
"exported_at": "2017-10-06T07:33:37Z",
// Restify Server CheatSheet.
// More about the API: http://mcavage.me/node-restify/#server-api
// Install restify with npm install restify
// 1.1. Creating a Server.
// http://mcavage.me/node-restify/#Creating-a-Server
var restify = require('restify');
var fs = require('fs'),
step = require('step'),
jsdom = require('jsdom'),
window = jsdom.createWindow(),
Script = process.binding('evals').Script;
window.document = {};
window.Ext = {data:{Record:{}}};
var fileNames = [
@sebs
sebs / str.js
Created May 30, 2010 13:49 — forked from felixge/str.js
var sys = require('sys')
, str = exports;
// generates those big random strings
str.uuid = function() {
var uuid = '';
for (i = 0; i < 32; i++) {
uuid += Math.floor(Math.random() * 16).toString(16);
}
return uuid;