Skip to content

Instantly share code, notes, and snippets.

Marfjeh / DI.m3u
Created July 24, 2017 10:35 — forked from sim642/DI.m3u
Digitally Imported premium streams
#EXTINF:-1,Digitally Imported - Ambient
#EXTINF:-1,Digitally Imported - Big Room House
#EXTINF:-1,Digitally Imported - Breaks
Marfjeh /
Created October 17, 2019 14:01 — forked from Hengjie/
How to passthrough SATA drives directly on VMWare ESXI 6.5 as RDMs

How to passthrough SATA drives directly on VMWare EXSI 6.5 as RDMs

There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.

A word about VMWare ESXI 6.7

There is now an option while editing your VM's settings to add a New raw disk when you click `Add ha

Marfjeh / virtual_keyboard.lua
Created July 7, 2021 09:51 — forked from intrntbrn/virtual_keyboard.lua
awesomewm virtual keyboard for tablet (hackable alpha version)
-- Dependency: xdotool
-- Usage:
-- 1. Save as "virtual_keyboard.lua" in ~/.config/awesome/
-- 2. Add a virtual_keyboard for every screen:
-- awful.screen.connect_for_each_screen(function(s)
-- ...
-- local virtual_keyboard = require("virtual_keyboard")
-- s.virtual_keyboard = virtual_keyboard:new({ screen = s } )
-- ...
Marfjeh / nginx config for icecast2
Created September 7, 2021 21:45 — forked from highgain86j/nginx config for icecast2
nginx configuration for reverse-proxying icecast2 streaming server.
server {
listen 80;
listen [::]:80;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Real-IP $remote_addr;
location / {