Skip to content

Instantly share code, notes, and snippets.

View kastork's full-sized avatar

Kirk Stork kastork

View GitHub Profile
@kastork
kastork / must_do.md
Last active August 30, 2018 18:18
Get Eclipse Che to work on Docker for Mac

Getting Docker for Mac to run Eclipse Che

All of this can be found in the Che docs, but not all in one place.

IP Alias

You must set up the ip alias with a specific IP address (the subnet is not good enough)

yes

@kastork
kastork / readprops.md
Last active January 8, 2018 17:22
read java-ish properties file in a windows bat

Keybase proof

I hereby claim:

  • I am kastork on github.
  • I am kastork (https://keybase.io/kastork) on keybase.
  • I have a public key whose fingerprint is B8F5 991F 336F 3E6A DBB3 25E2 628F 8F17 BFD8 F5B2

To claim this, I am signing this object:

@kastork
kastork / gist:3a2e2a68dc2362313132
Created January 7, 2016 18:14
browser console
[hawtio-oauth] All oauth plugins have executed
https://52.11.245.16/oapi Failed to load resource: the server responded with a status of 404 (Not Found)
libs-f1798ed4.js:10 [kubernetes-watcher] Backend is a vanilla Kubernetes instance
https://52.11.245.16/jolokia Failed to load resource: the server responded with a status of 404 (Not Found)
https://52.11.245.16/hawtio/jolokia Failed to load resource: the server responded with a status of 404 (Not Found)
app-c22e1c22.js:1 Listening on: /workspaces/:namespace/forge/createProject
libs-f1798ed4.js:10 [fabric8-console] started, version: 1.0.73
libs-f1798ed4.js:10 [fabric8-console] commit ID: 801b13e61a8dcfda94a8115a6f9d5178d3b56a4d
@kastork
kastork / pinboard-https.xml
Last active September 13, 2015 16:20
Firefox OpenSearch search provider for pinboard.in
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Pinboard</ShortName>
<Description>HTTPS search of Pinboard.in</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">data:image/x-icon;base64,AAABAAEAEBAAAAAAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAAAAG//AABy/wAAdP8AAHb/AAB2/wAAdv8AAHb/AAB2/wAAdv8AAHb/AAB2/wAAdf8AAHX/AAB0/zAwjf9QUJ3/AABs/wAAbv8AAHD/AABz/wAAdf8AAHb/AAB2/wAAdv8AAHb/AAB2/wAAdv8AAHb/AAB1/zAwj/+/v9z/EBB8/wAAef8AAHX/AABx/wAAb/8AAHH/AAB0/wAAdf8AAHb/AAB2/wAAdv8AAHb/AAB2/0BAmP/f3+7/EBB+/wAAdf8AAIr/AACN/wAAj/8AAI//AACI/zAwl/9gYKf/AAB0/wAAdv8AAHb/AAB2/2Bgqf/v7/b/MDCQ/wAAdv8AAHb/AACM/wAAjv8AAJH/AACT/wAAlf8gIKX//////2Bguv8AAIf/AAB4/2Bgqf/v7/b/MDCQ/wAAdv8AAHb/AAB2/wAAjv8AAJD/AACS/wAAlf8AAJf/AACZ/9/f8///////YGDD/5+f3P//////YGCv/wAAdv8AAHb/AAB2/wAAdv8AAI//AACS/wAAlP8AAJf/AACZ/zAwrf////
SIMTIME SOURCE CALL SOURCE CHANGE_TRIGGER STACK TREE TOP
1.01 B_AH-1Z_H1 null ADD_GOAL
default
TacAirCycle true
fires
B_RW_BasicBehavior true
3.0 B_AH-1Z_H1 null ADD_GOAL
default
TacAirCycle true
fires
@kastork
kastork / gist:55d4cbb76b016d44d260
Created October 2, 2014 14:56
Enable Internet Explorer Developer Tools
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\IEDevTools]
"Disabled"=-
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\IEDevTools]
"Disabled"=-
@kastork
kastork / index.htm
Created February 18, 2014 16:36 — forked from bennadel/index.htm
Group-by workaround for Angular
<!doctype html>
<html ng-app="Demo" ng-controller="DemoController">
<head>
<meta charset="utf-8" />
<title>
Grouping Nested ngRepeat Lists In AngularJS
</title>
</head>
<body>
@kastork
kastork / AddLiferayUsers.groovy
Last active December 14, 2015 23:09
Liferay Batch user addition using Groovy and the Liferay JSON-WS API
// We assume that the input file 'users.csv' is a three field
// comma separated list of users
// John Q. User, john@example.com, password_ofjohn
//
// Password can be empty, but the csv still needs a field there
//
// John Q. User, john@example.com,
// (note the trailing comma)
//
// The name field must have at least two tokens. If there are three or more
@kastork
kastork / gist:5118301
Created March 8, 2013 17:44
Add a Liferay user via JSON Web Service
@Grab(group='com.github.groovy-wslite', module='groovy-wslite', version='0.7.2')
import wslite.rest.*
import wslite.http.auth.*
println "This is the add user script"
def client = new RESTClient("http://localhost:8080/api/jsonws/")
client.authorization = new HTTPBasicAuthorization("test@liferay.com", "test")
client.httpClient.sslTrustAllCerts = true