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
curl -L --fail "https://hub.docker.com/v2/repositories/${DOCKERHUB_REPO}/${DOCKERHUB_IMAGE}/tags/?page_size=1000" | \ | |
jq '.results | .[] | .name' -r | \ | |
sed 's/latest//' | \ | |
sort --version-sort | \ | |
tail -n 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
build: | |
go build -o _main | |
objcopy --add-section myfile=myfile _main main |
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
#! /bin/bash | |
# This script will export the json contents of an Azure Search instance into a JSON array. | |
# The script creates local files under the directory it is executed. The result is saved to a newly created local file. | |
# The script depends on `curl` and `jq` utilities. | |
# Arguments: $1 : azure search service name, $2: azure search index name, $3: azure search admin auth key. | |
set -e -o pipefail | |
serviceName="$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
### | |
# There's a newer version available here: | |
# https://github.com/itaysk/kube-imagepuller | |
# All future updates will be made there. | |
# Please also post you questions as issues on that repo instead of commenting here | |
### | |
apiVersion: apps/v1beta2 | |
kind: DaemonSet |
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
[.Results[] | .Licenses//empty | .[]] | | |
group_by(.Name) | .[] | | |
{"license":.[1].Name, "findings":map(if .PkgName=="" then .FilePath else .PkgName end)} |
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
Function Download-GitHubRepos ([string][parameter(mandatory=$true)] $orgid, [string]$saveLocation) | |
{ | |
if (-not ([string]::IsNullOrEmpty($saveLocation))) | |
{ | |
if (-not (Test-Path $saveLocation -PathType Container)) | |
{ | |
Throw "saveLocation is invalid" | |
} | |
if (-not ($saveLocation.EndsWith('\')) -or ($saveLocation.EndsWith('/'))) | |
{ |
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
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
app.kubernetes.io/name: tracee | |
app.kubernetes.io/component: tracee | |
app.kubernetes.io/part-of: tracee | |
name: tracee | |
spec: | |
selector: |
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
Individual Contributor License Agreement | |
In order to clarify the intellectual property license granted with Contributions from any person or entity, Aqua must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Aqua and its users; it does not change your rights to use your own Contributions for any other purpose. | |
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Aqua Security Software Ltd. (“Aqua”). In return, Aqua shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its nonprofit status and bylaws in effect at the time of the Contribution. | |
Except for the license granted herein to Aqua and recipients of software distributed by Aqua, You reserve all right, title, and interest in and to Your Contributions. | |
1. Definitions. "Yo |
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
#! /usr/bin/env gawk -f | |
# convert contacts exported from Outlook.com to VCF (vCard) | |
BEGIN { FS = "," } | |
{ | |
print "" | |
print "BEGIN:VCARD" | |
print "VERSION:3.0" | |
print "KIND:individual" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
NewerOlder