Skip to content

Instantly share code, notes, and snippets.

View ioagel's full-sized avatar

Ioannis Angelakopoulos ioagel

View GitHub Profile
@ioagel
ioagel / archlinux-qemu-kvm.md
Created May 9, 2025 22:36 — forked from tatumroaquin/archlinux-qemu-kvm.md
QEMU-KVM Installation for Arch Linux

QEMU-KVM in Arch Linux

Check Virtualization Support

lscpu | grep -i Virtualization
  • VT-x for Intel
  • AMD-Vi for AMD

Ensure that your kernel includes KVM modules

@ioagel
ioagel / remotepaste.md
Created November 3, 2019 16:18 — forked from burke/remotepaste.md
This sets up keybindings in tmux that allow you to copy/paste to/from your OS X clipboard from tmux running inside an SSH connection to a remote host. Partially borrowed from http://seancoates.com/blogs/remote-pbcopy

Local (OS X) Side

~/Library/LaunchAgents/pbcopy.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
     <key>Label</key>
     <string>localhost.pbcopy</string>
@ioagel
ioagel / encrypt_openssl_files.md
Last active May 9, 2025 19:27 — forked from dreikanter/encrypt_openssl.md
File encryption using OpenSSL

Private/Public key Creation

# Generate a new RSA 4096bit(default is 2048bits) key
# and encrypt it with a passphrase based on AES CBC 256 cipher:
openssl genrsa -aes256 -out private_key.pem 4096

# Generate a new RSA 4096bit(default is 2048bits) key without a passphrase:
openssl genrsa -out private_key.pem 4096

extract the Public key