Skip to content

Instantly share code, notes, and snippets.

View Zishan-Rahman's full-sized avatar
⚙️
Due to circumstances that made me busy, I'll be slower to respond, but I'll try!

Zishan Rahman Zishan-Rahman

⚙️
Due to circumstances that made me busy, I'll be slower to respond, but I'll try!
View GitHub Profile
@andrew-wilkes
andrew-wilkes / audio.gd
Created September 2, 2022 04:43
Audio File Parser
class_name Audio
var player: AudioStreamPlayer
var info
func _init(audio_player_instance):
player = audio_player_instance
func load_data(path: String):
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active June 26, 2024 01:27
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@chaotic3quilibrium
chaotic3quilibrium / Effective Scala Case Class Patterns.md
Last active May 1, 2024 15:49
Article: Effective Scala Case Class Patterns - The guide I wished I had read years ago when starting my Scala journey

Effective Scala Case Class Patterns

Version: 2022.03.02

Available As

@WolfgangSenff
WolfgangSenff / gist:168cb0cbd486c8c9cd507f232165b976
Last active July 5, 2024 09:44
Godot 4.0 Migration/Upgrade guide
## For a beginner-friendly version of the following (more advanced users likely will get better use of the below,
## if you're just starting out...), see this new gist:
## https://gist.github.com/WolfgangSenff/0a9c1d800db42a9a9441b2d0288ed0fd
This document represents the beginning of an upgrade or migration document for GDScript 2.0 and Godot 4.0. I'm focusing on 2D
at the moment as I'm upgrading a 2D game, but will hopefully have more to add for 3D afterward.
## If you want more content like this, please help fund my cat's medical bills at https://ko-fi.com/kyleszklenski - thank you very much! On to the migration guide.
@the-spyke
the-spyke / pipewire.md
Last active July 8, 2024 02:28
Enable PipeWire on Ubuntu 22.04

Enable PipeWire on Ubuntu 22.04

This guide is only for original Ubuntu out-of-the-box packages. If you have added a custom PPA like pipewire-debian, you might get into conflicts.

Ubuntu 22.04 has PipeWire partially installed and enabled as it's used by browsers (WebRTC) for recoding the screeen under Wayland. We can enable remaining parts and use PipeWire for audio and Bluetooth instead of PulseAudio.

Starting from WirePlumber version 0.4.8 automatic Bluetooth profile switching (e.g. switching from A2DP to HSP/HFP when an application needs microphone access) is supported. Jammy (22.04) repos provide exactly version 0.4.8. So, we're good.

Based on Debian Wiki, but simplified for Ubuntu 22.04.

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@danieldogeanu
danieldogeanu / RenameGitBranch.md
Last active June 11, 2024 12:27
How to rename your Git master branch to main.

To rename your Git master branch to main, you must do the following steps:

  1. Navigate to your repository in the command line and issue the following commands: - git branch -m master main - git push -u origin main

  2. Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to Settings > Branches and click on the dropdown and switch from master to main and click Update (this will only show if you have two or more branches). The main branch is now your default branch.

  3. Update the tracking of the branch from your command line with the following command: - git branch -u origin/main main

@berkorbay
berkorbay / github_desktop_ubuntu.md
Last active July 7, 2024 11:19
To install Github Desktop for Ubuntu

IMPORTANT

See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)

For the sake of "maintaining the tradition" here is the updated version.

#!/bin/sh
user mod -G wheel javashin
export PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/6.6/packages/$(uname -m)
echo "export PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/6.6/packages/$(uname -m)" >> .profile
pkg_add -Iv nano
pkg_add -Iv mate-desktop mate-notification-daemon mate-terminal mate-panel
pkg_add -Iv mate-session-manager mate-icon-theme mate-control-center mate-calc caja
pkg_add -Iv slim slim-themes
touch .xinitrc
echo "exec mate-session" > .xinitrc
@stevenliebregt
stevenliebregt / README.md
Last active March 22, 2023 18:09
Tutorial to add JavaFX 11 to Java 11 in Eclipse

How to use JavaFX 11 with Java 11 in Eclipse IDE?

Note!

Be sure you are using Java 11, these methods are specifically written for Java 11 since that's the version where JavaFX became separated.
You can also use the official OpenJFX tutorial to find out how to install and use JavaFX 11.