Skip to content

Instantly share code, notes, and snippets.

View brokeDude2901's full-sized avatar
πŸͺ
Oh, what a day... what a lovely day!

α—α’αŽΆα‹αα–α¬αŽ· αŽ·α‹α–α—αααŽ₯ፈᏬᎷ brokeDude2901

πŸͺ
Oh, what a day... what a lovely day!
View GitHub Profile
@andriyudatama
andriyudatama / VS Code Disable GPU Acceleration
Last active April 21, 2025 14:51
Disable Hardware Acceleration (GPU) on Visual Studio Code
Visual Studio Code frequently crashes linux. Using NVIDIA GPU
1. Open command pallete (Ctrl + Shift + P)
2. Enter "Preferences: Configure Runtime Arguments"
3. Add config: "disable-hardware-acceleration": true
4. Restart VS Code
@lynt-smitka
lynt-smitka / fbclid-nginx.conf
Last active February 13, 2025 00:44
Remove fbclid argument from the URL in Nginx
http {
...
# redirect map in http block - remove fbclid argument from the end
map $request_uri $redirect_fbclid {
"~^(.*?)([?&]fbclid=[a-zA-Z0-9_-]+)$" $1;
}
...
@MIvanchev
MIvanchev / article.md
Last active May 24, 2025 14:52
Ever wondered what it takes to run Windows software on ARM? Then this article might be for you!
@plembo
plembo / asusb250mcfans.md
Last active May 24, 2025 16:27
Monitoring ASUS Prime B250M-C fans on Linux with lm-sensors

Monitoring ASUS Prime B250M-C fans with lm-sensors

Introduction

The lm-sensors package is the standard software used to monitor things like CPU temperature on Linux. All major distributions include this package. Basic configuration, using the sensors-detect utility, is straightforward. For many systems, running sensors-detect and accepting the defaults is enough to get full functionality.

ASUS Prime B250M-C motherboard

The basic configuration for lm-sensors will provde temperatures for the CPU and ASUS Prime B250M-C motherboard, but not fan speeds.

@AdrianKoshka
AdrianKoshka / make_ipxe_uefi_usb.md
Last active February 25, 2025 10:56
Making a UEFI bootable iPXE USB drive

Making a UEFI bootable iPXE USB drive

Build the UEFI executable for iPXE

# First we'll clone iPXE
$ git clone git://git.ipxe.org/ipxe.git
# Go into the src directory of the cloned git repo
$ cd ipxe/src
# Compile the UEFI iPXE executable
@jacobsalmela
jacobsalmela / ltsp.conf
Created April 21, 2016 16:36
dnsmasq config file for iPXE booting with an existing DHCP server
# Sample configuration for dnsmasq to function as a proxyDHCP server,
# enabling LTSP clients to boot when an external, unmodifiable DHCP
# server is present.
# The main dnsmasq configuration is in /etc/dnsmasq.conf;
# the contents of this script are added to the main configuration.
# You may modify the file to suit your needs.
# Don't function as a DNS server:
port=0
@muzizongheng
muzizongheng / AccessCSDN.py
Last active November 8, 2024 17:13
login CSDN by using urllib
#Use this utility to access CSDN blog.
#Author: jiangong li
#Email: [email protected]
import base64
from http import cookiejar
import urllib.request, urllib.parse, urllib.error
#url for accessing
csdnLoginUrl = r"http://passport.csdn.net/ajax/accounthandler.ashx?"