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 / 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, |
@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
{
@itsnebulalol
itsnebulalol / better11.bat
Created April 6, 2022 22:31
Better11 part 2
@echo off
echo This script is generated with privacy.sexy
:: ----------------------------------------------------------
:: ------------------Clear Listary indexes-------------------
:: ----------------------------------------------------------
echo --- Clear Listary indexes
del /f /s /q %appdata%\Listary\UserData > nul
:: ----------------------------------------------------------
@itsnebulalol
itsnebulalol / sign_frameworks.py
Created August 7, 2022 23:07
Recursively sign frameworks with ldid.
import plistlib
from glob import glob
import os
import subprocess
frameworks_path = "/path/to/frameworks"
cert_path = ""
cert_password = "password"
for fpath in glob(frameworks_path + '/*.framework'):

Keybase proof

I hereby claim:

  • I am itsnebulalol on github.
  • I am itsnebula (https://keybase.io/itsnebula) on keybase.
  • I have a public key ASDJ6SZavAlCQP95Ox1V06riEUPJmch5AMNUNRxSpKvjugo

To claim this, I am signing this object:

FROM alpine AS base
ENV CONF_ARGS="--disable-shared" \
CMAKE_ARGS="-DBUILD_SHARED_LIBS=0" \
CC="clang" \
CFLAGS="-fPIC" \
CXX="clang++" \
CXXFLAGS="-fPIC" \
LD="ld.lld" \
LDFLAGS="-fuse-ld=/usr/bin/ld.lld -static -static-libgcc -Wl,--allow-multiple-definition -Wl,--no-dynamic-linker -Wl,-static"
RUN apk add --no-cache autoconf automake bash clang15 cmake coreutils gcc g++ git libtool lld m4 make musl musl-dev openssl-dev openssl-libs-static pkgconf && \
@itsnebulalol
itsnebulalol / discord.css
Created July 5, 2023 23:13
Discord extra CSS
/* Hide new member badge */
div[class*="newMemberBadge"] {
display: none !important;
}
/* Hide "I'm new to Discord, say hi!" */
[class^=wumpusWrapper] {
display: none;
}
@itsnebulalol
itsnebulalol / ips.txt
Created August 24, 2023 22:07
Spam IPs I have blocked
183.136.225.5
101.68.211.2
183.136.225.45
183.136.225.44
@itsnebulalol
itsnebulalol / LaViewAPI.md
Last active November 10, 2023 21:17
LaView NVR API (non-Hikvision rebranded)

LaView NVR API

Since there is no documentation on the API for non-Hikvision rebranded LaView NVRs, I decided to figure it out myself.

RTSP

found in Port Configuration under Network settings

rtsp://{user}:{pass}@{ip}:{port}/ch{channel}/{stream}

@itsnebulalol
itsnebulalol / blocklist.txt
Created January 26, 2024 23:37
Block lists
||analyticsengine.s3.amazonaws.com^$important
||affiliationjs.s3.amazonaws.com^$important
||metrics.mzstatic.com^$important
||edge.activity.windows.com^$important
||advice-ads.s3.amazonaws.com^$important
||google-analytics.com^$important
||adservice.google.com^$important
||hotjar.com^$important
||static.hotjar.com^$important
||api-hotjar.com^$important