上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页
摘要: http://www.open-open.com/lib/view/open1437746544709.html 在你的机器上使用docker pull来从Docker Hub下载镜像。 docker pull image1docker pull image2 然后使用docker history来 阅读全文
posted @ 2016-08-30 07:04 shiningrise 阅读(5115) 评论(0) 推荐(0) 编辑
摘要: http://www.c-lodop.com/demolist/PrintSampIndex.html 阅读全文
posted @ 2016-08-28 21:42 shiningrise 阅读(150) 评论(0) 推荐(0) 编辑
摘要: https://bitbucket.org/tamtam-nl/tamtam-nuget-imageserver/overview https://www.nuget.org/packages/TamTam.NuGet.ImageServer.Binary/ 阅读全文
posted @ 2016-08-28 18:24 shiningrise 阅读(271) 评论(0) 推荐(0) 编辑
摘要: btn.Click += new EventHandler(button2_Click); //获取Button类定义的所有事件的信息PropertyInfo pi = (typeof(Button)).GetProperty("Events", BindingFlags.Instance |BindingFlags.NonPublic); //获取Button对象btn的事件处理程序列表Eve... 阅读全文
posted @ 2016-08-28 00:52 shiningrise 阅读(514) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/GarsonZhang/p/5511427.html https://github.com/GarsonZhang/FileUpLoadAPI 阅读全文
posted @ 2016-08-25 20:46 shiningrise 阅读(355) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/tanyixiu/blog/123832 目标服务器:targetServer 配置反向代理的服务器:reveseProxServer 1、确定最终访问的网址:比如www.baidu.com 、www.csdn.net等等。 当然你也可以自己在target 阅读全文
posted @ 2016-08-25 09:17 shiningrise 阅读(328) 评论(0) 推荐(0) 编辑
摘要: redis 密码 阅读全文
posted @ 2016-08-24 04:19 shiningrise 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 七牛,又拍 http://www.qiniu.com/ https://www.upyun.com/index.html 阅读全文
posted @ 2016-08-23 00:23 shiningrise 阅读(134) 评论(0) 推荐(0) 编辑
摘要: FileSystem C:\Temp\publish\01 False Release Any CPU False pubxml pubxml pubxml 阅读全文
posted @ 2016-08-16 15:08 shiningrise 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Mono Migration Analyzer (Moma) 是一个用于开发者使用的MS .net下开发的应用程序迁移到Mono平台的不兼容性检测工具。工具通过分析.dll或者.exe程序集的代码是否符合ECMA CLI,大家都知道符合ECMA CLI标准的.net 程序可以运行于MS .net和M 阅读全文
posted @ 2016-08-16 09:39 shiningrise 阅读(644) 评论(1) 推荐(0) 编辑
摘要: http://www.lvdou111.com/ 阅读全文
posted @ 2016-08-14 12:05 shiningrise 阅读(451) 评论(0) 推荐(0) 编辑
摘要: http://www.crsky.com/soft/72908.html 阅读全文
posted @ 2016-08-14 01:00 shiningrise 阅读(580) 评论(0) 推荐(0) 编辑
摘要: http://hd.ruanmei.com/ 阅读全文
posted @ 2016-08-13 23:55 shiningrise 阅读(144) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/zh-cn/library/ms171466(v=vs.100).aspx 阅读全文
posted @ 2016-08-12 01:47 shiningrise 阅读(122) 评论(0) 推荐(0) 编辑
摘要: public async Task CheckRfidAsync(RfidInfo rficInfo) { using (DbScopeFactory.CreateReadOnly()) { OperationResult result = OperationResult.NoChan... 阅读全文
posted @ 2016-08-11 13:09 shiningrise 阅读(156) 评论(0) 推荐(0) 编辑
摘要: http://www.freesshd.com 阅读全文
posted @ 2016-08-11 00:26 shiningrise 阅读(118) 评论(0) 推荐(0) 编辑
摘要: http://www.xlightftpd.com/cn/index.htm FileZilla Server官网:http://www.filezilla-project.org/ 阅读全文
posted @ 2016-08-10 18:39 shiningrise 阅读(213) 评论(0) 推荐(0) 编辑
摘要: #1. 新建一个pw.pl文件专门用来生成密码 #!/usr/bin/perl use strict; my $pw=$ARGV[0]; print crypt($pw,$pw)."\n"; #2. 修改Nginx配置文件,添加,用户名和密码存放的位置 auth_basic "nginx status"; auth_basic_user_file /usr/local/web/nginx.0... 阅读全文
posted @ 2016-08-08 22:43 shiningrise 阅读(731) 评论(0) 推荐(0) 编辑
摘要: https://yq.aliyun.com/articles/55912 摘要: 什么是docker的link机制 同一个宿主机上的多个docker容器之间如果想进行通信,可以通过使用容器的ip地址来通信,也可以通过宿主机的ip加上容器暴露出的端口号来通信,前者会导致ip地址的硬编码,不方便迁移,并且容器重启后ip地址会改变,除非使用固定的ip,后者的通信方式比较单一,只能依靠监听在暴露出的端口的... 阅读全文
posted @ 2016-08-08 22:33 shiningrise 阅读(995) 评论(0) 推荐(0) 编辑
摘要: taken from https://docs.docker.com/compose/install/ the only thing is that /usr is read only, but /opt/bin is writable and in the path, so: sd-xx~ # mkdir /opt/bin sd-xx~ # curl -L https://github.com... 阅读全文
posted @ 2016-08-08 19:29 shiningrise 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 经测试下面方法获取Mac跨平台 protected override void OnLoad(EventArgs e) { Response.Write(string.Join("", GetMacString())); Response.Write(""); base.OnLoad(e); ... 阅读全文
posted @ 2016-08-07 15:41 shiningrise 阅读(388) 评论(0) 推荐(0) 编辑
摘要: public partial class Index : System.Web.UI.Page { protected override void OnLoad(EventArgs e) { Response.Write(typeof(System.Data.DataTable).AssemblyQualifiedName); Response.Write(""); ... 阅读全文
posted @ 2016-08-07 15:22 shiningrise 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 一直发现 mono 的 traceback 没有 fliename、lineno,很奇怪。研究了下,原来编译和运行时要加参数的。 dmcs -debug /r:xunit.dll /t:library MyTest.cs mono --debug xunit.console.exe MyTest.d 阅读全文
posted @ 2016-08-06 23:36 shiningrise 阅读(354) 评论(0) 推荐(0) 编辑
摘要: xcopy "$(ProjectDir)Admin" "$(SolutionDir)模块\CanDoo.Admin.WebHost\Admin" /e/h 阅读全文
posted @ 2016-08-06 18:58 shiningrise 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 尝试加载应用时出现了以下错误。- 找不到包含 OwinStartupAttribute 的程序集。- 找不到包含 Startup 或 [AssemblyName].Startup 类的程序集。若要禁用 OWIN 启动发现,请在 web.config 中为 appSetting owin:Automa 阅读全文
posted @ 2016-08-06 16:47 shiningrise 阅读(2754) 评论(1) 推荐(0) 编辑
摘要: namespace Microsoft.AspNet.Identity { public class PasswordHasher : IPasswordHasher { public virtual string HashPassword(string password) { return Crypto.HashPassword(password); } public... 阅读全文
posted @ 2016-08-05 16:21 shiningrise 阅读(465) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/shanyou/archive/2013/06/14/3134921.html 阅读全文
posted @ 2016-08-05 15:35 shiningrise 阅读(145) 评论(0) 推荐(0) 编辑
摘要: .NET获取服务器信息,如服务器版本、IIS等 .NET获取服务器信息,如服务器版本、IIS版本、数据库大小、网站系统空间占用大小、网站部署路径等等 .NET获取系统环境信息 #region 返回操作系统信息 .net版本 数据库大小 程序大小等方法/// /// 获取服务器系统信息/// public string GetOSVersion() { OperatingS... 阅读全文
posted @ 2016-08-05 08:40 shiningrise 阅读(2141) 评论(0) 推荐(0) 编辑
摘要: 一、Jexus Web Server配置 在 jexus 的工作文件夹中(一般是“/usr/jexus”)有一个基本的配置文件,文件名是“jws.conf”。jws.conf 中至少有 SiteConfigDir 和 SiteLogDir 两行信息:SiteConfigDir=siteconf #指的是存放网站配置文件放在siteconf这个文件夹中,可以使用基于jws.exe文件的相对... 阅读全文
posted @ 2016-08-05 08:38 shiningrise 阅读(1340) 评论(0) 推荐(0) 编辑
摘要: 免 sudo 使用 docker 如果还没有 docker group 就添加一个: sudo groupadd docker 将用户加入该 group 内。然后退出并重新登录就生效啦。 sudo gpasswd -a ${USER} docker 重启 docker 服务 sudo service 阅读全文
posted @ 2016-08-05 07:59 shiningrise 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Here is the solution I settled on. I installed the NuGet Microsoft.AspNet.FriendlyUrls package. Then I named the .aspx page with a page name that woul 阅读全文
posted @ 2016-08-04 22:51 shiningrise 阅读(214) 评论(0) 推荐(0) 编辑
摘要: a-fA-F0-9 加上下划线 _ 可以用 \w 来代替。 ^\w{8}-(\w{4}-){3}\w{12}$ 如果不可以用下划线, 0-9 用 \d 代替 a-fA-F 就用其中一个 a-f,然后匹配的时候忽略大小写(标记是 i) 阅读全文
posted @ 2016-08-04 21:15 shiningrise 阅读(629) 评论(0) 推荐(0) 编辑
摘要: git tag — 标签相关操作 发表于 2011年06月29日 由 机器猫 标签可以针对某一时间点的版本做标记,常用于版本发布。 列出标签 $ git tag # 在控制台打印出当前仓库的所有标签$ git tag -l ‘v0.1.*’ # 搜索符合模式的标签 打标签 git标签分为两种类型:轻量标签和附注标签。轻量标签是指向提交对象的引用,附注标签则是仓库中的一个独立对象。建议使用附注... 阅读全文
posted @ 2016-08-04 20:58 shiningrise 阅读(498) 评论(0) 推荐(0) 编辑
摘要: PS背景:我在公司做sdk 的pc端开发,所以经常会在win下编译通过之后跑到linux下再运行一次已确保能支持多平台。 今儿在win下跑完一程序,然后放到linux下跑的时候,我用指令: [plain] view plain copy sudo ./build.sh 但是却没有任何反应。于是我换了指令,用 [plain] view plain copy c... 阅读全文
posted @ 2016-08-04 20:24 shiningrise 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 最近得到一个比较好用的DNS,每次重启后都修改DNS配置文件 /etc/resolv.conf 重启就会失效 从网上得知 /etc/resolv.conf中的DNS配置是从/etc/resolvconf/resolv.conf.d/head中加载而来,所以每回改resolv.conf都会失效,在此文 阅读全文
posted @ 2016-08-04 20:15 shiningrise 阅读(933) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/wsscy2004/article/details/25878223 如何使用 Dockerfile用来创建一个自定义的image,包含了用户指定的软件依赖等。当前目录下包含Dockerfile,使用命令build来创建新的image,并命名为edwards 阅读全文
posted @ 2016-08-04 16:31 shiningrise 阅读(290) 评论(0) 推荐(0) 编辑
摘要: http://blog.163.com/digoal@126/blog/static/163877040201410341236664/ 在Dockerfile中, 我们可以使用ADD和COPY拷贝文件(注意是上下文相关目录的文件, 不是本地的任意文件, 除非上下文目录是根)到container制作 阅读全文
posted @ 2016-08-04 16:30 shiningrise 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 使用docker exec 就可以进入container,例如:docker exec -it <container_id> /bin/bash 阅读全文
posted @ 2016-08-04 15:34 shiningrise 阅读(1615) 评论(0) 推荐(0) 编辑
摘要: 杀死所有正在运行的容器 复制代码代码如下: docker kill $(docker ps -a -q) 删除所有已经停止的容器 复制代码代码如下: docker rm $(docker ps -a -q) 删除所有未打 dangling 标签的镜像 复制代码代码如下: docker rmi $(d 阅读全文
posted @ 2016-08-03 21:57 shiningrise 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 正则表达式,一个十分古老而又强大的文本处理工具,仅仅用一段非常简短的表达式语句,便能够快速实现一个非常复杂的业务逻辑。熟练地掌握正则表达式的话,能够使你的开发效率得到极大的提升。 正则表达式经常被用于字段或任意字符串的校验,如下面这段校验基本日期格式的JavaScript代码: var reg = 阅读全文
posted @ 2016-08-03 08:29 shiningrise 阅读(336) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css