This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-01-30 23:49:24.044 ERROR 1 --- [eHandlerPool-20] c.n.s.orca.q.handler.RunTaskHandler : [] Error running SavePipelineTask for orchestration[837934b2-aa79-4401-9f21-1b03bbc6eedd] | |
retrofit.RetrofitError: 403 | |
at retrofit.RetrofitError.httpError(RetrofitError.java:40) | |
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:388) | |
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) | |
at com.sun.proxy.$Proxy105.savePipeline(Unknown Source) | |
at com.netflix.spinnaker.orca.front50.tasks.SavePipelineTask.execute(SavePipelineTask.java:80) | |
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1.invoke(RunTaskHandler.kt:66) | |
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1.invoke(RunTaskHandler.kt:43) | |
at com.netflix.spinnaker.orca.q.handler.AuthenticationAwareKt$sam$Callable$599eb315.call(AuthenticationAware.kt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
[master] burdz@~/work/code/repos/spinnaker-templates: cat examples/bakeAndTagExample.yaml | |
--- | |
schema: "1" | |
pipeline: | |
application: samplespinnakerpipeline | |
name: Bake samplespinnakerpipeline | |
template: | |
source: spinnaker://bakeAndTagRoot | |
variables: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[master] burdz@~/work/code/repos/spinnaker-templates: cat examples/bakeAndTagExample.yaml | |
--- | |
schema: "1" | |
pipeline: | |
application: samplespinnakerpipeline | |
name: Bake samplespinnakerpipeline | |
template: | |
source: spinnaker://bakeAndTagRoot | |
variables: | |
jenkinsJob: "DevOps/job/mulesoft-ops/job/sample-spinnaker-app/job/master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
schema: "1" | |
pipeline: | |
application: samplespinnakerpipeline | |
name: Bake samplespinnakerpipeline | |
template: | |
source: spinnaker://bakeAndTagRoot | |
variables: | |
jenkinsJob: "DevOps/job/mulesoft-ops/job/sample-spinnaker-app/job/master" | |
extendedAttributes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
schema: "1" | |
id: bakeAndTagRoot | |
metadata: | |
name: Bake And Tag Pipeline | |
description: |- | |
Defines a pipeline that bakes and tags an AMI. This template cannot be used directly. | |
owner: devops@mulesoft.com | |
scopes: [global] | |
protect: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using grep to restore accidentally deleted txt files from a disk | |
# create test file | |
echo -e '#!/bin/bash\necho this is a delete test' >> delete_test.sh | |
# make it executable && run for a test | |
chmod +x ./delete_test.sh && ./delete_test.sh | |
# delete the file | |
rm -f ./delete_test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
int main() | |
{ | |
for (;;) | |
if (GetAsyncKeyState(65)) | |
{ | |
mouse_event(2, 0, 0, 0, 1); | |
mouse_event(4, 0, 0, 0, 1); | |
Sleep(1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import boto3 | |
def getParameter(): | |
region = sys.argv[1] | |
param = sys.argv[2] | |
ssm = boto3.client('ssm', | |
region_name=region |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires docker && docker-compose | |
mkdir kolide-local && cd kolide-local | |
echo " | |
version: '2' | |
services: | |
mysql: | |
image: mysql:5.7 | |
volumes: |