Skip to content

Instantly share code, notes, and snippets.

@babywyrm
babywyrm / README.md
Created March 5, 2020 23:17 — forked from hofmannsven/README.md
Git Cheatsheet
@babywyrm
babywyrm / AESCipher.py
Created March 3, 2020 19:56 — forked from swinton/AESCipher.py
Encrypt & Decrypt using PyCrypto AES 256 From http://stackoverflow.com/a/12525165/119849
#!/usr/bin/env python
import base64
from Crypto import Random
from Crypto.Cipher import AES
BS = 16
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS)
unpad = lambda s : s[0:-ord(s[-1])]
@babywyrm
babywyrm / clamav-mac.md
Created February 14, 2020 01:16 — forked from Uchean/clamav-mac.md
Get ClamAV running on Mac OS X (using Homebrew)

Get ClamAV running on Mac OS X (using Homebrew)

The easiest way to get the ClamAV package is using Homebrew

$ brew install clamav

Before trying to start the clamd process, you'll need a copy of the ClamAV databases.

Create a freshclam.conf file and configure as so