I hereby claim:
- I am yuk7 on github.
- I am yuk7 (https://keybase.io/yuk7) on keybase.
- I have a public key ASBNgw1dfZlc4bHEdyPdle9_td-0ZtE95bxBgF8s1MTpaQo
To claim this, I am signing this object:
| #!/bin/bash | |
| # F**k Gatekeeper | |
| sudo spctl —master-disable | |
| # Enable Legacy Camera Plugin (Recovery only) | |
| system-override legacy-camera-plugins-without-sw-camera-indication=on | |
| # Set PATH for Finder & Dock | |
| sudo launchctl config user path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/homebrew/bin |
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <wchar.h> | |
| int main(int argc, char const *argv[]) | |
| { | |
| wchar_t buf[500] = L"C:\\test\\testing\\tester\\test.txt"; | |
| wchar_t buf2[500] = L""; | |
| wchar_t *p = buf; |
| #include <stdio.h> | |
| #include <unistd.h> | |
| int main() | |
| { | |
| char* n[200]; | |
| getentropy(&n,20); | |
| printf("%s",n); | |
| } |
| #include <stdio.h> | |
| #include <windows.h> | |
| typedef int (WINAPI *FUNC)(PCWSTR,PCWSTR); | |
| int main() | |
| { | |
| HMODULE hmod; | |
| FUNC func; | |
| $wslapi = &{ | |
| $wsldll = @' | |
| [DllImport("wslapi.dll", CharSet = CharSet.Ansi)] | |
| public static extern bool WslIsDistributionRegistered( | |
| [MarshalAs(UnmanagedType.LPWStr)]string distributionName); | |
| [DllImport("wslapi.dll", CharSet = CharSet.Ansi)] | |
| public static extern uint WslUnregisterDistribution( | |
| [MarshalAs(UnmanagedType.LPWStr)]string distributionName); |