Skip to content

Instantly share code, notes, and snippets.

Pageflow Scrolled

Ziele

  • Mobile ~ Desktop

    • Mobile und stationäre Nutzung und Darstellung auf gleich hohem Niveau
  • Mehr Flexibilität

    • Keine festen Seitentypen
  • Mehr Raum für Text auch ohne Bild

$ minikube start
# I cannot imagine that this is related to the problem, but
# I have the impression that the problem is not reproducible when
# the namespace has a short name.
$ kubectl create namespace hosted-application-development
# change minikube context in .kube/config to use namespace
$ kubectl apply -f client.yaml

Concurrent React, Redux and State Management

@tf
tf / TEXT.md
Last active September 18, 2018 07:05
    __  __     ____         _       __           __    ____
   / / / /__  / / /___     | |     / /___  _____/ /___/ / /
  / /_/ / _ \/ / / __ \    | | /| / / __ \/ ___/ / __  / / 
 / __  /  __/ / / /_/ /    | |/ |/ / /_/ / /  / / /_/ /_/  
/_/ /_/\___/_/_/\____/     |__/|__/\____/_/  /_/\__,_(_)   Cologne

Programmierung, Mentoring und kultureller Austausch
@tf
tf / active_record_test.rb
Last active July 26, 2018 14:22
Validates presence for null objects broken in Active Record
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
@tf
tf / expiring_certificates_check.rb
Created May 24, 2017 18:10
Nagios Checks with specs for CertWatch
require 'nagios_check'
module CertWatch
module NagiosChecks
# Ensure installed certifcates are renewed regularly
class ExpiringCertificatesCheck
include NagiosCheck
enable_warning
enable_critical
@tf
tf / stacktrace
Last active December 6, 2016 13:53
install-node-and-yarn with invalid version number
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:install-node-and-yarn (install node a
nd yarn) on project WDRVerkehrWebsite: Execution install node and yarn of goal com.github.eirslett:frontend-maven-
plugin:1.3:install-node-and-yarn failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-
plugin:1.3:install-node-and-yarn (install node and yarn) on project WDRVerkehrWebsite: Execution install node and
yarn of goal com.github.eirslett:frontend-maven-plugin:1.3:install-node-and-yarn failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleB
@tf
tf / scss-themes.md
Last active September 21, 2016 15:02

Configurable Themes with SCSS

@tf
tf / without_password_protection_scopes.rb
Created September 21, 2016 10:30
Pageflow `without_password_protection` scopes
module WithoutPasswordProtectionScopes
module Revision
extend ActiveSupport::Concern
included do
scope(:without_password_protection,
-> { where('password_protected IS NOT TRUE') })
end
end
@tf
tf / headers
Created July 20, 2016 10:25
doclets.io Github Hook
Request URL: https://ci.doclets.io/github/callback
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/8d6c563
X-GitHub-Delivery: 5b304e00-4e63-11e6-8cf3-7a3df8ed0a05
X-GitHub-Event: push
X-Hub-Signature: sha1=54f0ff5fe40d7ba57f1b13f37f6649e53c8a8077