Skip to content

Instantly share code, notes, and snippets.

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

Robert Schiriac robiXxu

🏠
Working from home
View GitHub Profile
@robiXxu
robiXxu / fpf12h.ino
Created June 16, 2026 21:26 — forked from ulitiy/fpf12h.ino
FatPetFeeder every 12 hours
#include <Servo.h>
#define second 1000
#define minute 60000
#define hour 3600000
Servo servo;
const int servoPin = 9;
const int buttonDispensePin = 7;
const int buttonMinusPin = 6;
const int buttonPlusPin = 8;
@augustin-laurent
augustin-laurent / rocm_arch_guide.md
Last active June 27, 2026 22:49
ROCm Installation guide on Arch
Date of the guide : April, 2026

Introduction

In this post, I will provide the solution that worked on my system on how to install Radeon Open Compute (ROCm) on Arch (linux- 6.19.11.arch1-1) for RX 6900 XT (Should work on other 6000 series and more recent). ROCm is an open-source software platform that allows GPU-accelerated computation. This tool is a prerequist to use GPU Acceleration on TensorFlow or PyTorch.

Prerequisites

@sounishnath003
sounishnath003 / concurrentProcessExecutor.js
Last active August 25, 2022 17:49
Easily perform Concurrent Execution to LongRunning Processes using Simple ConcurrentQueue. Feel free to improve and share feedback.
const delay = (seconds = 1) =>
new Promise((resolve, reject) =>
setTimeout(() => {
resolve("process completed...");
}, seconds * 1000)
);
const tasks = [
delay(1),
delay(4),
@Mluckydwyer
Mluckydwyer / opengl-in-wsl.md
Last active April 18, 2026 14:50
Install OpenGL on Ubuntu in WSL

How to Install OpenGL in Ubuntu in WSL2

These steps have been tested on Windows 10 with WSL2 running Ubuntu.

1. Dependencies

First install the dependencies:

apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev

There are more than we need, but also include GLut and Glu libraries to link aginst during compilation for application development (these can be removed if that functionality is not required).

@Nurgiel
Nurgiel / wow-macros.md
Last active July 20, 2025 06:42
WoW Macros

Classic/SoD/Turtle WoW Macros

Equip item if rune not equipped and cast Living Bomb

#showtooltip Living Bomb
/run if not C_Engraving.IsRuneEquipped(48197) then C_Container.PickupContainerItem(0,2); PickupInventoryItem(5) end
/startattack [harm, nodead]
/cast [@mouseover, exists, harm, nodead][harm, nodead] Living Bomb
@Gavinok
Gavinok / config.py
Last active June 29, 2026 02:09
This is a simplified version of my qutebrowser config
import subprocess
import os
from qutebrowser.api import interceptor
"""
qutebrowser settings for video
for more settings check out
https://qutebrowser.org/doc/help/settings.html
"""
// resources: https://del.dog/v/edypeginge.js
// https://www.hackerfactor.com/blog/?/archives/432-Looks-Like-It.html
// https://sharp.pixelplumbing.com/api-output#raw
// https://github.com/AndrewLaneX/photohash/blob/master/photohash/photohash.py#L22-L32
const fs = require('fs');
const sharp = require('sharp');
async function averageHash(filePath, hashSize = 8) {
const buffer = await fs.promises.readFile(filePath);
@sorny
sorny / x11_forwarding_macos_docker.md
Last active July 5, 2026 08:17
X11 forwarding with macOS and Docker

X11 forwarding on macOS and docker

A quick guide on how to setup X11 forwarding on macOS when using docker containers requiring a DISPLAY. Works on both Intel and M1 macs!

This guide was tested on:

  • macOS Catalina 10.15.4
  • docker desktop 2.2.0.5 (43884) - stable release
  • XQuartz 2.7.11 (xorg-server 1.18.4)
  • Macbook Pro (Intel)
@NaniteFactory
NaniteFactory / setcookie.go
Created October 21, 2019 06:30
chromedp set-cookie example
package main
import (
"context"
"fmt"
"log"
"time"
"github.com/chromedp/cdproto/cdp"
"github.com/chromedp/cdproto/network"
@llbbl
llbbl / fix_openssl_catalina.sh
Last active November 3, 2023 06:05
fix missing openssl files in catalina
#!/bin/bash
echo 'update brew'
brew update
echo 'upgrade brew'
brew upgrade