Skip to content
num #instances #bytes class name
----------------------------------------------
1: 2928092 281096832 org.apache.xmlbeans.impl.store.Xobj$AttrXobj
2: 2626335 252128160 org.apache.xmlbeans.impl.store.Xobj$ElementXobj
3: 1511986 103759936 [C
4: 88030 58879440 [B
5: 1070984 42839360 java.util.TreeMap$Entry
6: 1507961 36191064 java.lang.String
7: 1016018 32512576 org.apache.poi.xssf.usermodel.XSSFCell
View utf8_test.rb
# encoding: utf-8
require 'writeexcel'
string_utf8 = "øæaaø"
string_no_utf8 = "abc"
excel = WriteExcel.new("out.xls")
ws = excel.add_worksheet
ws.write("A1", string_utf8)
def get_field_type_for(kind)
types = {
"nr" => "number",
"tlf" => "number",
"telefon" => "number",
"nummer" => "number",
"merknad" => "text",
"notater" => "text",
"anmerkning" => "text"
require 'open-uri'
run lambda { |env|
request = Rack::Request.new(env)
clly_url = request.query_string.gsub("#.png", "")
clly_content = clly_url + "/content"
begin
clly_image = open(clly_content)
[302, {'Location'=> clly_content, 'Content-Type' => 'text/html'}, []]
require 'openid'
require 'openid/consumer'
require "openid/store/filesystem"
require 'openid/extensions/sreg'
class LoginController < ApplicationController
def create
response = openid_consumer.begin(params[:openid_url])
sregreq = ::OpenID::SReg::Request.new
sregreq.request_fields(["email"], true)
module Kernel
# usage:
# require 'irb_drop'
# ...do some stuff...
# irb_drop(binding) # irb will open here with the current local variables
# ...continue doing stuff...
def irb_drop(context=nil, *argv)
require 'irb'
require 'pp'
require 'yaml'
Something went wrong with that request. Please try again.