Skip to content

Instantly share code, notes, and snippets.

View fuzunspm's full-sized avatar
🎯
Focusing

Hüseyin Fahri Uzun fuzunspm

🎯
Focusing
View GitHub Profile
@TalalMash
TalalMash / SuperSlicer (3GB RAM) or Cura (5GB RAM) on Android (64 bit)
Last active April 17, 2024 19:08
SuperSlicer (3GB RAM) or Cura (5GB RAM) on Android (64 bit)
ETA setup: ~1 hour.
1. Install termux and follow https://ivonblog.com/en-us/posts/termux-compile-mesa-driver/
2. Add startx file in home directory with the following content:
#!/bin/sh
termux-x11 &
udroid -l xfce4
3. Add startx file inside Ubuntu home directory with the following content:
@PhilipSchmid
PhilipSchmid / kvm-windows-10-guest-ultrawide-resolution.md
Last active April 26, 2024 17:58
3440x1440 resolution for Windows 10 KVM VM

Configure a Windows 10 KVM Guest to use an ultrawide display resolution (3440x1440)

  1. virsh edit Windows10
  2. Navigate to the <video> section and change it to the following one:
    <video>
      <model type='qxl' ram='131072' vram='131072' vgamem='32768' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
@TheJJ
TheJJ / idracclient.py
Last active April 11, 2024 17:26
Dell iDRAC linux/mac/windows client launcher
#!/usr/bin/env python3
"""
Dell iDRAC client launcher for Linux, macOS and Windows.
probably works with Dell iDRAC 6/7/8
Downloads needed Java files and sets up port forwarding via SSH.
example usage: ./idracclient.py -J jumphost.lol.domain srv42-serviceprocessor.lol.domain
for more info, see ./idracclient.py --help
@mik30s
mik30s / webcam_capture.cpp
Last active October 16, 2023 05:06
Simple C++ program to capture a webcam frame in Linux
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <linux/ioctl.h>
#include <linux/types.h>
#include <linux/v4l2-common.h>
#include <linux/v4l2-controls.h>
#include <linux/videodev2.h>
#include <fcntl.h>
#include <unistd.h>