Skip to content

Instantly share code, notes, and snippets.

View thomasfl's full-sized avatar
🏠
Working from home

Thomas Flemming thomasfl

🏠
Working from home
View GitHub Profile
require 'rubygems'
require 'vortex_client'
include Vortex
vortex = Vortex::Connection.new("https://vortex-dav.uio.no/")
vortex.cd('/brukere/thomasfl/events/')
event = HtmlEvent.new(:title => "My Sample Event 1",
:introduction => "Sample event introduction",
:body => "<p>Hello world</p>",
:startDate => "19.06.2010 17:56",
require 'rubygems'
require 'vortex_client'
vortex = Vortex::Connection.new("https://vortex-dav.uio.no/")
print "Title: "
title = gets
print "Introduction: "
introduction = gets
print "Body: "
require 'rubygems'
puts "Mongo bongo"
This is a plain file.