随笔分类 -  code

摘要:最近在给某个主播开发斗鱼直播间辅助工具,为了程序的高效稳定,也搜索了大量的资料,经过大量什么百度,谷歌搜索。。。 虽然有很多Python的脚本及JS脚本实现了拉取斗鱼弹幕信息,但是这些年来的开发职业病告诉我,这满足不了对系统的控制欲望。。 后来,找啊。。。找啊。。。意外间发现这个文档。。。。废话不多 阅读全文
posted @ 2020-04-07 15:25 star丶清影 阅读(1699) 评论(0) 推荐(0)
摘要:Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (hpvDest As Any, hpvSource As Any, ByVal cbCopy As Long) Private Declare Function 阅读全文
posted @ 2016-02-24 00:15 star丶清影 阅读(494) 评论(1) 推荐(0)
摘要:寫 ASP.NET 有時候會想要在畫面輸出前一刻進行攔截,並換掉 html 中的特定字元。例如網站中有許多頁面都有 www.google.com.tw 的超連結,我希望在測試機上可以把連結換成 www.microsoft.com.tw ,但又不希望去動到 aspx。這個時候就可以利用 Respons 阅读全文
posted @ 2016-02-24 00:14 star丶清影 阅读(330) 评论(0) 推荐(1)
摘要:SELECT 表名 = Case When A.colorder=1 Then D.name Else '' End, 表说明 = Case When A.colorder=1 Then isnull(F.value,'') Else '' End, 字段序号 = A.colorder, 字段名 = 阅读全文
posted @ 2015-07-17 13:30 star丶清影 阅读(326) 评论(0) 推荐(0)
摘要:#region 正方型裁剪并缩放 /// <summary> /// 正方型裁剪 /// 以图片中心为轴心,截取正方型,然后等比缩放 /// 用于头像处理 /// </summary> /// <param name="fromFile">原图Stream对象</param> /// <param 阅读全文
posted @ 2015-07-17 13:29 star丶清影 阅读(1604) 评论(0) 推荐(0)
摘要:#include <Windows.h> #include <Ntsecapi.h> #include <Aclapi.h> #include <tlhelp32.h> #pragma comment (lib,"Kernel32.lib") #pragma comment (lib,"Advapi 阅读全文
posted @ 2015-07-17 13:28 star丶清影 阅读(625) 评论(0) 推荐(0)
摘要:<script> // Knockout ViewModel Define function RemarkTemplateModel() { var self = this; // Current Instance self.RemarkTemplate = ko.observableArray([ 阅读全文
posted @ 2015-07-17 13:27 star丶清影 阅读(2471) 评论(0) 推荐(0)
摘要:// Examples4STL.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <stdio.h> #include <iostream> #include <string> std::string replace( const std::s 阅读全文
posted @ 2015-07-17 13:26 star丶清影 阅读(1319) 评论(0) 推荐(0)
摘要:STDAPI DllInstall(BOOL bInstall, LPCWSTR pszCmdLine) { HRESULT hr = E_FAIL; static const wchar_t szUserSwitch[] = L"user"; if(pszCmdLine != NULL) { if 阅读全文
posted @ 2015-07-17 13:24 star丶清影 阅读(629) 评论(0) 推荐(0)
摘要:1 string signature = Request["signature"]; 2 string timestamp = Request["timestamp"]; 3 string nonce = Request["nonce"]; 4 5 List<string> list = new L 阅读全文
posted @ 2014-11-07 17:46 star丶清影 阅读(991) 评论(0) 推荐(0)
摘要:选择器是CSS的核心,从最初的元素、class/id选择器,演进到伪元素、伪类,以及CSS3中提供的更丰富的选择器,定位页面上的任意元素开始变得愈发的简单。 1、元素选择器 这是最基本的CSS选择器,HTML文档中的元素本身就是一个选择器: p {line-height:1.5em; margin- 阅读全文
posted @ 2014-10-29 16:44 star丶清影 阅读(181) 评论(0) 推荐(0)
摘要:自定义函数: 1 USE [ExpenseCenter_Fibrogen] 2 GO 3 /****** Object: UserDefinedFunction [dbo].[GetSubordinateTable] Script Date: 2014/10/11 13:24:32 ******/ 阅读全文
posted @ 2014-10-11 15:11 star丶清影 阅读(1705) 评论(0) 推荐(0)
摘要:1 USE [master] 2 GO 3 4 ALTER DATABASE 数据库名称 SET RECOVERY SIMPLE WITH NO_WAIT 5 GO 6 7 ALTER DATABASE 数据库名称 SET RECOVERY SIMPLE 8 GO 9 10 USE 数据库名称 11 阅读全文
posted @ 2014-09-28 11:20 star丶清影 阅读(587) 评论(0) 推荐(0)
摘要:WHIT XXX(列1,列2....) AS ( SELECT 列1,列2... FROM 表WHERE ID=xxxxxx UNION ALL SELECT 列1,列2.... FROM 表 WHERE ID = XXX.ParentID ) SELECT 列1,列2.... FROM XXX 阅读全文
posted @ 2014-05-27 15:49 star丶清影 阅读(168) 评论(0) 推荐(0)
摘要:// jQuery.event.swipe // 0.5 // Stephen Band // Dependencies // jQuery.event.move 1.2 // One of swipeleft, swiperight, swipeup or swipedown is trigger 阅读全文
posted @ 2014-04-14 10:37 star丶清影 阅读(15694) 评论(0) 推荐(0)