Skip to content

Instantly share code, notes, and snippets.

View sontags's full-sized avatar
👾
Working with vi for a very long time:wq

Daniel Menet sontags

👾
Working with vi for a very long time:wq
View GitHub Profile

Keybase proof

I hereby claim:

  • I am sontags on github.
  • I am sontags (https://keybase.io/sontags) on keybase.
  • I have a public key ASBKoe-RA4JK3K0KcPUVgup75fI3ywtguJkaysc78UG9dQo

To claim this, I am signing this object:

@sontags
sontags / cluster-info-dump.json
Created January 9, 2019 06:23
kubectl --kubeconfig $k8sconf cluster-info dump
{
"kind": "NodeList",
"apiVersion": "v1",
"metadata": {
"selfLink": "/api/v1/nodes",
"resourceVersion": "757"
},
"items": [
{
"metadata": {
@sontags
sontags / database.yaml
Created January 7, 2019 20:37
yaml to reproduce postgres connection issue
---
apiVersion: v1
kind: Namespace
metadata:
name: database
---
apiVersion: v1
kind: ConfigMap
metadata:
namespace: database
@sontags
sontags / pdfr.sh
Created May 10, 2018 10:01
concat/orc pdf files
#!/bin/bash
INPUT_PATTERN=$1
OUTPUT_FILE=$2
LANG=$3
DATE=`date +%Y-%m`
EXECUTABLE=`basename "$0"`
if [ "$INPUT_PATTERN" == "" ] || [ "$OUTPUT_FILE" == "" ] || [ "$LANG" == "" ]; then
echo "'$EXECUTABLE' ocrs/concats single pages pdf files matching a pattern/glob"
### Keybase proof
I hereby claim:
* I am sontags on github.
* I am sontags (https://keybase.io/sontags) on keybase.
* I have a public key whose fingerprint is 9AED 767E D639 0677 A071 B26E 4111 C137 A11F 67EF
To claim this, I am signing this object:
@sontags
sontags / index.html
Created November 3, 2014 19:57
index.html
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>Usher UI</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css(.) styles/vendor.css -->
<!-- bower:css -->
// Generated on 2014-10-15 using generator-angular 0.9.8
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
@sontags
sontags / gist:aeeaf32e3cadd4e92252
Last active August 29, 2015 14:06
Short json that does not work
[
{
"points" : [
[
1411140328000,
0
],
[
1411140333000,
0
@sontags
sontags / gist:e2f3119c27924f0111c8
Last active August 29, 2015 14:06
Long json that works
[
{
"points" : [
[
1410825603000,
0
],
[
1410825903000,
0
@sontags
sontags / Gruntfile.js
Created October 3, 2013 17:03
Gruntfile.js
// Generated on 2013-10-03 using generator-webapp 0.4.3
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {