Skip to content

Instantly share code, notes, and snippets.

View dts's full-sized avatar

Daniel Staudigel dts

View GitHub Profile
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: challenges.acme.cert-manager.io
spec:
additionalPrinterColumns:
- JSONPath: .status.state
@dts
dts / keybase.md
Created December 24, 2017 17:22
Keybase Proof

Keybase proof

I hereby claim:

  • I am dts on github.
  • I am dstaudigel (https://keybase.io/dstaudigel) on keybase.
  • I have a public key ASAAHx5dBAIe5wQHyLH2I9oA2pmDfFHyEbCUlDXB8a7zrwo

To claim this, I am signing this object:

@dts
dts / keybase.md
Created December 24, 2017 17:22
Keybase Proof

Keybase proof

I hereby claim:

  • I am dts on github.
  • I am dstaudigel (https://keybase.io/dstaudigel) on keybase.
  • I have a public key ASAAHx5dBAIe5wQHyLH2I9oA2pmDfFHyEbCUlDXB8a7zrwo

To claim this, I am signing this object:

@dts
dts / create_aws_volume.sh
Created October 4, 2016 16:57
Gitlab Runner Kubernetes YAML for AWS
aws ec2 create-volume --size 1 --availability-zone us-west-2b --volume-type standard
@dts
dts / stately.js
Last active September 7, 2016 19:35
"Stately" for Angular
// automatically stores any values in the root scope to localStorage,
// restoring them when you return to the angular app.
// Usage: Include 'stately' in your modules requirement list.
// Redefine the STATELY_KEY to a new variable to make multiple apps
// work on the same domain.
angular.module('stately', []).constant('STATELY_KEY', 'stately'). run(function($rootScope, STATELY_KEY) {
function restore() {
console.log('Attempting to restore state from "' + STATELY_KEY + '"');
@dts
dts / develop.js
Created February 20, 2015 17:24
Develop.js is a development mode script that allows gulp-angular projects to report errors in JS and SASS to the user via the web browser, instead of the terminal. I have used colons to delimit folders - there are two, /develop and /develop/templates.
var LR_PORT= 35730;
var express = require('express');
var gulp = require('gulp');
var app = express();
var livereload = require('livereload');
var proxy = require('http-proxy').createProxyServer({ target : 'http://localhost:3000/api' , toProxy : true , prependPath : true });
// needs:
// we need to recompile HTML file every time the JS file list changes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... clang
@dts
dts / gist:6926855
Created October 10, 2013 22:50
Error I got when combining rails_admin and spree.
SyntaxError in RailsAdmin::MainController#dashboard
/Users/dstaudigel/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-2.1.1/lib/generators/spree/dummy/templates/rails/application.rb:9: syntax error, unexpected '<', expecting $end <%= application_definition %> ^
Rails.root: /Users/dstaudigel/dev/yogaslackers.com
Application Trace | Framework Trace | Full Trace
activesupport (4.0.0) lib/active_support/dependencies.rb:423:in `load'
activesupport (4.0.0) lib/active_support/dependencies.rb:423:in `block in load_file'
activesupport (4.0.0) lib/active_support/dependencies.rb:615:in `new_constants_in'
activesupport (4.0.0) lib/active_support/dependencies.rb:422:in `load_file'
-- `menu_click`, by Jacob Rus, September 2006
--
-- Accepts a list of form: `{"Finder", "View", "Arrange By", "Date"}`
-- Execute the specified menu item. In this case, assuming the Finder
-- is the active application, arranging the frontmost folder by date.
on menu_click(mList)
local appName, topMenu, r
-- Validate our input
@dts
dts / gist:2823074
Created May 29, 2012 07:14
config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by MPFR configure 3.1.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mpfr/3.1.0 --build=x86_64-apple-darwin
## --------- ##
## Platform. ##