Skip to content

Instantly share code, notes, and snippets.

sh: can't create /proc/sys/net/ipv4/neigh/weave/base_reachable_time: Read-only file system
1491e5db25cf1c4e06bb3b8c3f79e27004aedfb280a8e655ad1b64005cd9c478
weave container is not present. Have you launched it?
Starting LocalKube...
Starting etcd...
2016-04-11 16:18:32.323453 I | etcdserver: recovered store from snapshot at index 30003
2016-04-11 16:18:32.323493 I | etcdserver: name = kubeetcd
2016-04-11 16:18:32.323499 I | etcdserver: data dir = /var/localkube/data
2016-04-11 16:18:32.323505 I | etcdserver: member dir = /var/localkube/data/member
2016-04-11 16:18:32.323509 I | etcdserver: heartbeat = 100ms
@wstrange
wstrange / kube-setcontext.sh
Last active April 4, 2016 21:25
Setup kubectl context for using helm local docker solution
!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@wstrange
wstrange / Dockefile
Created January 13, 2016 00:31
Dockerfile test
# Dockerfile to package this app up so we can run it on kubernetes
# This will run pub get and build the app.
# When run it expects to find bin/server.dart
FROM google/dart-runtime
@wstrange
wstrange / getnightly.sh
Created September 15, 2015 00:53
Download Nightly ForgeRock binaries
#!/bin/bash
# Script that downloads all nightly builds into a staging directory
# Vagrant guests should have this staging directory mounted locally.
# This script leaves the product names as generic (no release in the name), but creates a RELEASE file
# with all of the version info. It is suggest to copy this RELEASE file into the guest to have a record
# of which binaries got installed.
dir=./staging/
@wstrange
wstrange / cts-setup.sh
Created August 6, 2015 20:31
Modified version of CTS config script for OpenAM
#!/usr/bin/env bash
# Prepare CTS. A variant of the script that is in the Admin guide
#
# copyright (C) 2014 ForgeRock AS
#
# cts-setup.sh: This script installs and configures an external CTS data store.
# It assumes that you have downloaded the OpenDJ zip file to a local
# folder.
# Reset the tmp folder
amPolicy:06/30/2015 08:05:07:084 PM MDT: Thread[http-bio-8080-exec-22,5,main]: TransactionId[c1112768-d538-4bf3-8cdc-93387ec0b6cf]
Rendering policy request for action evaluate
amPolicy:06/30/2015 08:05:07:086 PM MDT: Thread[http-bio-8080-exec-22,5,main]: TransactionId[c1112768-d538-4bf3-8cdc-93387ec0b6cf]
Evaluating policy request for action evaluate under realm / within the application context test
Entitlement:06/30/2015 08:05:07:086 PM MDT: Thread[http-bio-8080-exec-22,5,main]: TransactionId[c1112768-d538-4bf3-8cdc-93387ec0b6cf]
URLResourceName: url query=null
Entitlement:06/30/2015 08:05:07:086 PM MDT: Thread[http-bio-8080-exec-22,5,main]: TransactionId[c1112768-d538-4bf3-8cdc-93387ec0b6cf]
[PolicyEval] PrivilegeEvaluator:init()
Entitlement:06/30/2015 08:05:07:086 PM MDT: Thread[http-bio-8080-exec-22,5,main]: TransactionId[c1112768-d538-4bf3-8cdc-93387ec0b6cf]
[PolicyEval] subject: id=demo,ou=user,dc=openam,dc=forgerock,dc=org
@wstrange
wstrange / todo_item.dart
Created May 3, 2015 23:07
todo_item angular 2 dart
library todo_item;
import 'package:angular2/angular2.dart';
@Component(
selector: 'todo-item'
)
@View(template: r'''
<div>
<input type="checkbox" value="{{selected}}">
// Bert's special parser
import "package:html5lib/parser.dart" as html;
import 'package:html5lib/dom.dart';
import "dart:convert";
import "dart:io";
import "package:csvparser/csvparser.dart";
// recursively print html node content
@wstrange
wstrange / designer.html
Created August 14, 2014 17:50
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@wstrange
wstrange / designer.html
Created August 14, 2014 15:49
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">