Delly's Publisher

Delly's Personal Blog Website


    用Markdown编写Evernote文章(With Sublime Text)

    前言

    先说说本文的来历。 之前用postach.io的服务构建了一个自己的个人博客,我也在陆续往这个博客上post文章。简单的来说,通过这个服务,你可以再Evernote的某一个笔记本里发布一篇文章,只要添加上特定的标签,这篇文章就可以自动发布到你的博客站点中。个人觉得这种方式有很多优点:

    • 发博文方便,你不需要像传统的方式那样在本地编号再登录到博客网站重新发布排版
    • 便于归档,你不用把文章存好几份,不用担心线上线下的文章数量是否一致
    • 有足够的定制空间。Postach.io可以从模板库里选择模板,也可以从github上fork一个现成的模板,修改一下应用到自己的博客上–这也是我现在正在使用的方式,我为自己的博客添加了评论系统,分享按钮,流量统计功能,等等……
    Read More...



    How to delete a Websphere profile

    How to delete a Websphere profile

    1. if you are removing a profile that is federated to a cell (Including ND Cell and AdminAgent)

    cd {AdminAgent Home}/bin
    deregisterNode -connType SOAP -port 8877 -profilePath "F:\IBM\Websphere\AppServer\profiles\AppSrv01" -username xxxx -password "Password"
    

    Attention:

    • Use removeNode command if it is a ND Cell.
    • Use deregisterNode command if it is a AdminAgent managed node. Here I use this secario as the example.
    • Please ensure The AdminAgent must be running.
    • If you don’t remember the SOAP port of the AdminAgent, can check the serverindex.xml under {AdminAgent Home}\config\cells\THAIPWAPP15AACell01\nodes\THAIPWAPP15AANode01
    Read More...



    Zabbix Update from 1.8.3 to 1.8.12

    This document is to introduce how to upgrade the Zabbix from 1.8.3 to 1.8.12 to suit OpenSuse 11.4.

    Note: As this is not a full new configuration, so this document is only for Zabbix version update from 1.8.3 to 1.8.12, cannot be treated as a full installation guide.

    As this is a little update during 1.8.x, so no need to touch the DB. Steps attached here, please follow the steps strictly, all the command are provided here.

    Read More...



    Linux网络管理— 学习笔记

    OSI七层模型:

    • 物理层 比特 八根网线1346用来传数据,设备之间传递比特流

    • 数据链路层 帧 用Mac地址访问媒介,错误检测修正

      内网用Mac地址传数据

    Read More...



    Java面试题练习 计算兄弟数字的分析和实现

    陈利人面试题之: 给定一个数X,他的兄弟数Y定义为:是由X中的数字组合而成,并且Y是大于X的数中最小的。例如,38276的兄弟数字为38627。给定X,求Y。

    原题及作者分析链接: http://mp.weixin.qq.com/mp/appmsg/show?__biz=MjM5ODIzNDQ3Mw==&appmsgid=10000184&itemidx=1&sign=f080024b52b8bf130bd9c1c7860e4306

    个人分析: 个人认为,求得Y其实有两种情况: 1. X里面的最后一位数比倒数第二位数要大: 这个时候,直接交换那两位就可以得到Y了。比如:1234567,它的兄弟数字就是1234576.(由原数字组成,并且是比原数字大的数字里面的最小的一个。) - X里面的最后一位数比倒数第二位要小: 这个时候,就可以参照链接里的分析:

    Read More...



    解决IIS问题:HttpException (0x80004005): The current identity does not have write access to IIS Temporary ASP.NET Files.]

    IIS Log中出现这个错误:

    [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to ‘C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files’.]
    System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +9022990
    System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +152

    Read More...



    在Apache中配置自签名证书(Self signed Certification in Apache)

    1. Create a self-signed certificate to enable SSL

       Under /etc/apache2/  
       openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./ssl.key/<hostname>.key -out ./ssl.crt/<hostname>.crt
      
    2. under /etc/apache2/vhost.d/

       cp vhost-ssl.template vhost-ssl
      
    3. Edit vhost-ssl.conf, add below 2 lines in the configuration:

      SSLCertificateFile /etc/apache2/ssl.crt/.crt SSLCertificateKeyFile /etc/apache2/ssl.key/.crt

    Read More...



    如何从Symantec为自己的网站购买SSL证书

    当我们的网站有加密会话的需求的时候,我们会把所有的请求从HTTP协议转向HTTPS协议。使用HTTPS协议加密session的话我们就需要用到安全证书。当然我们可以自己生成安全证书,但是没人能证明你的安全证书本身足够安全。所以,我们需要从业界公认的证书提供商处去购买一个安全性强的证书,让他们来证明你的网站的会话确实可以被加密。。。。。。

    基于这样的需求,有实力的公司会选择信誉良好的证书提供商,以证明他们的网站确实很安全(在访问银行类保险公司类的网站的时候基本上每一个网页都会有HTTPS加密,浏览器的地址栏旁边会提示说安全证书哪家最强云云……),价格问题会放在其次。

    Symantec就是其中一个比较不错的证书提供商。但是他的网站的易用性确实不怎么好,很多时候申请的信息会莫名其妙的自动被修改。这篇文章是基于我自己的大量的证书申请经历创建的,按照本文的方法做,保你申请无忧。

    Read More...



    Linux学习笔记

    echo $SHELL
    ##永久改变shell
    chsh -s /bin/bash [username]
    
    ##临时改变shell
    /bin/bash
    
    Read More...



    Training Daily

    得到了《囚徒健身》,开始力量训练。特在此记录每天的锻炼进度。

    不练不知道一练吓一跳,原来自己在力量方面这么弱。囚徒健身里有六艺,每艺有十个级别,也叫“十式”,今晚本打算做俯卧撑,深蹲,抬腿和引体向上的第一式,结果发现能做完俯卧撑和抬腿的第一式就不错了,深蹲的第一式完全做不到,引体向上也没精力尝试了。

    Read More...