Skip to content

Instantly share code, notes, and snippets.

I like pizza

Tobias L. Maier tmaier

I like pizza
Block or report user

Report or block tmaier

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tmaier / cancancan_issue_507.rb
Last active Jun 1, 2018 — forked from coorasse/main.rb
CanCanCan Issue
View cancancan_issue_507.rb
# Related issue:
require 'bundler/inline'
rescue LoadError => e
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
raise e
gemfile(true) do
View ether-rinkeby
tmaier / response.rdf
Created Dec 22, 2014
CrossRef DOI example
View response.rdf
<?xml version="1.0" encoding="UTF-8"?>
<doi_record owner="10.1145" timestamp="2007-09-26 13:18:52">
<journal_metadata language="en">
<full_title>ACM Transactions on Modeling and Computer Simulation</full_title>
<abbrev_title>ACM Trans. Model. Comput. Simul.</abbrev_title>
<issn media_type="print">10493301</issn>
tmaier / custom_plan.rb
Created Dec 31, 2013
Add Sidekiq support to Zeus. Allows to run Sidekiq with `zeus sidekiq`
View custom_plan.rb
require 'zeus/rails'
class CustomPlan < Zeus::Rails
def sidekiq
# Based on bin/sidekiq
require 'sidekiq/cli'
cli = Sidekiq::CLI.instance

Einwilligung in die Erhebung, Nutzung und Verarbeitung von Daten

Der Schutz Ihrer Daten ist für BauCloud GmbH, Denninger Straße 136, 81927 München, Deutschland ("BauCloud"), ein Anliegen mit allerhöchster Priorität.

Im Rahmen der Erbringung der BauCloud-Services werden nur solche nichtpersonenbezogenen und personenbezogenen Daten erhoben, verarbeitet und genutzt, die für die Erbringung der BauCloud-Services notwendig sind oder zu deren Erhebung, Verarbeitung oder Nutzung Sie durch Bestätigung dieser Datenschutzerklärung unter [Ziffer 4][4)] unten einwilligen.

1) Erhebung, Nutzung und Verarbeitung Ihrer Daten durch BauCloud und Weitergabe an Dritte

BauCloud wird insbesondere folgende Daten von Ihnen erheben:

tmaier / bootstrap_topbar_list.rb
Created Jan 2, 2012
BootstrapTopbarList for simple-navigation and Twitter Bootstrap integration
View bootstrap_topbar_list.rb
# Renders an ItemContainer as a <ul> element and its containing items as <li> elements.
# Prepared to use inside the topbar of Twitter Bootstrap
# Register the renderer and use following code in your view:
# render_navigation(level: 1..2, renderer: :bootstrap_topbar_list, expand_all: true)
class BootstrapTopbarList < SimpleNavigation::Renderer::Base
def render(item_container)
if options[:is_subnavigation]
ul_class = "dropdown-menu"
tmaier / console_output.txt
Created Nov 24, 2011
Trouble with polymorphic relations see mongoid#1433
View console_output.txt
noname:SampleApp tobiasmaier$ rm log/*
noname:SampleApp tobiasmaier$ bin/rspec spec/requests/tasks_spec.rb
Run filtered including {:focus=>true}
1) Tasks GET /projects/12345/tasks/12345/edit edit
Failure/Error: page.should have_content "2010-08-01"
expected there to be content "2010-08-01" in "\n\nProjects > Mein Projekt 1 > Tasks > Kellergeschoss\n\nTask was successfully updated.\nKellergeschoss\nDetails\nA001\nKellergeschoss\nMein Projekt 1\nTarget Values\n\n2010-01-01 00:00:00 +0100\n2010-01-10 00:00:00 +0100\n\nWork Breakdown Structure\nErdgeschoss\nObergeschoss\nEdit\n|\nBack\n\n"
You can’t perform that action at this time.