Skip to content

Instantly share code, notes, and snippets.

@joanbm
joanbm / broadcom-wl-fix-linux-6.5.patch
Created August 5, 2023 21:59
Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.5-rc1
From 706489688523d4af9ce4422137e4bfdb2f70aab9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]>
Date: Sat, 5 Aug 2023 20:54:12 +0000
Subject: [PATCH] Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.5-rc1
Applies on top of all the patches applied to broadcom-wl-dkms 6.30.223.271-36 on Arch Linux
On Linux 6.5, due to commit 2d47c6956ab3 ("ubsan: Tighten UBSAN_BOUNDS
on GCC"), flexible trailing arrays declared like `whatever_t foo[1];`
will generate warnings when CONFIG_UBSAN & co. is enabled, such as:
@varhub
varhub / Android - Enable ADB from recovery.md
Created December 23, 2016 17:54
Android - Enable ADB from recovery

Android - Enable ADB from recovery

Credits to @TheOnlyAnil-@Firelord[^stackoverflow]

  • Requirements: a) stock recovery + rooted phone b) custom recovery

  • Files changed:

@gspetrou
gspetrou / sh_animations_api.lua
Last active November 19, 2022 05:00
A simple api for animations in Garry's Mod
--[[
A simple animations API
Written by Stalker (http://steamcommunity.com/profiles/76561197996451757/)
For Kuma (http://steamcommunity.com/profiles/76561198061335920/)
Documentation:
All of the functions are serverside only.
Player:StartAnimation(number or string, boolean, function, number)
@MartyMacGyver
MartyMacGyver / RPi_Kernel_building_cross_compiled.sh
Last active May 12, 2021 06:45
Building the kernel for the Raspberry Pi/Pi2/Pi3 using a cross-compiler
###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active March 12, 2025 13:38
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx