Skip to content

Instantly share code, notes, and snippets.

Sakyaer sakyaer

Block or report user

Report or block sakyaer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sakyaer / CallExteralExe.csharp
Last active May 25, 2020
View CallExteralExe.csharp
string fileName = @"c:\aaa.doc";//要检查被那个进程占用的文件
Process tool = new Process();
tool.StartInfo.FileName = "handle.exe";
tool.StartInfo.Arguments = fileName+" /accepteula";
tool.StartInfo.UseShellExecute = false;
tool.StartInfo.RedirectStandardOutput = true;
string outputTool = tool.StandardOutput.ReadToEnd();
sakyaer / bezier.js
Created May 16, 2016 — forked from LiuJi-Jim/bezier.js
De Casteljau Bezier
View bezier.js
function DeCasteljauBezier(points, density, step){
//if (points.length < 3) return null;
var ps ={
return {
x: p.x,
y: p.y
results = [],
You can’t perform that action at this time.