Skip to content

Instantly share code, notes, and snippets.

View ryanilano's full-sized avatar

Ryan Ilano ryanilano

View GitHub Profile
@ryanilano
ryanilano / README.md
Created August 7, 2025 19:31 — forked from NorkzYT/README.md
Proxmox CIFS Share Mount Wizard Script

Proxmox LXC ⇆ CIFS Mount Wizard

proxmox-lxc-cifs-share.sh is an interactive helper that mounts a network CIFS/SMB share on a Proxmox VE node and bind-mounts it into one or more unprivileged LXC containers in one pass.
It automates:

  1. Creating a host-side mountpoint under /mnt/lxc_shares/<folder>.
  2. Writing a properly-tuned /etc/fstab entry (systemd.automount, uid/gid mapping, etc.).
  3. Mounting the share immediately.
  4. Injecting the bind-mount (mpX:) into the live LXC configuration with pct set.
  5. Stopping and restarting each container to apply the mount.

How to setup a minimal X11 environment on Debian GNU/Linux

  1. Install the following packages

    • xserver-xorg-core (server)
    • xserver-xorg-video-XXX (video driver, XXX depends on your hardware)
    • xserver-xorg-input-XXX (input device driver, XXX depends on your hardware. evdev works well for most cases)
    • x11-xserver-utils (xmodmap, xrandr)
    • x11-xkb-utils (setxkbmap)
  • x11-utils (xdpyinfo, xev, xkill, xprop, xwininfo)
@ryanilano
ryanilano / export.sh
Created November 3, 2024 18:30 — forked from zhiyue/export.sh
Export apps installed by brew, brew cask and Mac App Store(using mas)
#!/bin/bash
echo -e '#!/bin/bash\n' > list.sh
echo -e '########### Brew Install List ###########' >> list.sh
brew leaves | sed 's/^/brew install /' >> list.sh &&
echo -e '\n########### Brew Cask Install List ###########' >> list.sh &&
brew cask list | sed 's/^/brew cask install /' >> list.sh &&
echo -e '\n########### Mac App Store Install List ###########' >> list.sh &&
@ryanilano
ryanilano / docker-compose-hackintosh.md
Created April 10, 2023 14:58 — forked from slykar/docker-compose-hackintosh.md
Docker and Docker Compose on AMD OSX Hackintosh via Docker Machine

Introduction

Docker.app will complain about incompatible processor, so we will use Docker Machine.

Instalation

Download Docker for Mac (Docker.app). It contains some binaries that are necessary.

brew install virtualbox docker-machine
directory: /Volumes/red-music/music-library-beets
library: /Volumes/red-music/.config/beets/beets-library-red.db
# pluginpath: ~/Library/Python/3.7/lib/python/site-packages
# log: ~/Desktop/red-hdd.log
import:
# move imported files from source to the music directory
move: yes
quiet_fallback: skip
directory: /Volumes/red-music/music-library-beets
library: /Volumes/red-music/.config/beets/beets-library-red.db
# pluginpath: ~/Library/Python/3.7/lib/python/site-packages
# log: ~/Desktop/red-hdd.log
import:
# move imported files from source to the music directory
move: yes
quiet_fallback: skip
@ryanilano
ryanilano / ubuntu-server-setup-16.04.md
Created October 9, 2017 04:57 — forked from marcuslilja/ubuntu-server-setup-16.04.md
Server setup for Ubuntu 16.04 on Digital Ocean

Server setup for Ubuntu 16.04 on Digital Ocean

The setup installs the following software:

  • Nginx
  • MySQL
  • PHP
  • Node
  • Composer
@ryanilano
ryanilano / explorer-docker-testing.md
Last active May 18, 2017 17:48
Using Microsoft IE9 / Edge Virtual Machines for Testing Purposes

When Browserstack won't cut it...

Browserstack is great for quick visual reviews using multiple devices. Use it! Unfortunately Browserstack is unbearably slow when it comes to Firebug and Developer Tools. Good luck fixing IE11 issues in Browserstack Virtual Machine Inceptions.

Speed up CSS fixes -- Use Microsoft IE9 / Edge Virtual Machines

Test and debug Microsoft Edge and versions of IE8 through IE11 using free virtual machines you download and manage locally. Microsoft provides free virtual machine images that will run for 90 days at a time.

Download & Install: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/