Skip to content

Instantly share code, notes, and snippets.

View pageflow-scrolled.md

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
View STEPS
$ 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
View concurrent-react-and-redux.md

Concurrent React, Redux and State Management

View TEXT.md
    __  __     ____         _       __           __    ____
   / / / /__  / / /___     | |     / /___  _____/ /___/ / /
  / /_/ / _ \/ / / __ \    | | /| / / __ \/ ___/ / __  / / 
 / __  /  __/ / / /_/ /    | |/ |/ / /_/ / /  / / /_/ /_/  
/_/ /_/\___/_/_/\____/     |__/|__/\____/_/  /_/\__,_(_)   Cologne

Programmierung, Mentoring und kultureller Austausch
@tf
tf / active_record_test.rb
Last active Jul 26, 2018
Validates presence for null objects broken in Active Record
View active_record_test.rb
# 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
Nagios Checks with specs for CertWatch
View expiring_certificates_check.rb
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 Dec 6, 2016
install-node-and-yarn with invalid version number
View stacktrace
[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 / without_password_protection_scopes.rb
Created Sep 21, 2016
Pageflow `without_password_protection` scopes
View without_password_protection_scopes.rb
module WithoutPasswordProtectionScopes
module Revision
extend ActiveSupport::Concern
included do
scope(:without_password_protection,
-> { where('password_protected IS NOT TRUE') })
end
end
View scss-themes.md

Configurable Themes with SCSS

@tf
tf / headers
Created Jul 20, 2016
doclets.io Github Hook
View headers
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