摘要: 登录:ssh root@192.168.0.183 阅读全文
posted @ 2024-03-04 17:05 yyutudou 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 替换html str.replace(/<[^>]+>/g, '') 正则替换ALL str.replace(/&nbsp;/g, '') 正则替换所有空位 str.split(/[\t\r\f\n\s]*/g).join('') 阅读全文
posted @ 2023-05-15 09:49 yyutudou 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 垂直居中 display: flex; /*主轴居中对齐*/ justify-content: center; /*侧轴居中对齐*/ align-items: center; height:** 搜索 复制 阅读全文
posted @ 2022-07-11 14:42 yyutudou 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 数据库清除日志 1 --2005 2 DUMP TRANSACTION [DataBaseName] WITH NO_LOG 3 BACKUP LOG [DataBaseName] WITH NO_LOG 4 DBCC SHRINKDATABASE([DataBaseName]) 5 6 --201 阅读全文
posted @ 2022-01-13 16:46 yyutudou 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1 --Sql Server 中一个非常强大的日期格式化函数 2 Select CONVERT(varchar(100), GETDATE(), 0) as '结果','0' as '代号' union -- : 05 16 2006 10:57AM 3 Select CONVERT(varchar 阅读全文
posted @ 2022-01-13 16:36 yyutudou 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 分组筛选第一条 SELECT * from( SELECT *, row_number () OVER ( partition BY [分组列] ORDER BY [排序列] DESC ) rowid FROM [table] WHERE 1=1 ) t WHERE rowid = 1; 分组后删除 阅读全文
posted @ 2022-01-13 15:29 yyutudou 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 该类其功能相当于浏览器对当前页面内链接地址的解析功能主要方法是 字符串的操作,正则表达式的匹配和替换。比如所当前页为: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 阅读全文
posted @ 2013-05-06 16:47 yyutudou 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 3366打豆豆瞄准线C#Winfrom源码 阅读全文
posted @ 2013-04-30 01:06 yyutudou 阅读(395) 评论(2) 推荐(0) 编辑
摘要: 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" 阅读全文
posted @ 2013-04-13 15:58 yyutudou 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 对于.net程序员来见,vs编程开发的强大和方便让我们收益匪浅,visual studio 代码段管理器添加自己常用的代码段。想必大家都记得vs里的这个代码提示吧。刚刚学习入门程序的时候一般都是控制台输出hello world!(hello world作为所有编程语言的起始阶段,占据着无法改变的地位,所有中/英/法/德/美……版本的编程教材中,hello world总是作为第一个TEST记录于书本之中,所有的编程第一步就在于此了!经典之中的经典)对于c#来说添加一个void Main 的快捷方式,键入svm再双击tab键即可,大家是不是感觉很方便。接下来教大家添加自己的代码段到代码段管理器中。 阅读全文
posted @ 2013-01-29 10:22 yyutudou 阅读(428) 评论(0) 推荐(0) 编辑