rm -r ~/.pki/nssdb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script for converting a folder of MXF video files to different to a single MP4 file. | |
| # Alexander Refsum Jensenius, RITMO, University of Oslo | |
| # v0.1 2019-11-03 | |
| # Find and move all MXF files to the "root" (where the script is run from) | |
| find . -name "*.MXF" -exec mv {} . ";" | |
| # Create list of files to be used for concatenation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: | |
| openssl aes-256-cbc -salt -a -d -in encrypted.txt -out plaintext.txt | |
| For Asymmetric encryption you must first generate your private key and extract the public key. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # vim: syntax=config | |
| ########### | |
| # General # | |
| ########### | |
| priority=high | |
| input-ipc-server=/tmp/mpvsocket # listen for IPC on this socket | |
| load-stats-overlay=yes # use local stats.lua |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########### | |
| # General # | |
| ########### | |
| vo=libmpv | |
| cocoa-force-dedicated-gpu=yes | |
| #load-stats-overlay=no | |
| # OpenGL settings | |
| gpu-api=opengl |
I use Homebrew for package management, so the instructions here work with that. You could probably get p7zip and atool another way if you want.
- install p7zip with homebrew:
brew install p7zip - install atool with homebrew:
brew install atool - extract individual files from .7z archives to current directory:
atool -X . -e -E *.7z - delete or move the .7z files:
rm *.7z - archive each file into its own ZIP archive using
findandatool:find . -d 1 -type f -exec atool -a -F 7z -E -e {} ';' - delete the uncompressed rom files. They should have a common file extension, which you'll need to change depending on the ROM type. For example, I needed to delete a bunch of .gb and .gbc files:
rm *.gb; rm *.gbc
I hereby claim:
- I am fannar on github.
- I am fannar (https://keybase.io/fannar) on keybase.
- I have a public key whose fingerprint is 40BB B9C9 7E42 3FA0 4C58 94F4 04D9 977E 6F8C 26C5
To claim this, I am signing this object:
NewerOlder