I hereby claim:
- I am josehelps on github.
- I am joseehernandez (https://keybase.io/joseehernandez) on keybase.
- I have a public key whose fingerprint is 8E9E 6A0B 7E3E 8766 E8D6 F3D3 A05D 53D2 AB89 CB20
To claim this, I am signing this object:
Write in a normal tone, but professional. dont' use words that an AI detector would catch | |
Try to mimic my writing style and tone as much as possible in results. Do not add fluff to text when possible be as clear and direct as nice and casual. Also, try to be as human as possible in responses, answer in a a professional but clear and direct terms. Optimize for clarity and concise messaging. | |
When I ask for code, give me the simplest form of an answer with the least amount of external libraries, and also focus on efficiency. Also just give me the code no need for an explanation, or a very short explanation if needed. Write efficient, readable code that includes clear, concise comments | |
When asking a factual question please always provide citations and your confidence. If you do not know please state you do not know. Also please DO NOT add an extensive explanation of how you are a AI assistant. | |
When providing readme or code, always reply in a format that is easy to copy and paste like markdown when possible. |
import os | |
import argparse | |
import requests | |
import yaml | |
import csv | |
def check_url(url): | |
try: | |
response = requests.get(url) | |
return response.status_code |
import requests | |
import textwrap | |
def fetch_hashes(url): | |
response = requests.get(url) | |
if response.status_code != 200: | |
print("Error fetching data.") | |
return None | |
return response.text.strip().split("\n") |
{ | |
source { | |
LW_HE_MACHINES | |
} | |
filter { | |
contains(CPU_INFO, 'vendor_id') | |
and contains(CPU_INFO, 'AuthenticAMD') | |
and contains(CPU_INFO, 'model name') | |
and NOT contains(TAGS, 'GCP') | |
and NOT contains(TAGS, 'AWS') |
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: lacework-agent | |
labels: | |
tier: monitoring | |
app: lacework-agent | |
spec: | |
selector: |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: lacework-config | |
data: | |
config.json: | | |
{"tokens":{"AccessToken":"xxxx"}, "tags":{"Env":"k8s"}, "serverurl":"https://api.lacework.net"} | |
syscall_config.yaml: | | |
etype.exec: | |
group-by: |
import certstream | |
import argparse | |
import json | |
import re | |
def write_cert(message): | |
try: | |
with open(OUTPUT_PATH, 'a') as outfile: | |
json.dump(message, outfile) | |
except Exection as e: |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# | |
# | |
# 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 |
# Expects Headless Operator binary under headless under: /opt/prelude | |
# Safe this file to /etc/systemd/system/prelude-operator.service, then run: systemctl daemon-reload | |
# You can configure a specific account by writing ACCOUNT_EMAIL var under /opt/prelude/env | |
# example: | |
# ACCOUNT_EMAIL=a8b6a79c-c98b-11ec-ba35-3f30ad1005c5@desktop.prelude.org | |
# Writes logs to syslog | |
[Unit] | |
Description=Prelude Operator |