Skip to content

Instantly share code, notes, and snippets.

View away168's full-sized avatar

Andrew Way away168

  • env0
  • San Mateo, CA
View GitHub Profile
@away168
away168 / gist:4666200
Created January 29, 2013 17:59
My MD Version | 01/29/2013
MonoDevelop 3.1.1
Installation UUID: 018d37d8-1d29-49bf-ae22-3ef7eca69783
Runtime:
Mono 2.10.9 (tarball)
GTK 2.24.10
GTK# (2.12.0.0)
Package version: 210090011
Mono for Android: 4.5.204
Android SDK: /Users/away/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
@away168
away168 / gist:5157686
Created March 14, 2013 00:05
CameraAppDemo Crash
error opening trace file: No such file or directory (2)
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v2.0.50727
GREF GC Threshold: 46800
Grow heap (frag case) to 42.345MB for 23970832-byte allocation
Forcing collection of SoftReferences for 23970832-byte allocation
Out of memory on a 23970832-byte allocation.
--- decoder->decode returned false
UNHANDLED EXCEPTION: Java.Lang.OutOfMemoryError: Exception of type 'Java.Lang.OutOfMemoryError' was thrown.
@away168
away168 / gist:7036824
Created October 18, 2013 05:19
Olark transcript with "Zakir Hussain" aka Vivek
s| Zakir Hussain
vuongsieunhan@hotmail.comSend an E-Mail with Tout
chatted for 297 words with Andrew October 17 09:34 PM (GMT-08:00) Pacific Time (US & Canada)
Referrer not given 9:34
Started chatting from https://store.xamarin.com/account/my/subscription/billing
Andrew Hi! My name is Andrew, I see that you're having trouble checking out
Is there anything I can do to help?
s| Zakir Hussain Hi Andrew. Yes, I can't active Xamrin license 9:36
Andrew I see. 9:37
can you tell me the email address you used to purchase your licenses.
"LionTodo" = "LionTodo";
"<new task>" = "<新工作>";
"Task Details" = "工作內容";
"Name" = "名稱";
"task name" = "工作名稱";
"Notes" = "筆記";
"other task info"= "其他工作信息";
"Done" = "完成";
@away168
away168 / DebugOutput
Created February 25, 2014 05:34
Debug Output using WebClient - experiencing 3 second delay on initial call.
Forwarding debugger port 8845
Forwarding console port 8846
Detecting existing process
[Trace] error opening trace file: Permission denied (13)
[Mono] Image addref mscorlib[0x4e310378] -> mscorlib.dll[0x5152c588]: 1
[Mono] AOT failed to load AOT module mscorlib.dll.so: Cannot load library: load_library[1093]: Library '/data/data/MyApp/lib/mscorlib.dll.so' not found
[Mono] GC_MAJOR: (mature allocation failure) pause 2.99ms, total 2.99ms, bridge 0.03ms major 112K/32K los 0K/0K
[Mono] Assembly mscorlib[0x4e310378] added to domain RootDomain, ref_count=1
[Mono] Assembly Loader probing location: '/data/data/MyApp/files/.__override__/MyApp.Droid.dll'.
[Mono] Image addref MyApp.Droid[0x5142bd98] -> /data/data/MyApp/files/.__override__/MyApp.Droid.dll[0x5142b0a0]: 2
[Activity(Label = "Problem Location", Icon = "@drawable/icon", MainLauncher = false)]
public class ProblemLocationActivity : Activity
{
TextView problemLocationCoordinates;
MapFragment mapFragment;
#region Overrides
protected override void OnCreate(Bundle bundle)
{
try
@away168
away168 / clouddriver.log
Created May 29, 2019 15:10
CloudDriver Error - Custom Webhook Stage to update lambda
2019-05-29 15:07:31.008 WARN 1 --- [0.0-7002-exec-1] c.n.s.c.c.OperationsController : No validator found for operation `UpdateLambdaFunctionCodeDescription` and cloud provider aws
2019-05-29 15:07:31.009 WARN 1 --- [0.0-7002-exec-1] c.n.s.c.deploy.DescriptionAuthorizer : No application(s) specified for operation with account restriction (type: UpdateLambdaFunctionCodeDescription, rawJson: {"account":"aws","credentials":"aws","functionName":"${parameterValues['functionName']}","publish":true,"region":"${parameterValues['region']}","s3Bucket":"${parametersValues['bucketname']}","s3Key":"${parameterValues['key']}"})
2019-05-29 15:07:31.016 INFO 1 --- [ol-41-thread-22] c.n.s.c.data.task.jedis.JedisTask : [ORCHESTRATION] Processing op: UpdateLambdaCodeAtomicOperation
2019-05-29 15:07:31.018 INFO 1 --- [ol-41-thread-22] c.n.s.c.data.task.jedis.JedisTask : [UPDATE_LAMBDA_FUNCTION_CODE] Initializing Updating of AWS Lambda Function Code Operation...
2019-05-29 15:07:31.029 INFO 1 --- [
@away168
away168 / orca-local.yml
Created May 29, 2019 15:12
Custom Webhook Stages for Lambda
webhook:
preconfigured:
- label: Lambda - Get Functions
type: lambdaGetFunctions
enabled: true
description: Get Lambda Functions
method: GET
url: http://spin-clouddriver:7002/functions
customHeaders:
Accept:
@away168
away168 / lambdahowto.md
Created May 29, 2019 20:15
lambda howto
date title categories description type
2019-05-29
AWS Lambda & Custom Webhook Stages
AWS
How to enable AWS Lambda and use a custom webhook stage to update your Lambda code.
Document

Background

Background Policy Engine enables pipeline management policies Requirements

  • Cluster Admin
  • Spinnaker instance Setup Instructions:
  1. Add opa setting to .hal/default/profilesfront50-local.yml
  2. Modify yaml manifest if deploying to namespace only:
  3. Deploy yaml manifest ^