Skip to content

Instantly share code, notes, and snippets.

View skywalkerisnull's full-sized avatar

Ashley skywalkerisnull

View GitHub Profile
@skywalkerisnull
skywalkerisnull / Temp and RH.yaml
Created January 22, 2024 21:39
Home assistant temp and relative humidity
type: custom:apexcharts-card
yaxis:
- id: first
- id: second
opposite: true
header:
show: true
title: Temp and RH
show_states: true
colorize_states: true
@skywalkerisnull
skywalkerisnull / gist:f1daad5201bf0114d467592a84fc1d5a
Created August 5, 2023 02:11
C:\Program Files (x86)\ossec-agent\ossec.log
This file has been truncated, but you can view the full file.
2023/08/05 11:02:50 wazuh-agent: INFO: Starting new log after rotation.
2023/08/05 11:02:51 wazuh-agent: INFO: Agent is now online. Process unlocked, continuing...
2023/08/05 11:02:51 wazuh-agent: ERROR: Could not get message for (Application)
2023/08/05 11:02:51 wazuh-agent: ERROR: Could not get message for (Application)
2023/08/05 11:02:51 wazuh-agent: INFO: Agent is now online. Process unlocked, continuing...
2023/08/05 11:02:51 rootcheck: INFO: Starting rootcheck scan.
2023/08/05 11:02:51 wazuh-agent: INFO: Agent is now online. Process unlocked, continuing...
2023/08/05 11:02:51 wazuh-agent: ERROR: Could not get message for (Application)
2023/08/05 11:02:51 wazuh-agent: ERROR: Could not get message for (Application)
2023/08/05 11:02:51 wazuh-agent: ERROR: Could not get message for (Application)
@skywalkerisnull
skywalkerisnull / ossec.log
Created August 5, 2023 02:00
cat /var/ossec/logs/ossec.log | grep -i 'vuln'
2023/08/05 01:55:41 wazuh-modulesd[35923] wmodules-vuln-detector.c:656 at wm_vuldet_read_provider(): DEBUG: Added canonical (bionic) feed. Interval: 3600s | Path: 'none' | Url: 'none' | Timeout: 300s
2023/08/05 01:55:41 wazuh-modulesd[35923] wmodules-vuln-detector.c:656 at wm_vuldet_read_provider(): DEBUG: Added canonical (focal) feed. Interval: 3600s | Path: 'none' | Url: 'none' | Timeout: 300s
2023/08/05 01:55:41 wazuh-modulesd[35923] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s
2023/08/05 01:55:41 wazuh-modulesd[35923] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s
2023/08/05 01:55:45 wazuh-modulesd[36006] wmodules-vuln-detector.c:656 at wm_vuldet_read_provider(): DEBUG: Added canonical (bionic) feed. Interval: 3600s | Path: 'none' | Url: 'none' | Timeou
Starting copying files to remote machine.
[rsync] rsync -t --delete --delete-excluded -v -r --exclude=.vs --exclude=.git --exclude=out -8 "." rsync://ubuntu@localhost:65405/-home-ubuntu-.vs-boost_log_troubleshooting-ba191def-c91c-4ff0-91bf-cadc813132a3-src
[rsync] sending incremental file list
[rsync] deleting lib/
[rsync] deleting bin/
[rsync] ./
[rsync]
[rsync] sent 453 bytes received 37 bytes 196.00 bytes/sec
[rsync] total size is 31,759 speedup is 64.81
Finished copying files (elapsed time 00h:00m:08s:804ms).
@skywalkerisnull
skywalkerisnull / parallel_model.py
Created July 1, 2019 04:47
Be able to use the multi-gpu on Keras 2.2.4
"""
Mask R-CNN
Multi-GPU Support for Keras.
Copyright (c) 2017 Matterport, Inc.
Licensed under the MIT License (see LICENSE for details)
Written by Waleed Abdulla
Ideas and a small code snippets from these sources:
https://github.com/fchollet/keras/issues/2436