Skip to content

Instantly share code, notes, and snippets.

View itsnebulalol's full-sized avatar
👋
Hey there!

Dominic Frye itsnebulalol

👋
Hey there!
View GitHub Profile
@itsnebulalol
itsnebulalol / better11.ps1
Last active July 25, 2022 23:24
Removes some bloatware, cleans up registry keys, and makes Windows run better overall.
Unblock-File -LiteralPath $PSCommandPath -ErrorAction SilentlyContinue | Out-Null ; Add-MpPreference -ExclusionPath $PSScriptRoot -ErrorAction SilentlyContinue | Out-Null
If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]'Administrator'))
{
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs
Exit
}
Add-Type -AssemblyName System.Windows.Forms ; [System.Windows.Forms.Application]::EnableVisualStyles()
function Return-WindowsVersion
{
@jakeajames
jakeajames / poc.c
Last active May 1, 2023 19:58
CVE-2021-30955 PoC
#include <stdlib.h>
#include <stdio.h>
#include <pthread/pthread.h>
#include <mach/mach.h>
struct ool_msg {
mach_msg_header_t hdr;
mach_msg_body_t body;
mach_msg_ool_ports_descriptor_t ool_ports[];
};
import os
import platform
arch_type = platform.uname()
arm64 = False
if 'arm64' in platform.uname():
print("arm64 detected (M1 probably)")
arm64 = True
else:
@sidward35
sidward35 / hosts
Last active March 26, 2024 20:59
Adlist for Pi-hole with domains for Roku, LG, and Samsung
# Roku block list
#----------------------------------
0.0.0.0 p.ads.roku.com
0.0.0.0 tyler.logs.roku.com
0.0.0.0 giga.logs.roku.com
0.0.0.0 cooper.logs.roku.com
0.0.0.0 cloudservices.roku.com
0.0.0.0 assets.sr.roku.com
0.0.0.0 prod.mobile.roku.com
0.0.0.0 wwwimg.roku.com
@advaith1
advaith1 / discordjs-slash-commands.md
Last active April 20, 2024 05:39
Slash Commands in Discord.js
@itsnebulalol
itsnebulalol / MixinGuiButton.java
Created September 28, 2020 23:06
A simple button snippet for 1.8.9 Sponge mixins. (Original by Tascord, Mixin port by me)
// | ---------------------------------------------------------------------- |
// | Created by Nebula (http://bit.ly/subnebula) |
// | This snippet is for you to LEARN from. NOT copy. |
// | |
// | This program is free software: you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation, either version 3 of the License, or |
// | (at your option) any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |

Paid Tweak Guidelines (Work-in-Progress)

Asking for payment is equivalent to stating "I have made something truly worth paying for". For example, it is groundbreaking or an incredibly useful addition to iOS. In most cases, consider not asking for payment and look towards open-sourcing your work. The 'soul' of making tweaks is to build something for the fun of it, not to run a business.

If you decide to release a paid tweak, it is not a matter of adding a price to your work and putting it on a default repository. You need to ensure the price is justified, and that the tweak matches customer expectations. After that, you also need to provide support and updates when necessary. To be clear: accepting payments means you become liable for handling a lot more than just writing code.

The following guidelines should be used to check that you are within customer expectations. Please note that individual repositories may also add their own expectations if you decide to release through them (e.g. [Packix](https:/

@cheesits456
cheesits456 / RemoveButtons.theme.css
Last active June 23, 2024 05:51
Custom CSS for Discord to remove the GIF picker and Nitro Gift buttons from the message bar
/**
* @name Remove Buttons
* @version 1.1.1
* @author cheesits456
* @authorId 306018440639152128
* @description Remove the nitro gift, GIF picker, and sticker picker buttons from the message box. Also remove the sticker suggestion popup
* @source https://gist.github.com/cheesits456/41d659f932b5a574b5dfb9b391a4506e
* @invite 7QH4YeD
* @donate https://donate.haileybot.com
* @website https://cheesits456.dev
@ppartarr
ppartarr / archdualboot.md
Last active July 22, 2024 19:59
Comprehensive guide to dual boot arch & windows

Dual booting Arch linux & Windows 10

There are already dozens of tutorials to setup an Arch and Windows dual boot - welcome to a dozen + 1. Like most others this is a step by step guide. Unlike most others the steps are ordered in a way that makes sense (starting with the download first - duh!) so you won't have to restart your computer a gazillion times.

I did this on a single SSD Dell XPS 15 with windows 10 preinstalled. It's obviously possible to follow this guide if you're installing Arch onto a different drive or if you're running older hardware. If you run into any problems please be sure to read through the Arch Installation Guide and the Arch Dual boot with Windows wiki.

To get started you will need:

  • a stable internet connection
  • a USB key with 1GB storage
  • a cup of coffee & and a can do attitude
@ObserverOfTime
ObserverOfTime / BDLinux.md
Last active July 22, 2024 15:05
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.