Skip to content

Instantly share code, notes, and snippets.

@johnfedoruk
johnfedoruk / clamd-setup.md
Last active November 16, 2025 12:59
Setting up ClamAV

ClamAV Setup Notes

Context

ClamAV can be used in a few different ways. Most importantly, it provides the ability to scan files in realtime (on-access) or to scan the file system periodically.

I tried configuring ClamAV to both perform on-access virus scanning and to perform nightly full filesystem scanning. Using the on-access option did not prove to be very useful, however a scheduled full system scan seems to be of value.

Here is my story.

@DerFichtl
DerFichtl / clamav-macosx.md
Last active October 24, 2025 00:34
clamav on mac osx - install and configure the virus scanner on mac osx
layout title published tags
post
clamav - install and configure on mac osx
true
blog
clamav

Install Clamav

Install clamav via homebrew

@mrk-han
mrk-han / movie-to-gif.md
Last active October 7, 2023 11:54
Convert (Screen Capture) .mov files to GIF format using Ffmpeg and Gifsicle. Put GIFs into JIRA and Slack with ease! MacOS

Convert (Screen Capture) .mov files to GIF format using Ffmpeg and Gifsicle (MacOS)

Prompts for path to .mov and allows user to enter a .gif name. Then converts that .mov file to a .gif and saves to ~/Downloads/.

Inspired by: https://gist.github.com/dergachev/4627207

To use:

  • Save the code from this gist into a file and name it something like convert_movie_to_gif.sh, and then run chmod +x ./convert_movie_to_gif.sh to make it executable.
    • If gifsicle isn't installed, the script will tell you.
@alinetskyi
alinetskyi / clam.sh
Created July 24, 2019 12:02
ClamAV installation script on CentOS
#!/bin/bash
# Install ClamAV and all the dependencies
yum install -y clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd
# Configure SEL to be used with ClamAV
setsebool -P antivirus_can_scan_system 1
# Configure ClamAV
cp /usr/share/clamav/template/clamd.conf /etc/clamd.d/clamd.conf
@mrk-han
mrk-han / emulator-install-using-avdmanager.md
Last active November 26, 2025 12:38
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

TL;DR

For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"

@swapnilshrikhande
swapnilshrikhande / ElementData.java
Last active July 7, 2023 17:27
Parent base class for all webdriver test. Logic to create instance of webdriver and clean up webdriver.
package com.eternussolutions;
import org.openqa.selenium.By;
import java.util.HashMap;
public class ElementData {
public String value;
public By selector;
public HashMap<String,By> selectors;
public String triggerEvent;