This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PGraphics imgNoise[],imgCaptcha,imgBlended; | |
int x1=0,x2=0,recorded=0; | |
void setup(){ | |
size(640,400); | |
imgNoise=new PGraphics[2]; | |
for(int i=0;i<imgNoise.length;i++){ | |
imgNoise[i]=createGraphics(width,height); | |
imgNoise[i].beginDraw(); | |
for(int y=0;y<height;y++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <CommCtrl.h> | |
#include <iostream> | |
#include <iomanip> | |
#include <vector> | |
#include <string> | |
#include <strsafe.h> | |
struct ENTRY | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//注意文本编码应为ANSI | |
var enddates=[ | |
{os:"Windows XP",date:"2014/4/8"}, | |
{os:"Windows Vista",date:"2017/4/11"}, | |
{os:"Windows 7",date:"2023/1/14"}, | |
{os:"Windows 8.1",date:"2023/1/10"}, | |
{os:"Windows 8",date:"2016/1/12"}, | |
{os:"Windows 10",date:"2025/10/14"}]; | |
var osname=new Enumerator(GetObject("winmgmts:").ExecQuery("SELECT * FROM Win32_OperatingSystem")).item().Caption; | |
for(var i=0;i<enddates.length;i++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#undef GetFreeSpace | |
//若不在行尾加no_namespace则需要在引用接口时使用IWshRuntimeLibrary命名空间 | |
#import "C:\Windows\System32\wshom.ocx" | |
#include "Debug\wshom.tlh" | |
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ | |
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")//使用视觉样式 | |
int WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int) | |
{ | |
SetProcessDPIAware(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//在愿望单页面上执行以下代码即可得到AppID,然后在SteamDB上找就行了 | |
for(var id of g_rgWishlistData){ | |
if(g_Wishlist.rgAllApps.indexOf(id.appid.toString())==-1){ | |
console.log(id); | |
} | |
} |
使用以下几种方法,程序既可获得GPU加速,又能实现带有Alpha值(不会出现锯齿、毛刺等现象)的透明效果。
然后将Direct3D的ClearRenderTargetView颜色设为透明色就可以了。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<HTA:Application id="hta" | |
Applicationname="Create Link" | |
border="thin" | |
borderstyle="normal" | |
caption="yes" | |
icon="logo.ico" | |
innerborder="no" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
::注意保存为ANSI编码格式 | |
if "%~3"=="" ( | |
echo 本工具可以快速剪辑视频。 | |
echo 命令行:%~n0 ^<视频或音频文件^> ^<起始时间hh:mm:ss^> ^<结束时间hh:mm:ss^> | |
echo 其中时间选项可以只写到分或秒,即mmm:ss或sss. | |
goto:eof | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal EnableDelayedExpansion | |
::注意编码应保存为ANSI | |
::此处设置JDK的存放路径 | |
set JAVA_HOME=D:\zulu11.43.55-ca-jdk11.0.9.1-win_x64 | |
if "%~1"=="" ( | |
echo 命令行:%~n0 ^<JAR文件^> | |
echo 生成的JRE目录会保存至JAR文件的相同位置。 |