Skip to content

Instantly share code, notes, and snippets.

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

alsoGAMER alsoGAMER

💭
I may be slow to respond.
  • Italy
View GitHub Profile
@ghostrider-05
ghostrider-05 / discord_app_protocols.md
Last active June 29, 2024 17:47
An unofficial list of discord app protocol routes

Discord app protocol routes

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
  • message requests: discord://-/message-requests
  • family centre: discord://-/family-center
@Techy
Techy / features.md
Last active July 14, 2023 20:02
Discord Guild Features

This is an unofficial list of all Discord guild features, for an official list refer to the Discord Developer documentation.

Guild Feature Description
ANIMATED_ICON Allows the server to set an animated icon. Used in server boosting, level 1
BANNER Allows the server to set a banner which is shown at the top of all the channels. Used in server boosting, level 2
COMMERCE Given to servers with a developer license, allows them to create and use store channels
COMMUNITY Given to servers that enable community in server settings, also gives access to the news feature which allows servers to create announcement channels
DISCOVERABLE Given to servers that enabled discovery guidelines
ENABLED_DISCOVERABLE_BEFORE Given to servers that enabled discovery at any point
@broestls
broestls / Remove_VMwareTools.ps1
Last active June 30, 2024 04:44
Force removal of VMware Tools, Program Files, and Windows Services
# This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019
# Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes.
# This function pulls out the common ID used for most of the VMware registry entries along with the ID
# associated with the MSI for VMware Tools.
function Get-VMwareToolsInstallerID {
foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) {
If ($item.GetValue('ProductName') -eq 'VMware Tools') {
return @{
reg_id = $item.PSChildName;
@MineBartekSA
MineBartekSA / catbox
Last active June 29, 2024 01:36
CatBox - An implementation of catbox.moe API in Bash
#!/bin/bash
#
# CatBox v2.0
# An implementation of catbox.moe API in Bash
# Author: MineBartekSA
# Gist: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591
# Change log: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591?permalink_comment_id=4596132#gistcomment-4596132
#
# MIT License
#
@drmalex07
drmalex07 / README-oneshot-systemd-service.md
Last active June 25, 2024 17:52
An example with an oneshot service on systemd. #systemd #systemd.service #oneshot

README

Services declared as oneshot are expected to take some action and exit immediatelly (thus, they are not really services, no running processes remain). A common pattern for these type of service is to be defined by a setup and a teardown action.

Let's create a example foo service that when started creates a file, and when stopped it deletes it.

Define setup/teardown actions

Create executable file /opt/foo/setup-foo.sh: