Skip to content

Instantly share code, notes, and snippets.

View itsnebulalol's full-sized avatar

Dominic Frye itsnebulalol

View GitHub Profile
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 && \

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:

@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'):
@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 / 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 / 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, |