博客园 - yyutudou
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=40966
2024-03-04T09:05:25Z
yyutudou
https://www.cnblogs.com/yyutudou/
feed.cnblogs.com
https://www.cnblogs.com/yyutudou/p/18052165
Linux 常用指令 - yyutudou
登录:ssh root@192.168.0.183
2024-03-04T09:05:00Z
2024-03-04T09:05:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】登录:ssh root@192.168.0.183 <a href="https://www.cnblogs.com/yyutudou/p/18052165" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/p/17400948.html
常用JS - yyutudou
替换html str.replace(/<[^>]+>/g, '') 正则替换ALL str.replace(/&nbsp;/g, '') 正则替换所有空位 str.split(/[\t\r\f\n\s]*/g).join('')
2023-05-15T01:49:00Z
2023-05-15T01:49:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】替换html str.replace(/<[^>]+>/g, '') 正则替换ALL str.replace(/&nbsp;/g, '') 正则替换所有空位 str.split(/[\t\r\f\n\s]*/g).join('') <a href="https://www.cnblogs.com/yyutudou/p/17400948.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/p/16466346.html
css - yyutudou
垂直居中 display: flex; /*主轴居中对齐*/ justify-content: center; /*侧轴居中对齐*/ align-items: center; height:** 搜索 复制
2022-07-11T06:42:00Z
2022-07-11T06:42:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】垂直居中 display: flex; /*主轴居中对齐*/ justify-content: center; /*侧轴居中对齐*/ align-items: center; height:** 搜索 复制 <a href="https://www.cnblogs.com/yyutudou/p/16466346.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/p/15798324.html
SQL Server 杂项 - yyutudou
数据库清除日志 1 --2005 2 DUMP TRANSACTION [DataBaseName] WITH NO_LOG 3 BACKUP LOG [DataBaseName] WITH NO_LOG 4 DBCC SHRINKDATABASE([DataBaseName]) 5 6 --201
2022-01-13T08:46:00Z
2022-01-13T08:46:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】数据库清除日志 1 --2005 2 DUMP TRANSACTION [DataBaseName] WITH NO_LOG 3 BACKUP LOG [DataBaseName] WITH NO_LOG 4 DBCC SHRINKDATABASE([DataBaseName]) 5 6 --201 <a href="https://www.cnblogs.com/yyutudou/p/15798324.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/p/15798280.html
SQL SERVER 日期 转换格式 - yyutudou
1 --Sql Server 中一个非常强大的日期格式化函数 2 Select CONVERT(varchar(100), GETDATE(), 0) as '结果','0' as '代号' union -- : 05 16 2006 10:57AM 3 Select CONVERT(varchar
2022-01-13T08:36:00Z
2022-01-13T08:36:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】1 --Sql Server 中一个非常强大的日期格式化函数 2 Select CONVERT(varchar(100), GETDATE(), 0) as '结果','0' as '代号' union -- : 05 16 2006 10:57AM 3 Select CONVERT(varchar <a href="https://www.cnblogs.com/yyutudou/p/15798280.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/p/15797853.html
sql server 分组 - yyutudou
分组筛选第一条 SELECT * from( SELECT *, row_number () OVER ( partition BY [分组列] ORDER BY [排序列] DESC ) rowid FROM [table] WHERE 1=1 ) t WHERE rowid = 1; 分组后删除
2022-01-13T07:29:00Z
2022-01-13T07:29:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】分组筛选第一条 SELECT * from( SELECT *, row_number () OVER ( partition BY [分组列] ORDER BY [排序列] DESC ) rowid FROM [table] WHERE 1=1 ) t WHERE rowid = 1; 分组后删除 <a href="https://www.cnblogs.com/yyutudou/p/15797853.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/archive/2013/05/06/3063089.html
根据当前页面url匹配出页面内链接地址的完整路径 - yyutudou
该类其功能相当于浏览器对当前页面内链接地址的解析功能主要方法是 字符串的操作,正则表达式的匹配和替换。比如所当前页为:http://www.test.com/list/page.aspx?id=12,其页面内链接为:BaseUrlResult/default.aspx?id=14http://www.test.com/default.aspx?id=14../details.aspx?id=4http://www.test.com/details.aspx?id=4dete.aspxhttp://www.test.com/list/dete.aspx该类C#代码:using System;us
2013-05-06T08:47:00Z
2013-05-06T08:47:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】该类其功能相当于浏览器对当前页面内链接地址的解析功能主要方法是 字符串的操作,正则表达式的匹配和替换。比如所当前页为:http://www.test.com/list/page.aspx?id=12,其页面内链接为:BaseUrlResult/default.aspx?id=14http://www.test.com/default.aspx?id=14../details.aspx?id=4http://www.test.com/details.aspx?id=4dete.aspxhttp://www.test.com/list/dete.aspx该类C#代码:using System;us <a href="https://www.cnblogs.com/yyutudou/archive/2013/05/06/3063089.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/archive/2013/04/30/3366打豆豆瞄准线.html
3366 打豆豆 瞄准线 源码程序 - yyutudou
3366打豆豆瞄准线C#Winfrom源码
2013-04-29T17:06:00Z
2013-04-29T17:06:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】3366打豆豆瞄准线C#Winfrom源码 <a href="https://www.cnblogs.com/yyutudou/archive/2013/04/30/3366打豆豆瞄准线.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/archive/2013/04/13/3018575.html
JQuery实现fixed固定div--同固定表头 - yyutudou
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>右侧固定漂浮</title> 5 <style type="text/css"
2013-04-13T07:58:00Z
2013-04-13T07:58:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>右侧固定漂浮</title> 5 <style type="text/css" <a href="https://www.cnblogs.com/yyutudou/archive/2013/04/13/3018575.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/archive/2013/01/29/2880959.html
vs.net代码段管理器应用 - yyutudou
对于.net程序员来见,vs编程开发的强大和方便让我们收益匪浅,visual studio 代码段管理器添加自己常用的代码段。想必大家都记得vs里的这个代码提示吧。刚刚学习入门程序的时候一般都是控制台输出hello world!(hello world作为所有编程语言的起始阶段,占据着无法改变的地位,所有中/英/法/德/美……版本的编程教材中,hello world总是作为第一个TEST记录于书本之中,所有的编程第一步就在于此了!经典之中的经典)对于c#来说添加一个void Main 的快捷方式,键入svm再双击tab键即可,大家是不是感觉很方便。接下来教大家添加自己的代码段到代码段管理器中。
2013-01-29T02:22:00Z
2013-01-29T02:22:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】对于.net程序员来见,vs编程开发的强大和方便让我们收益匪浅,visual studio 代码段管理器添加自己常用的代码段。想必大家都记得vs里的这个代码提示吧。刚刚学习入门程序的时候一般都是控制台输出hello world!(hello world作为所有编程语言的起始阶段,占据着无法改变的地位,所有中/英/法/德/美……版本的编程教材中,hello world总是作为第一个TEST记录于书本之中,所有的编程第一步就在于此了!经典之中的经典)对于c#来说添加一个void Main 的快捷方式,键入svm再双击tab键即可,大家是不是感觉很方便。接下来教大家添加自己的代码段到代码段管理器中。 <a href="https://www.cnblogs.com/yyutudou/archive/2013/01/29/2880959.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/archive/2012/06/01/2530928.html
后台添加css和js - yyutudou
/// <summary> /// 添加JS脚本链接 /// </summary> /// <param name="page">页面</param> /// <param name="url">路径</param> public static void AddJS(System.Web.UI.Page page, string url) { HtmlGenericControl jsControl = new HtmlGenericControl("script"
2012-06-01T08:07:00Z
2012-06-01T08:07:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】/// <summary> /// 添加JS脚本链接 /// </summary> /// <param name="page">页面</param> /// <param name="url">路径</param> public static void AddJS(System.Web.UI.Page page, string url) { HtmlGenericControl jsControl = new HtmlGenericControl("script" <a href="https://www.cnblogs.com/yyutudou/archive/2012/06/01/2530928.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/archive/2012/06/01/2530810.html
js屏蔽鼠标键盘 - yyutudou
1 <script language="Javascript" type="text/javascript"> 2 //屏蔽鼠标右键、Ctrl+N、Shift+F10、F11、F5刷新、退格键 3 function document.oncontextmenu() { 4 event.returnValue = false; 5 } //屏蔽鼠标右键 6 function window.onhelp() { 7 return false 8 } //屏蔽F1帮助 9 function documen...
2012-06-01T07:15:00Z
2012-06-01T07:15:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】1 <script language="Javascript" type="text/javascript"> 2 //屏蔽鼠标右键、Ctrl+N、Shift+F10、F11、F5刷新、退格键 3 function document.oncontextmenu() { 4 event.returnValue = false; 5 } //屏蔽鼠标右键 6 function window.onhelp() { 7 return false 8 } //屏蔽F1帮助 9 function documen... <a href="https://www.cnblogs.com/yyutudou/archive/2012/06/01/2530810.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/yyutudou/archive/2012/04/10/2439990.html
asp.net去除字符串中html标签 - yyutudou
/// <summary> /// 去除HTML标记 /// </summary> /// <param name="NoHTML">包括HTML的源码</param> /// <returns>已经去除后的文字</returns> public static string RemoveHTMLCode(string HtmlCode) { //删除脚本 HtmlCode = Regex.Replace(HtmlCode, @"<script[^>]*?>.*?</sc
2012-04-10T01:51:00Z
2012-04-10T01:51:00Z
yyutudou
https://www.cnblogs.com/yyutudou/
【摘要】/// <summary> /// 去除HTML标记 /// </summary> /// <param name="NoHTML">包括HTML的源码</param> /// <returns>已经去除后的文字</returns> public static string RemoveHTMLCode(string HtmlCode) { //删除脚本 HtmlCode = Regex.Replace(HtmlCode, @"<script[^>]*?>.*?</sc <a href="https://www.cnblogs.com/yyutudou/archive/2012/04/10/2439990.html" target="_blank">阅读全文</a>