Skip to content

Instantly share code, notes, and snippets.

View CyberSys's full-sized avatar

John RaM CyberSys

View GitHub Profile
@CyberSys
CyberSys / vscode-extension-offline.md
Created May 11, 2025 21:46 — forked from wanglf/vscode-extension-offline.md
Download VS Code extensions as VSIX

How to use?

  • Copy content of vsix-bookmarklet, create a bookmark in your browser.
  • Navigate to the web page of the VS Code extension you want to install.
  • Click the bookmark you just created, then click the download button.
    download
  • After download finished, rename the file extension to *.vsix.
  • In VS Code, select Install from VSIX... in the extension context menu.
    vsc
@CyberSys
CyberSys / README.md
Created March 12, 2025 13:55 — forked from lxe/README.md
How to get oobabooga/text-generation-webui running on Windows or Linux with LLaMa-30b 4bit mode via GPTQ-for-LLaMa on an RTX 3090 start to finish.

How to get oobabooga/text-generation-webui running on Windows or Linux with LLaMa-30b 4bit mode via GPTQ-for-LLaMa on an RTX 3090 start to finish.

This guide actually works well for linux too. Just don't bother with the powershell envs

  1. Download prerequisites

  2. (Windows Only) Open the Conda Powershell.

@CyberSys
CyberSys / FreeBSD-Nvidia-510.md
Created January 31, 2025 14:13 — forked from Mostly-BSD/FreeBSD-Nvidia-510.md
Step-by-step instructions on installing the latest NVIDIA drivers on FreeBSD 13.0 and above.

How to get the Latest NVIDIA drivers on FreeBSD

Step-by-step instructions on installing the latest NVIDIA drivers on FreeBSD 13.0 and above.

1.0 Clean Up Existing Drivers

IMPORTANT: Log out of X session. Make sure you Desktop Manager (sddm|slim) is off. You need to be on the console.

# Create a boot env incase we need to rollback
sudo bectl create `date +%Y%m%d`-BeforeNvidia-Upgrade
@CyberSys
CyberSys / Dockerfile
Created January 24, 2025 03:42 — forked from xiris/Dockerfile
Docker & Radmin VPN
FROM ubuntu:20.04
# Specify a workdir, to better organize your files inside the container.
WORKDIR /radminvpn
# Update package lists and install required packages
RUN apt-get update && \
apt-get install -y wget software-properties-common gnupg2 winbind xvfb
# Add Wine repository and install Wine
@CyberSys
CyberSys / pulseaudio-equalizer-setup.sh
Created December 25, 2024 23:09 — forked from leogama/pulseaudio-equalizer-setup.sh
Script to setup PulseAudio equalizer module + qpaeq GUI as a desktop application
#!/bin/sh -ux
# This is a small script to setup the PulseAudio equalizer as a desktop
# application that runs just when the 'qpaeq' GUI is open.
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or distribute
# this software, either in source code form or as a compiled binary, for any
# purpose, commercial or non-commercial, and by any means.
@CyberSys
CyberSys / quixel.py
Created September 21, 2024 05:08 — forked from ad044/quixel.py
import requests
import time
token = TOKEN
def get_assets(page):
url = "https://6UJ1I5A072-2.algolianet.com/1/indexes/assets/query?x-algolia-application-id=6UJ1I5A072&x-algolia-api-key=e93907f4f65fb1d9f813957bdc344892"
params = {
@CyberSys
CyberSys / HydraulicControl.cs
Created September 3, 2024 02:45
Lowrider Car Hydraulic Controller for Unity
//ref link https://youtu.be/xXSa5KISHUA?si=5Fany7cl-o9e3GQv
using UnityEngine;
public class HydraulicControl : MonoBehaviour
{
public WheelCollider leftWFront, rightWFront, rightWRear, leftWRear;
public float originalDistance;
public float lowrideDistance;
@CyberSys
CyberSys / getopt.c
Created August 25, 2024 03:25 — forked from ashelly/getopt.c
"Port of GNU getopt() to Win32 for anyone who's tired of dealing with getopt() calls in Unix-to-Windows ports." Ported by Pete Wilson. Recovered from the Internet Archive's snapshot of www.pwilson.net/sample.html.
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public