Pinned Loading
-
Log monitor with email
Log monitor with email 1#!/bin/bash
2# Monitor file for changes and send email notification
3# Usage: ./logmond.sh /path/to/file recipient@domain.com
45usage() {
-
C regex get all matches
C regex get all matches 1#include <stdio.h>
2#include <string.h>
3#include <regex.h>
45#define TEST_REGEX "^.*\\/([a-zA-Z_.]*)\\.log : [A-Z]{3} [0-9]{2}\\/[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{6} .* : (.*)$"
-
findFilesWithName.go
findFilesWithName.go 1package main
23import (
4"fmt"
5"os"
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.