Skip to content

Instantly share code, notes, and snippets.

View kaliiiiiiiiii's full-sized avatar
👁️‍🗨️
spying back on you

kaliiiiiiiiiii kaliiiiiiiiii

👁️‍🗨️
spying back on you
View GitHub Profile
@kaliiiiiiiiii
kaliiiiiiiiii / IEEE_Reference.XSL
Last active July 24, 2024 12:52
Microsoft Word install IEEE reference style
<?xml version="1.0" encoding="utf-8"?>
<!--
Stylesheet for Microsoft Word 2007/2008/2010 Bibliography formatting.
Author(s): Yves Dhondt (yves.dhondt@gmail.com)
Copyright: Copyright (c) 2009 Yves Dhondt
Permission is hereby granted, free of charge, to any person obtaining a
@kaliiiiiiiiii
kaliiiiiiiiii / rickroll.ps1
Last active May 1, 2024 08:36
rickroll.ps1
# add audio interface
# https://stackoverflow.com/a/31751275/20443541
Add-Type -TypeDefinition @'
using System.Runtime.InteropServices;
[Guid("5CDF2C82-841E-4546-9722-0CF74078229A"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IAudioEndpointVolume
{
// f(), g(), ... are unused COM method slots. Define these if you care
int f(); int g(); int h(); int i();
int SetMasterVolumeLevelScalar(float fLevel, System.Guid pguidEventContext);