※ PowerShell (Admin) needed ※
One-Line Enable
reg.exe add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f /ve && taskkill /f /im explorer.exe && explorer
// ==UserScript== | |
// @name Wechat Official Accounts Assistant | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Auto load original images and copy information from Wechat Official Accounts articles | |
// @author Cline | |
// @match https://mp.weixin.qq.com/s/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
// clang -Wall -Wextra -std=c11 sizeof.c -o sizeof | |
// emcc -Wall -Wextra -std=c11 sizeof.c -o sizeof.js | |
#include <stdlib.h> | |
#include <stdarg.h> | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <wchar.h> | |
#include <time.h> |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEditor.Build; | |
using UnityEngine; | |
namespace Nekomimi.Daimao | |
{ | |
/// <summary> | |
/// Switch #define. |
for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.
Terminal
, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
BCompare
to BCompare.bak
: mv BCompare BCompare.bak
BCompare
, and chmod a+ux BCompare
: touch BCompare && chmod a+ux BCompare
BCompare
with text editor, insert the script :#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
private delegate void PerformMainLoop(/* HWND__* */ IntPtr param_1, uint param_2, uint param_3, ulong param_4); // These parameters may be inaccurate | |
private delegate GfxDevice GetGfxDevice(); | |
private delegate IntPtr GetIVRDevice(); | |
private delegate void SetupPixelCorrectCoordinates(bool _0); | |
private static IntPtr GetFunctionPointerFromMethod(string methodName) => | |
typeof(CustomUnityRender).GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Static).MethodHandle.GetFunctionPointer(); | |
internal static void Init() | |
{ |
int solve(float x) | |
{ | |
if (x < 0) | |
{ | |
return 0; | |
} | |
// 1>MinRepo.hlsl(7,2): warning X4000: use of potentially uninitialized variable (solve) | |
// 1>error X8000 : D3D11 Internal Compiler error : Invalid Bytecode: Negate modifier not allowed for operand #4 of opcode #6 (counts are 1-based). |
// ==UserScript== | |
// @name ucas-course-console-helper | |
// @namespace https://les1ie.com/ | |
// @version 0.2 | |
// @description 去除中国科学院大学课程网站对进入控制台的限制 | |
// @author Les1ie | |
// @match https://course.ucas.ac.cn/portal/* | |
// @grant none | |
// ==/UserScript== |
using UnityEngine; | |
using UnityEngine.Rendering; | |
using Unity.Mathematics; | |
[RequireComponent(typeof(Camera))] | |
public class Draw : MonoBehaviour | |
{ | |
[SerializeField] public Mesh Mesh; | |
[SerializeField] public Material Material; | |
private Camera mainCamera; |