Skip to content

Instantly share code, notes, and snippets.

View pmache's full-sized avatar
💭
I'm always slow to respond.

Athema pmache

💭
I'm always slow to respond.
View GitHub Profile
@hkbertoson
hkbertoson / windows10activate.bat
Created July 14, 2022 16:00
Activate Windows 10
@echo off
title Activate Windows 10 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Windows 10 Home&echo - Windows 10 Home N&echo - Windows 10 Home Single Language&echo - Windows 10 Home Country Specific&echo - Windows 10 Professional&echo - Windows 10 Professional N&echo - Windows 10 Education&echo - Windows 10 Education N&echo - Windows 10 Enterprise&echo - Windows 10 Enterprise N&echo - Windows 10 Enterprise LTSB&echo - Windows 10 Enterprise LTSB N&echo.&echo.&echo ============================================================================&echo Activating your Windows...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo slmgr.vbs /upk >nul&cscript //nologo slmgr.vbs /cpky >nul&set i=1&wmic os | findstr /I "enterprise" >nul
if %errorlevel% EQU
@OptoCloud
OptoCloud / ReferenceLocator.cs
Last active November 16, 2023 11:39
Finds duplicate and linked assets
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;
public class LinkedMaterialSelector : EditorWindow
{
static bool FileExistsScuffed(string path)
{
@raisilhamn
raisilhamn / GroupCommand.md
Last active November 16, 2023 11:39
Save this in Assets/Editor/GroupCommand.cs

Not my script. Just personal note

using UnityEditor;
using UnityEngine;

public static class GroupCommand
{
    [MenuItem("GameObject/Group Selected %g")]
    private static void GroupSelected()
 {
@henriquepw
henriquepw / clean_windows10.ps1
Created January 3, 2021 21:32
Cleaning windows 10
# script by [Craft Computing](https://www.youtube.com/channel/UCp3yVOm6A55nx65STpm3tXQ), see more on [here](https://youtu.be/PdKMiFKGQuc)
##########
# Win10 Initial Setup Script
# Author: Disassembler <[email protected]>
# Version: 1.4, 2016-01-16
##########
# Ask for elevated permissions if required
If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")) {
@h1ddengames
h1ddengames / ImportAssets.cs
Last active February 10, 2025 10:38
Import Assets and Packages in Unity all at once.
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEditor;
using UnityEditor.PackageManager.Requests;
using UnityEditor.PackageManager;
// Place this script in YOUR_PROJECT_FOLDER/Assets/Editor
// Run this script by clicking on the Importer menu item below the Unity title bar (File, Edit ... Importer)
public class ImportAssets : EditorWindow {
@yasirkula
yasirkula / DuplicateAssetDetector.cs
Last active June 22, 2025 07:07
Find duplicate assets in Unity
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Security.Cryptography;
using UnityEditor;
using UnityEditor.IMGUI.Controls;
using UnityEngine;
using Object = UnityEngine.Object;
cscript //nologo slmgr.vbs /upk >nul
cscript //nologo slmgr.vbs /cpky >nul
wmic os | findstr /I "enterprise" >nul
cscript //nologo slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
cscript //nologo slmgr.vbs /skms kms9.MSGuides.com
cscript //nologo slmgr.vbs /ato
@geek-at
geek-at / trash.sh
Created August 13, 2020 07:27
The script used to trash a banking phishing site
#!/bin/bash
while :; do
verf=$(cat /dev/urandom | tr -dc '0-9' | fold -w 8 | head -n 1)
pin=$(cat /dev/urandom | tr -dc '0-9' | fold -w 5 | head -n 1)
ip=$(printf "%d.%d.%d.%d\n" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))")
@BeautyfullCastle
BeautyfullCastle / AnimAssetDuplicator.cs
Created November 12, 2019 09:50
Copy clip assets from selected multiple model assets. Select assets and right click and find menu Model/Duplicate animation assets. Hotkey is Alt+D.
using System.IO;
using UnityEditor;
using UnityEngine;
namespace Assets.Editor
{
public class AnimAssetDuplicator
{
[MenuItem("Assets/Model/Duplicate Animation Assets &d")]
public static void DuplicateAnimationAssetsInThisFolder()
@hikiko4ern
hikiko4ern / .bash_aliases
Last active October 29, 2023 20:24
Pikachu test passed (demo: https://asciinema.org/a/236096)
# /------------------------------------------\
# | don't forget to download the .tp file |
# | and place it in the user's directory :› |
# | |
# | also install lolcat: |
# | https://github.com/busyloop/lolcat |
# \------------------------------------------/
alias test-passed='if [ "$?" -eq "0" ]; then lolcat ~/.tp -a -s 40 -d 2; fi;'