Skip to content

Instantly share code, notes, and snippets.

View OmerFarukOruc's full-sized avatar
🏠
Working from home

Omer Faruk Oruc OmerFarukOruc

🏠
Working from home
View GitHub Profile
@B4rr3l-Rid3r
B4rr3l-Rid3r / gist:b03460860f2841144135c0fe8bede5be
Last active December 8, 2025 04:13
ROCm Fedora and OpenSUSE Installation + ComfyUi + SDNext + Automatic1111
#AMD ROCm Repositories
#ROCm7 fedora
#PRE
sudo dnf install dnf-plugin-config-manager
sudo crb enable
sudo dnf install python3-setuptools python3-wheel
sudo usermod -a -G render,video $LOGNAME
@YuviGold
YuviGold / scrape_whatsapp.js
Created July 10, 2024 07:31
Whatsapp Group Exporter
/*
Inspired by https://gist.github.com/shaneapen/3406477b9f946855d02e3f33ec121975
The script scrapes the members of a WhatsApp group chat and exports the data to a CSV file.
It scrolls automatically and extracts each list item in the members list with all the information available.
Then it joins this information with the indexedDB data to get the groups the member is in and if the contact's info
if it is already saved in the phone.
Steps:
1. Open WhatsApp Web
@cGandom
cGandom / RaspberryPi4-qemu.md
Last active November 27, 2025 16:14
Emulating Raspberry Pi 4 with Qemu

Emulating Raspberry Pi 4 with Qemu

Just a quick update before we dive in: what we're actually doing here is running Raspberry Pi OS (64-bit) on a QEMU virtual ARM setup. This isn't full-blown hardware emulation of the Raspberry Pi 4, but more about creating a virtual environment for the OS. It doesn't mimic all the specific hardware features of the Pi 4, but it's pretty useful and great for general testing. I turned to this solution mainly to extract a modified sysroot from the Raspberry Pi OS, something not readily available in other resources. For those looking into detailed emulation of the actual Raspberry Pi 4's hardware in QEMU, check out this link for the latest updates: https://gitlab.com/qemu-project/qemu/-/issues/1208.

Hope it helps! :D

Shortcomings: No GUI yet, only console.

Steps

@AlkindiX
AlkindiX / MEMO
Last active December 9, 2025 16:39
Run machine learning on 7900XT and 7900XTX on PyTorch
Requirements:-
1. Ubuntu 22.04
2. 7900XT or 7900XTX
Pre-requests before making any installation.
Follow step 1-3 if you installed amdgpu.
1. If you already installed redeon graphic card driver from AMD using amdgpu-install. Completely remove the driver
and connect your HDMI to motherboard. Then restart your PC
@Johannisbaer
Johannisbaer / Ubuntu 22.04_ROCm_install_guide.md
Last active June 13, 2025 17:30
My ROCm install on Ubuntu 22.04 LTS

Title: Step-by-Step Guide to Install ROCm on Ubuntu 22.04 LTS

June 8th 2023

Introduction

In this post, I will provide the solution that worked on my system on how to install Radeon Open Compute (ROCm) on Ubuntu 22.04 for 6000 series AMD GPU's. ROCm is an open-source software platform that allows GPU-accelerated computation. It's a valuable tool for those needing to perform complex computations and data-intensive tasks (e.g., machine learning / AI models).

@damico
damico / test-rocm.py
Created April 10, 2023 18:54
Script for testing PyTorch support with AMD GPUs using ROCM
import torch, grp, pwd, os, subprocess
devices = []
try:
print("\n\nChecking ROCM support...")
result = subprocess.run(['rocminfo'], stdout=subprocess.PIPE)
cmd_str = result.stdout.decode('utf-8')
cmd_split = cmd_str.split('Agent ')
for part in cmd_split:
item_single = part[0:1]
item_double = part[0:2]
@averad
averad / Stable_Diffusion.md
Last active July 10, 2025 21:20 — forked from harishanand95/Stable_Diffusion.md
Stable Diffusion on AMD GPUs on Windows using DirectML
@harishanand95
harishanand95 / Stable_Diffusion.md
Last active June 18, 2025 10:19
Stable Diffusion on AMD GPUs on Windows using DirectML
@peterwzhang
peterwzhang / DI-Corvus-Trivia.md
Last active April 9, 2025 03:09
Diablo Immortal Corvus Trivia Answers

Diablo Immortal Corvus Trivia Answers

This is a collection of the Corvus Expedition Trivia questions seen on the Pandemonium server

  1. Which demon has never been among the three Prime Evils - Azmodan
  2. This angel helped create humanity - Inarius
  3. Alive without breath. Cold as death. Never thirst but always drink. - Fish
  4. The Worldstone is known by each of these names except one - The Crystal Spear
  5. The Lord of Lies, never to be trusted, always in the shadows - Belial
  6. How many Great Evils are there - 7 great evils
  7. The more that are taken, The more left behind - Footsteps
  8. The Lord of Pain and the king of maggots - Duriel
@econeale
econeale / pcnt_example.ino
Last active January 12, 2023 01:36
Use PCNT component in Arduino Sketch
#include "driver/pcnt.h"
uint8_t pcnt_pin = 16;
unsigned long check_time = 0;
int16_t count = 0;
pcnt_config_t tac_config;
void setup() {
Serial.begin ( 115200 );