Skip to content

Instantly share code, notes, and snippets.

View BoQsc's full-sized avatar
💭
I may be slow to respond.

Feldwor BoQsc

💭
I may be slow to respond.
  • Public Domain
  • Baltic States
  • 07:18 - 3h ahead
View GitHub Profile
@leiless
leiless / cpuid_vendor_id.c
Last active October 27, 2024 05:31
Get CPU vendor ID string (works in Linux, Windows, macOS)
#include <stdio.h>
#ifdef _WIN32
#include <intrin.h> // __cpuid()
#endif
typedef unsigned int cpuid_t[4];
#define EAX 0
#define EBX 1
@BoQsc
BoQsc / Discord_add_download_links_to_emoji_in_the_chat.md
Last active September 5, 2022 17:21
🔮 A Tampermonkey script to Add Download Links to emojis in the chat (0.2 Refactored)
@nurmdrafi
nurmdrafi / JavaScript Hacks.md
Last active December 1, 2024 15:24
JavaScript Hacks by Rafé
@nuc1eon
nuc1eon / GettingStarted.md
Last active June 11, 2025 02:17
GoboLinux Community Guide

GoboLinux 017, in its current iteration, is mainly a source-based distribution. That means you will compile most of your packages with the help of so called "Recipes".

The following sections will help you getting started.

Installing GoboLinux 017

Installing GoboLinux on a bare metal system should be as simple as fetching the latest ISO, burning/flashing it onto your favorite installation medium (e.g. using balenaEtcher), startx and following the installation wizard.

However most people may want to install GoboLinux in a virtual machine setup first. If you are one of those people, follow these instructions.

@nuc1eon
nuc1eon / liveGobo
Last active June 19, 2025 22:25
GoboLinux Qemu Setup
#!/bin/bash
## Runs the GoboLinux liveCD in a performant Qemu environment
#
# Make sure to check out https://wiki.gobolinux.org/Overview/Installing-Gobolinux/GoboLinux-017-Known-Issues-and-Fixes/
# Note: During installation choose an MSDOS partition table! GPT will fail to boot!
#
# Prepare disk image with 20GB -> `qemu-img create -f qcow2 GOBO.qcow2 20G`
#
# Usage:
# ./liveGobo <LiveCD_ISO> <DiskImage>
@tcoppex
tcoppex / c_nostd.txt
Last active June 12, 2025 19:02
Writing C software without the standard library [Linux Edition] - Franc[e]sco's Gopherspace
###################################################################
Writing C software without the standard library
Linux Edition
###################################################################
There are many tutorials on the web that explain how to build a
simple hello world in C without the libc on AMD64, but most of them
stop there.
I will provide a more complete explanation that will allow you to
build yourself a little framework to write more complex programs.
@WiVi71
WiVi71 / BITS_DN.CMD
Last active December 28, 2023 01:13
Simple batch file script to download file with progress bar using BITSAdmin
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /F %%A IN ('COPY /Z "%~DPF0" NUL') DO SET "CR=%%A"
FOR /F %%B IN ('ECHO PROMPT $H ^| CMD') DO SET "BS=%%B"
(SET \N=^
%=_Empty_Line_=%
)
:BITS_DN
IF NOT [%2] == [] IF [%3] == [] GOTO BITS_SET
@eddiez9
eddiez9 / win_defend.bat
Created March 11, 2020 04:33
Delete definitions for Windows Defender with admin so you can do things.
cd "C:\Program Files\Windows Defender\" && MpCMDRun.exe -removedefinitions -all
@p3x-robot
p3x-robot / linux-get-ipv6-address.sh
Created January 19, 2020 07:24
Linux IPv6 addresses
sudo ip addr show dev enp1s0f2 | sed -e's/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d'
@hoehrmann
hoehrmann / c11-lexer-grammar
Created June 22, 2018 22:10
C11 Lexer grammar
token = _
/ keyword
/ identifier
/ constant
/ string-literal
/ punctuator
preprocessing-token = _
/ header-name
/ identifier