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

Ionic Map Slide Menu App

Example Ionic framework app with slide menu and google javascript maps embedded

A Pen by YAFRA.org on CodePen.

License.

@thomasfl
thomasfl / designer.html
Created December 11, 2014 07:43
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-item/core-item.html">
This is a plain file.
require 'rubygems'
puts "Mongo bongo"
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'
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'
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'
include Vortex
vortex = Vortex::Connection.new("https://vortex-dav.uio.no/", ENV['DAVUSER'], ENV['DAVPASS'])
vortex.cd('/brukere/thomasfl/events/')
collection = ArticleListingCollection.new(:url => 'my-collection', :title => 'My articles')
path = vortex.create(collection)
puts "Created folder: " + path
# -*- coding: utf-8 -*-
# Generer vortex sitemap. Eksempel:
#
# $generate_vortex_sitemap.rb http://www.iss.uio.no/
#
# Author: Thomas Flemming, thomas.flemming@usit.uio.no 2010
#
require "net/https"
require "uri"
We couldn’t find that file to show.