Skip to content

Instantly share code, notes, and snippets.

View jmarcet's full-sized avatar

Javier Marcet jmarcet

  • Amsterdam, Netherlands
View GitHub Profile
@ruffle-b
ruffle-b / README.txt
Last active July 20, 2020 13:53 — forked from mwvent/README.txt
zmrecord
The original Zoneminder Forum thread about all this is here:
https://forums.zoneminder.com/viewtopic.php?f=9&t=27537&p=107235#p107235
Many thanks to Matt Watts for his improvements.
@dreikanter
dreikanter / encrypt_openssl.md
Last active June 20, 2024 10:15 — forked from crazybyte/encrypt_openssl.txt
File encryption using OpenSSL

Symmetic encryption

For symmetic encryption, you can use the following:

To encrypt:

openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt

To decrypt:

@bitjockey42
bitjockey42 / 00_OSX_Docker_Machine_Setup.md
Last active November 9, 2020 13:49 — forked from andystanton/Start up local Docker Machine on OSX automatically.md
Use native virtualization on OS X docker with xhyve

What this?

So one of the painful points of using docker on OS X is that you need to run a virtualbox VM, which often suffers from performance issues. With xhyve, a OS X virtualization system, and docker-machine-xhyve you can now have docker use the native OS X hypervisor to run containers.

No more dealing with virtualbox shenanigans!

In this script, I've also set up a way to autoconfigure terminal sessions to load docker's environment vars (dependent on docker-machine) so you do not have to run eval $(docker-machine env whatever) every time you open a new terminal window.

Requirements