Skip to content

Instantly share code, notes, and snippets.

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 / {
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 / Firefox Userstyle.css
Created March 20, 2021 21:20
Firefox Userstyle
@namespace "";
/* Hide close button on tabs */
#tabbrowser-tabs .tabbrowser-tab .tab-close-button { display:none !important; }
#TabsToolbar, .tabbrowser-tab {
max-height: 20px !important;
font-size: 11px;
Marfjeh /
Created October 21, 2020 07:43

Oh hi there, I'm Marf

This is my Github page. There is not much to see here. x)

My github is only used for some hobby projects that probably never completes anyways :D And some projects are a bit really sarcastic. As you may not know I really really really hate wordpress.

I do have intrest in embedded devices, but started as simple devices as Arduino.

But, There is not alot activity because i mainly work on a private git server, and the projects here are just random stuff I made or was trying something new

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
@media print {
.no-print { display: none; }
@media screen {
.print-only { display: none; }
<p class="no-print">Press Ctrl+P to print</p>
Marfjeh / hosts
Last active June 28, 2021 04:52
Marf's hosts file - I'm using this to make it easy for myself to copy hosts between systems. as you can see, I REALLY REALLY REALLY hate ads.