Skip to content

Instantly share code, notes, and snippets.

View bigforcegun's full-sized avatar
⛑️

Mark Vunder bigforcegun

⛑️
View GitHub Profile
@hopeseekr
hopeseekr / StackOverflow Stats.md
Last active February 18, 2026 18:43
StackOverflow Dec 2024 stats

Disclaimer: I'm in the Top 1% of StackOverflow contributors with 23,315 rep points.

I asked 1 high-quality question in 2024, and it was closed almost immediately, and I haven't engaged with the site since.

If someone with 20,000+ karma has their nicely-formatted questions closed so quickly, what must the newbies and rank-in-file encounter? This is probably a big reason why it's declining.


@fenix-hub
fenix-hub / #description.md
Last active May 6, 2025 16:37
GDScript JSON <> Class Serializer/Deserializer

You can find usages in the GDScript Unirest plugin

This is a fast serializer/deserializer written in GDScript to convert a JSON (Dictionary) to a class, using something similar to the Reflection concecpt. json_to_class can be used to convert a Dictionary to a Class. All keys in the Dictionary will be treated as variables and their types will be guessed in the best way possible. A class (defined by the class_name keyword) must extend Reference or Object or be an inner class, or else Godot will not able to see its properties. It is also possible to deserialize a JSON key to a class property with a different name using the export hint as a variable name.

example usage:

  1. Open Automator.app
  2. Create new Quick Action
  3. Select Run AppleScript
  4. Add this:
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
	set inputVolume to 100
	display notification "Volume set to 100" with title "✅ Microphone is on"
@ileri
ileri / config
Last active May 23, 2020 09:18
KDE Connect Run Command Add New Commands. Edit this file: ~/.config/kdeconnect/DEVICEID/kdeconnect_runcommand/config
[General]
commands="@ByteArray({\n \"{0b34567e-dc75-48dc-89e8-487f3e8e1d86}\": {\n \"command\": \"xdotool key ctrl+b Down\",\n \"name\": \"9.1.2 TMUX Down\"\n },\n \"{14dad1f4-1179-41b7-8df1-fe45eb5dfafe}\": {\n \"command\": \"reboot\",\n \"name\": \"7 - Reboot\"\n },\n \"{169b86c6-b804-498e-8f51-d64de481a675}\": {\n \"command\": \"spectacle -b\",\n \"name\": \"1 - SS (Full Screen)\"\n },\n \"{1e48a11c-bf3e-494d-9770-9762e7383509}\": {\n \"command\": \"xdotool key ctrl+l\",\n \"name\": \"9 - Ctrl + L\"\n },\n \"{26dc199e-00e5-4f88-99c2-e612f3ec2242}\": {\n \"command\": \"xdotool key alt+F4\",\n \"name\": \"9 - Alt + F4\"\n },\n \"{29818df6-e579-4119-90f1-066d88c54bc2}\": {\n \"command\": \"xdotool key ctrl+b Left\",\n \"name\": \"9.1.2 TMUX Left\"\n },\n \"{298df98e-de01-43f0-9935-178a93b5fcce}\": {\n \"command\": \"xdotool key ctrl+c\",\n \"name\": \"9.1 .1 TMUX \xc4\xb0pta
@Samffy
Samffy / xps13.md
Last active February 7, 2026 18:53
Dell XPS 13 9360 : Ubuntu Wifi disconnection

I encounter wifi disonnection problem on a Dell XPS 13 9360. Here is the solution I used to fix this bad behavior.

Which wifi card version is installed ?

lspci | grep -i net

3a:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

@ahmadawais
ahmadawais / .zshrc
Created April 24, 2017 03:38
Print status for all fail2ban jails.
# Print status for all fail2ban jails.
function f2bstall() {
JAILS=($(fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'))
for JAIL in ${JAILS[@]}
do
echo "--------------- 👀 JAIL STATUS: $JAIL ... ---------------"
fail2ban-client status $JAIL
echo "--------------- ... ---------------"
done
}
@kitfr
kitfr / slackGruvbox.txt
Created May 29, 2016 20:21
Slack gruvbox theme
#3C3836,#282828,#786E64,#EBDBB2,#504945,#EBDBB2,#96BB3B,#FB4934