会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
青橙时光
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2020年9月3日
git clone 使用用户名和密码
摘要: git clone http://邮箱(或用户名):密码@仓库 命令: git clone http://xw%40qq.com:xw@git.test.com/abc/demo 示例: 邮箱 : xw@qq.com密码: xw仓库: http://git.test.com/abc/demo注意:
阅读全文
posted @ 2020-09-03 15:00 青橙时光
阅读(1737)
评论(0)
推荐(0)
2020年1月13日
图形验证码
摘要: public class SecurityCode { /// <summary> /// 生成随机的字符串 /// </summary> /// <param name="codeCount">验证码长度</param> /// <returns></returns> public string
阅读全文
posted @ 2020-01-13 13:41 青橙时光
阅读(278)
评论(0)
推荐(0)
2020年1月10日
C#通过文件路径获取文件名
摘要: string fullPath = @"\WebSite1\Default.aspx"; string filename = System.IO.Path.GetFileName(fullPath);//文件名 “Default.aspx” string extension = System.IO.
阅读全文
posted @ 2020-01-10 15:57 青橙时光
阅读(4486)
评论(0)
推荐(0)
Dictionary的基本用法
摘要: 1.创建泛型哈希表,然后加入元素 Dictionary<string,string> openWith=new Dictionary<string, string>(); openWith.Add("txt","notepad.exe"); openWith.Add("bmp","paint.exe
阅读全文
posted @ 2020-01-10 15:43 青橙时光
阅读(1008)
评论(0)
推荐(0)
MD5加密
摘要: public class EncryptMethods { /// <summary> /// Md5加密 /// </summary> /// <param name="str">时间+随机数+令牌</param> /// <returns></returns> public string Enc
阅读全文
posted @ 2020-01-10 15:34 青橙时光
阅读(315)
评论(0)
推荐(0)
C#创建自定义配置节
摘要: name为自定义节点的名称,type为自定义节点解析文件的命名空间和自定义节处理程序的类名 1. 在<configSections>节点中注册你所要定义的节点名称及用于处理该节点的配置节处理程序。代码如下: <configSections> <section name="dbFactory" typ
阅读全文
posted @ 2020-01-10 15:31 青橙时光
阅读(546)
评论(0)
推荐(0)
linux下安装nginx
摘要: 1.在安装nginx前首先要确认系统中是否安装了gcc、pcre-devel、zlib-devel、openssl-devel。 安装命令: yum -y install gcc pcre-devel zlib-devel openssl openssl-devel 2.nginx下载地址:http
阅读全文
posted @ 2020-01-10 15:15 青橙时光
阅读(265)
评论(0)
推荐(0)
2019年12月26日
jquery自动去除form表单中input框前后的空格
摘要:
阅读全文
posted @ 2019-12-26 14:49 青橙时光
阅读(1075)
评论(0)
推荐(0)
linux查看防火墙状态和对外开放的端口状态
摘要: 1.查看防火墙状态 查看防火墙状态 systemctl status firewalld 开启防火墙 systemctl start firewalld 关闭防火墙 systemctl stop firewalld 开启防火墙 service firewalld start 若遇到无法开启 先用:s
阅读全文
posted @ 2019-12-26 14:46 青橙时光
阅读(15975)
评论(0)
推荐(1)
2019年1月18日
js 获取二级域名
摘要: js获取页面完整地址: window.location.href; var s =" https://ejym.baidu.com"; var h = s.split(".")[0]; var a = h.split("//")[1]; alert(a); a的结果是:ejym
阅读全文
posted @ 2019-01-18 17:19 青橙时光
阅读(3401)
评论(0)
推荐(0)
1
2
下一页
公告