Help
RSS
API
Feed
Maltego
Contact
Domain > adairjun.github.io
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2017-07-12
151.101.0.133
(
ClassC
)
2018-03-14
151.101.45.147
(
ClassC
)
2024-08-24
185.199.110.153
(
ClassC
)
Port 80
HTTP/1.1 200 OKConnection: keep-aliveContent-Length: 22048Server: GitHub.comContent-Type: text/html; charsetutf-8permissions-policy: interest-cohort()Last-Modified: Thu, 18 Nov 2021 11:44:54 GMTAccess-Control-Allow-Origin: *ETag: 61963cb6-5620expires: Sat, 24 Aug 2024 07:24:25 GMTCache-Control: max-age600x-proxy-cache: MISSX-GitHub-Request-Id: 20EC:10CF:20D2681:21A4D86:66C98850Accept-Ranges: bytesAge: 0Date: Sat, 24 Aug 2024 07:14:25 GMTVia: 1.1 varnishX-Served-By: cache-bfi-kbfi7400093-BFIX-Cache: MISSX-Cache-Hits: 0X-Timer: S1724483665.091973,VS0,VE68Vary: Accept-EncodingX-Fastly-Request-ID: 3bb042b97ccc1590b0611298faa8213a83073b2a !DOCTYPE HTML>html langzh-CN>head> meta charsetUTF-8> title>Adair's Home/title> meta nameviewport contentwidthdevice-width, initial-scale1,user-scalableno> meta nameauthor contentadairjun> meta namedescription content骐骥一跃,不能十步,驽马十驾,功在不舍>meta propertyog:type contentwebsite>meta propertyog:title contentAdair's Home>meta propertyog:url contenthttp://xiongjun.info/index.html>meta propertyog:site_name contentAdair's Home>meta propertyog:description content骐骥一跃,不能十步,驽马十驾,功在不舍>meta propertyog:locale contentzh_CN>meta propertyarticle:author contentadairjun>meta nametwitter:card contentsummary> link relalternative href/atom.xml titleAdair's Home typeapplication/atom+xml> link relicon href/img/favicon.ico> link relapple-touch-icon href/img/jacman.jpg> link relapple-touch-icon-precomposed href/img/jacman.jpg> link relstylesheet href/css/style.css>link relstylesheet href/%02.css>link relstylesheet href/.css>meta namegenerator contentHexo 5.4.0>/head> body> header> div> div idtextlogo> h1 classsite-name>a href/ titleAdair's Home>Adair's Home/a>/h1> h2 classblog-motto>书写|为了更好地思考/h2> /div> div classnavbar>a classnavbutton navmobile href# title菜单> /a>/div> nav classanimated> ul> ul> li>a href/>首页/a>/li> li>a href/archives>归档/a>/li> li>a href/about>关于/a>/li> li> form classsearch action//google.com/search methodget accept-charsetutf-8> label>Search/label> input typesearch idsearch nameq autocompleteoff maxlength20 placeholder搜索 /> input typehidden nameq valuesite:xiongjun.info> /form> /li> /ul> /nav> /div> /header> div idcontainer> div idmain> section classpost itemscope itempropblogitem> a href/2021/11/18/golang-md/ titlegolang.md itempropurl> h1 itempropname>golang.md/h1> p itempropdescription >了解该语言的基本数据类型,基本语法和主要语言构造;主要数学运算符和print函数的使用,达到能够写课后习题水平;print函数: 一共有4种123import ("fmt")fmt.Printf("%d", 1)基本语法:变量使用v/p> time datetime2021-11-18T01:31:13.000Z itempropdatePublished>2021-11-18/time> /a>/section> section classpost itemscope itempropblogitem> a href/2021/11/18/javascript/ title快速掌握一门语言常用的50% - javascript itempropurl> h1 itempropname>快速掌握一门语言常用的50% - javascript/h1> p itempropdescription >了解该语言的基本数据类型,基本语法和主要语言构造;主要数学运算符和print函数的使用,达到能够写课后习题水平;print函数: 一共有4种1234567window.alert("this is window.alert");document.getEle/p> time datetime2021-11-17T16:25:25.000Z itempropdatePublished>2021-11-18/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/12/20/gitlab/ titlegitlab部署手册 itempropurl> h1 itempropname>gitlab部署手册/h1> p itempropdescription >硬件配置硬件配置可参见gitlab官方的硬件配置手册 ,以下是简单翻译:硬盘gitlab的需要的硬盘的容量是根据仓库的数量来决定的。一般来说如果一台服务器只跑gitlab的话,40G的硬盘是足够的。CPU1核的CPU能够支撑100个用户,但是gitlab应用会比较慢,因为所/p> time datetime2016-12-20T12:30:32.000Z itempropdatePublished>2016-12-20/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue6/ title消息队列与共享内存(六):System V共享内存 itempropurl> h1 itempropname>消息队列与共享内存(六):System V共享内存/h1> p itempropdescription >《UNPv2》当中说了“共享内存是可用IPC形式当中最快的。一旦这样的内存区映射到共享它的进程的地址空间,这些进程间数据的传递就不再涉及内核。这里说的不涉及内核的含义是:进程不再通过执行任何进入内核的系统调用来彼此传递数据。显然,内核必须建立允许各个进程共享该内存区的内存映射关系/p> time datetime2016-02-16T12:30:32.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue5/ title消息队列与共享内存(五):企业应用级的消息队列 itempropurl> h1 itempropname>消息队列与共享内存(五):企业应用级的消息队列/h1> p itempropdescription >概述其实进程之间的消息队列的通信方式说白了就是一个消息链表,有足够写权限的进程能够往队列中放置消息,有足够读权限的进程可从队列中取走消息。再泛化一点,数据库Mysql也可以用于进程间的通信,一个进程往Mysql当中写数据,另外的进程从Mysql当中读数据。对于linux的Sys/p> time datetime2016-02-16T12:29:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue4/ title消息队列与共享内存(四):protobuf反射机制 itempropurl> h1 itempropname>消息队列与共享内存(四):protobuf反射机制/h1> p itempropdescription >protobuf自描述消息在上一篇文章当中我讲到了使用protobuf来序列化消息便于发送,那么如果直接把我的rapidmsg用在我的消息队列当中就是这样的情况:12345678910111213141516171819202122232425long messageId /p> time datetime2016-02-16T12:28:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue3/ title消息队列与共享内存(三):格式化消息的`message_factory`设计 itempropurl> h1 itempropname>消息队列与共享内存(三):格式化消息的`message_factory`设计/h1> p itempropdescription >想法:将protobuf产生的消息格式化成System V 消息队列能够使用的形式,也就是这种形式:1234567#define _MYMSG_BUFFER_ 8192struct rapidMsg { long messageId; ///p> time datetime2016-02-16T12:27:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue2/ title消息队列与共享内存(二):protobuf序列化消息 itempropurl> h1 itempropname>消息队列与共享内存(二):protobuf序列化消息/h1> p itempropdescription >上一篇文章简单地介绍了System V的消息队列。但是如果只是简单的封装一下系统调用,这种学习方法我觉得没有任何的意义。我觉得既然说到了消息队列,那么进一步就应该谈一谈消息的结构。在上文当中消息队列的模板是:1234struct msgbuf { long mtyp/p> time datetime2016-02-16T12:26:32.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue1/ title消息队列与共享内存(一):System V 消息队列 itempropurl> h1 itempropname>消息队列与共享内存(一):System V 消息队列/h1> p itempropdescription >这系列博客是《UNPv2》的复习。《UNPv2》讲述的是非网络IPC的机制,而UNPv1讲述的socket编程是网络IPC的机制。当然简单地封装一下系统调用来组成接口我觉得对于学习根本就没有任何的意义,说的直白一点就是谁不懂封装啊?所谓的消息队列就是要研究一下消息应该如何传递,/p> time datetime2016-02-16T12:24:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/15/riddle/ title谜语 itempropurl> h1 itempropname>谜语/h1> p itempropdescription >俄波诺玛廖娃 这是我小时候的故事。我遇见了一个魔法师。 “请你把我变成一个大人。” “这是为什么?”魔法师感到很奇怪。 “因为我的脚够不到自行车的脚蹋板。” “那好吧,”魔法师说,“不过,你先得猜个谜语:一早醒来就没个完的是什么?” “没个完?这准是奶奶的唠叨吧!/p> time datetime2016-02-15T12:50:26.000Z itempropdatePublished>2016-02-15/time> /a>/section> nav idpage-nav classclearfix unexpand> span classpage-number current>1/span>a classpage-number href/page/2/>2/a>a classpage-number href/page/3/>3/a>a classpage-number href/page/4/>4/a>a classextend next relnext href/page/2/>Next<span></span>/a> /nav>/div> div classopenaside>a classnavbutton href# title显示侧边栏>/a>/div>div idasidepart>div classcloseaside>a classclosebutton href# title隐藏侧边栏>/a>/div>aside classclearfix> div classgithub-card>p classasidetitle>Github 名片/p>div classgithub-card data-githubadairjun data-thememedium>/div>script typetext/javascript src//cdn.jsdelivr.net/github-cards/latest/widget.js >/script>/div> div classcategorieslist> p classasidetitle>分类/p> ul> li>a href/categories/MessageQueue/ titleMessageQueue>MessageQueuesup>6/sup>/a>/li> li>a href/categories/SocketPoll/ titleSocketPoll>SocketPollsup>10/sup>/a>/li> li>a href/categories/bash/ titlebash>bashsup>3/sup>/a>/li> li>a href/categories/git/ titlegit>gitsup>3/sup>/a>/li> li>a href/categories/gitlab/ titlegitlab>gitlabsup>1/sup>/a>/li> li>a href/categories/hexo/ titlehexo>hexosup>1/sup>/a>/li> li>a href/categories/javascript/ titlejavascript>javascriptsup>1/sup>/a>/li> li>a href/categories/property-tree/ titleproperty_tree>property_treesup>3/sup>/a>/li> li>a href/categories/历程/ title历程>历程sup>2/sup>/a>/li> li>a href/categories/日志/ title日志>日志sup>1/sup>/a>/li> li>a href/categories/正则表达式/ title正则表达式>正则表达式sup>1/sup>/a>/li> li>a href/categories/编程错误/ title编程错误>编程错误sup>1/sup>/a>/li> li>a href/categories/编译/ title编译>编译sup>1/sup>/a>/li> li>a href/categories/设计模式/ title设计模式>设计模式sup>1/sup>/a>/li> /ul>/div> div classtagslist> p classasidetitle>标签/p> ul classclearfix> li>a href/tags/socket/ titlesocket>socketsup>10/sup>/a>/li> li>a href/tags/SocketPoll/ titleSocketPoll>SocketPollsup>10/sup>/a>/li> li>a href/tags/git/ titlegit>gitsup>3/sup>/a>/li> li>a href/tags/bash/ titlebash>bashsup>3/sup>/a>/li> li>a href/tags/shell/ titleshell>shellsup>3/sup>/a>/li> li>a href/tags/boost/ titleboost>boostsup>3/sup>/a>/li> li>a href/tags/property-tree/ titleproperty_tree>property_treesup>3/sup>/a>/li> li>a href/tags/IPC/ titleIPC>IPCsup>3/sup>/a>/li> li>a href/tags/protobuf/ titleprotobuf>protobufsup>3/sup>/a>/li> li>a href/tags/epoll/ titleepoll>epollsup>2/sup>/a>/li> li>a href/tags/UNPv1/ titleUNPv1>UNPv1sup>2/sup>/a>/li> li>a href/tags/四次挥手/ title四次挥手>四次挥手sup>2/sup>/a>/li> li>a href/tags/json/ titlejson>jsonsup>2/sup>/a>/li> li>a href/tags/xml/ titlexml>xmlsup>2/sup>/a>/li> li>a href/tags/历程/ title历程>历程sup>2/sup>/a>/li> li>a href/tags/MessageQueue/ titleMessageQueue>MessageQueuesup>2/sup>/a>/li> li>a href/tags/hexo/ titlehexo>hexosup>1/sup>/a>/li> li>a href/tags/g/ titleg++>g++sup>1/sup>/a>/li> li>a href/tags/编译/ title编译>编译sup>1/sup>/a>/li> li>a href/tags/连接/ title连接>连接sup>1/sup>/a>/li> /ul>/div> div classtagcloudlist> p classasidetitle>标签云/p> div classtagcloudlist clearfix> a href/tags/C/ stylefont-size: 10px;>C++/a> a href/tags/C1000k/ stylefont-size: 10px;>C1000k/a> a href/tags/C10k/ stylefont-size: 10px;>C10k/a> a href/tags/IO%E5%A4%9A%E8%B7%AF%E5%A4%8D%E7%94%A8/ stylefont-size: 10px;>IO多路复用/a> a href/tags/IPC/ stylefont-size: 16.67px;>IPC/a> a href/tags/MessageQueue/ stylefont-size: 13.33px;>MessageQueue/a> a href/tags/SharedMemory/ stylefont-size: 10px;>SharedMemory/a> a href/tags/SocketObj/ stylefont-size: 10px;>SocketObj/a> a href/tags/SocketPoll/ stylefont-size: 20px;>SocketPoll/a> a href/tags/UNPv1/ stylefont-size: 13.33px;>UNPv1/a> a href/tags/bash/ stylefont-size: 16.67px;>bash/a> a href/tags/boost/ stylefont-size: 16.67px;>boost/a> a href/tags/classFactory/ stylefont-size: 10px;>classFactory/a> a href/tags/debug/ stylefont-size: 10px;>debug/a> a href/tags/epoll/ stylefont-size: 13.33px;>epoll/a> a href/tags/g/ stylefont-size: 10px;>g++/a> a href/tags/git/ stylefont-size: 16.67px;>git/a> a href/tags/gitlab/ stylefont-size: 10px;>gitlab/a> a href/tags/hexo/ stylefont-size: 10px;>hexo/a> a href/tags/json/ stylefont-size: 13.33px;>json/a> a href/tags/libevent/ stylefont-size: 10px;>libevent/a> a href/tags/log/ stylefont-size: 10px;>log/a> a href/tags/logobj/ stylefont-size: 10px;>logobj/a> a href/tags/property-tree/ stylefont-size: 16.67px;>property_tree/a> a href/tags/protobuf/ stylefont-size: 16.67px;>protobuf/a> a href/tags/rapidjson/ stylefont-size: 10px;>rapidjson/a> a href/tags/rapidxml/ stylefont-size: 10px;>rapidxml/a> a href/tags/regex/ stylefont-size: 10px;>regex/a> a href/tags/select/ stylefont-size: 10px;>select/a> a href/tags/shell/ stylefont-size: 16.67px;>shell/a> a href/tags/singleton/ stylefont-size: 10px;>singleton/a> a href/tags/socket/ stylefont-size: 20px;>socket/a> a href/tags/xml/ stylefont-size: 13.33px;>xml/a> a href/tags/%E4%B8%89%E6%AC%A1%E6%8F%A1%E6%89%8B/ stylefont-size: 10px;>三次握手/a> a href/tags/%E5%8E%86%E7%A8%8B/ stylefont-size: 13.33px;>历程/a> a href/tags/%E5%8F%8D%E5%B0%84/ stylefont-size: 10px;>反射/a> a href/tags/%E5%9B%9B%E6%AC%A1%E6%8C%A5%E6%89%8B/ stylefont-size: 13.33px;>四次挥手/a> a href/tags/%E5%B9%B6%E5%8F%91%E6%9C%8D%E5%8A%A1%E5%99%A8/ stylefont-size: 10px;>并发服务器/a> a href/tags/%E5%BA%93/ stylefont-size: 10px;>库/a> a href/tags/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F/ stylefont-size: 10px;>正则表达式/a> a href/tags/%E7%BC%96%E8%AF%91/ stylefont-size: 10px;>编译/a> a href/tags/%E8%BF%9E%E6%8E%A5/ stylefont-size: 10px;>连接/a> /div> /div> div classlinkslist> p classasidetitle>友情链接/p> ul> li> a hrefhttp://blog.csdn.net/u014120684 target_blank title我的CSDN博客>我的CSDN博客/a> /li> li> a hrefhttp://liujiacai.net/ target_blank title刘家财>刘家财/a> /li> /ul>/div> div classdoubanshow>p classasidetitle>豆瓣秀/p>div>script typetext/javascript srchttp://www.douban.com/service/badge/adairjun/?showcollection&n12&columns3&hidelogoyes&hideselfyes&catbook|movie >/script>/div>/div> div classrsspart> a href/atom.xml target_blank titlerss>RSS 订阅/a>/div> div classweiboshow> p classasidetitle>新浪微博/p> iframe width100% height119 classshare_self frameborder0 scrollingno srchttp://widget.weibo.com/weiboshow/index.php?language&width0&height119&fansRow2&ptype1&speed0&skin9&isTitle1&noborder1&isWeibo0&isFans0&uid&verifier&dpc1>/iframe>/div>/aside>/div> /div> footer>div idfooter > div classline> span>/span> div classauthor>/div> /div> section classinfo> p> Hello! br/> This is my blog./p> /section> div classsocial-font classclearfix> a hrefhttp://weibo.com/adairjun target_blank classicon-weibo title微博>/a> a hrefhttps://github.com/adairjun target_blank classicon-github titlegithub>/a> a hrefhttp://stackoverflow.com/users/4112599 target_blank classicon-stack-overflow titlestackoverflow>/a> a hrefhttps://www.douban.com/people/adairjun target_blank classicon-douban title豆瓣>/a> a hrefmailto:xiongjun8817@outlook.com target_blank classicon-email titleEmail Me>/a> /div> p classcopyright> Powered by a hrefhttp://hexo.io target_blank titlehexo>hexo/a> and Theme by a hrefhttps://github.com/wuchong/jacman target_blank titleJacman>Jacman/a> © 2021 a href/about target_blank titleadairjun>adairjun/a> /p>/div>/footer> script src/js/jquery-2.0.3.min.js>/script>script src/js/jquery.imagesloaded.min.js>/script>script src/js/gallery.js>/script>script src/js/jquery.qrcode-0.12.0.min.js>/script>script typetext/javascript>$(document).ready(function(){ $(.navbar).click(function(){ $(header nav).toggleClass(shownav); }); var myWidth 0; function getSize(){ if( typeof( window.innerWidth ) number ) { myWidth window.innerWidth; } else if( document.documentElement && document.documentElement.clientWidth) { myWidth document.documentElement.clientWidth; }; }; var m $(#main), a $(#asidepart), c $(.closeaside), o $(.openaside); c.click(function(){ a.addClass(fadeOut).css(display, none); o.css(display, block).addClass(fadeIn); m.addClass(moveMain); }); o.click(function(){ o.css(display, none).removeClass(beforeFadeIn); a.css(display, block).removeClass(fadeOut).addClass(fadeIn); m.removeClass(moveMain); }); $(window).scroll(function(){ o.css(top,Math.max(80,260-$(this).scrollTop())); }); $(window).resize(function(){ getSize(); if (myWidth > 1024) { $(header nav).removeClass(shownav); }else{ m.removeClass(moveMain); a.css(display, block).removeClass(fadeOut); o.css(display, none); } });});/script>link relstylesheet href/fancybox/jquery.fancybox.css mediascreen typetext/css>script src/fancybox/jquery.fancybox.pack.js>/script>script typetext/javascript>$(document).ready(function(){ $(.article-content).each(function(i){ $(this).find(img).each(function(){ if ($(this).parent().hasClass(fancybox)) return; var alt this.alt; if (alt) $(this).after(span classcaption> + alt + /span>); $(this).wrap(a href + this.src + title + alt + classfancybox>/a>); }); $(this).find(.fancybox).each(function(){ $(this).attr(rel, article + i); }); }); if($.fancybox){ $(.fancybox).fancybox(); }}); /script>!-- Analytics Begin -->script typetext/javascript>var cnzz_protocol ((https: document.location.protocol) ? https:// : http://);document.write(unescape(%3Cspan idcnzz_stat_icon_1257708289%3E%3C/span%3E%3Cscript src + cnzz_protocol + s23.cnzz.com/z_stat.php%3Fid%3D1257708289 typetext/javascript%3E%3C/script%3E));/script>!-- Analytics End -->!-- Totop Begin --> div idtotop> a title返回顶部>img src/img/scrollup.png/>/a> /div> script src/js/totop.js>/script>!-- Totop End -->!-- MathJax Begin -->!-- mathjax config similar to math.stackexchange -->!-- MathJax End -->!-- Tiny_search Begin -->!-- Tiny_search End --> /body> /html>
Port 443
HTTP/1.1 200 OKConnection: keep-aliveContent-Length: 22048Server: GitHub.comContent-Type: text/html; charsetutf-8permissions-policy: interest-cohort()Last-Modified: Thu, 18 Nov 2021 11:44:54 GMTAccess-Control-Allow-Origin: *ETag: 61963cb6-5620expires: Sat, 24 Aug 2024 07:24:25 GMTCache-Control: max-age600x-proxy-cache: MISSX-GitHub-Request-Id: 7742:16BEC4:4D83AF4:4F9B0A8:66C98850Accept-Ranges: bytesAge: 0Date: Sat, 24 Aug 2024 07:14:25 GMTVia: 1.1 varnishX-Served-By: cache-bfi-kbfi7400050-BFIX-Cache: MISSX-Cache-Hits: 0X-Timer: S1724483665.209221,VS0,VE64Vary: Accept-EncodingX-Fastly-Request-ID: 4c574e72980793569186452a80628361f37823e4 !DOCTYPE HTML>html langzh-CN>head> meta charsetUTF-8> title>Adair's Home/title> meta nameviewport contentwidthdevice-width, initial-scale1,user-scalableno> meta nameauthor contentadairjun> meta namedescription content骐骥一跃,不能十步,驽马十驾,功在不舍>meta propertyog:type contentwebsite>meta propertyog:title contentAdair's Home>meta propertyog:url contenthttp://xiongjun.info/index.html>meta propertyog:site_name contentAdair's Home>meta propertyog:description content骐骥一跃,不能十步,驽马十驾,功在不舍>meta propertyog:locale contentzh_CN>meta propertyarticle:author contentadairjun>meta nametwitter:card contentsummary> link relalternative href/atom.xml titleAdair's Home typeapplication/atom+xml> link relicon href/img/favicon.ico> link relapple-touch-icon href/img/jacman.jpg> link relapple-touch-icon-precomposed href/img/jacman.jpg> link relstylesheet href/css/style.css>link relstylesheet href/%02.css>link relstylesheet href/.css>meta namegenerator contentHexo 5.4.0>/head> body> header> div> div idtextlogo> h1 classsite-name>a href/ titleAdair's Home>Adair's Home/a>/h1> h2 classblog-motto>书写|为了更好地思考/h2> /div> div classnavbar>a classnavbutton navmobile href# title菜单> /a>/div> nav classanimated> ul> ul> li>a href/>首页/a>/li> li>a href/archives>归档/a>/li> li>a href/about>关于/a>/li> li> form classsearch action//google.com/search methodget accept-charsetutf-8> label>Search/label> input typesearch idsearch nameq autocompleteoff maxlength20 placeholder搜索 /> input typehidden nameq valuesite:xiongjun.info> /form> /li> /ul> /nav> /div> /header> div idcontainer> div idmain> section classpost itemscope itempropblogitem> a href/2021/11/18/golang-md/ titlegolang.md itempropurl> h1 itempropname>golang.md/h1> p itempropdescription >了解该语言的基本数据类型,基本语法和主要语言构造;主要数学运算符和print函数的使用,达到能够写课后习题水平;print函数: 一共有4种123import ("fmt")fmt.Printf("%d", 1)基本语法:变量使用v/p> time datetime2021-11-18T01:31:13.000Z itempropdatePublished>2021-11-18/time> /a>/section> section classpost itemscope itempropblogitem> a href/2021/11/18/javascript/ title快速掌握一门语言常用的50% - javascript itempropurl> h1 itempropname>快速掌握一门语言常用的50% - javascript/h1> p itempropdescription >了解该语言的基本数据类型,基本语法和主要语言构造;主要数学运算符和print函数的使用,达到能够写课后习题水平;print函数: 一共有4种1234567window.alert("this is window.alert");document.getEle/p> time datetime2021-11-17T16:25:25.000Z itempropdatePublished>2021-11-18/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/12/20/gitlab/ titlegitlab部署手册 itempropurl> h1 itempropname>gitlab部署手册/h1> p itempropdescription >硬件配置硬件配置可参见gitlab官方的硬件配置手册 ,以下是简单翻译:硬盘gitlab的需要的硬盘的容量是根据仓库的数量来决定的。一般来说如果一台服务器只跑gitlab的话,40G的硬盘是足够的。CPU1核的CPU能够支撑100个用户,但是gitlab应用会比较慢,因为所/p> time datetime2016-12-20T12:30:32.000Z itempropdatePublished>2016-12-20/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue6/ title消息队列与共享内存(六):System V共享内存 itempropurl> h1 itempropname>消息队列与共享内存(六):System V共享内存/h1> p itempropdescription >《UNPv2》当中说了“共享内存是可用IPC形式当中最快的。一旦这样的内存区映射到共享它的进程的地址空间,这些进程间数据的传递就不再涉及内核。这里说的不涉及内核的含义是:进程不再通过执行任何进入内核的系统调用来彼此传递数据。显然,内核必须建立允许各个进程共享该内存区的内存映射关系/p> time datetime2016-02-16T12:30:32.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue5/ title消息队列与共享内存(五):企业应用级的消息队列 itempropurl> h1 itempropname>消息队列与共享内存(五):企业应用级的消息队列/h1> p itempropdescription >概述其实进程之间的消息队列的通信方式说白了就是一个消息链表,有足够写权限的进程能够往队列中放置消息,有足够读权限的进程可从队列中取走消息。再泛化一点,数据库Mysql也可以用于进程间的通信,一个进程往Mysql当中写数据,另外的进程从Mysql当中读数据。对于linux的Sys/p> time datetime2016-02-16T12:29:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue4/ title消息队列与共享内存(四):protobuf反射机制 itempropurl> h1 itempropname>消息队列与共享内存(四):protobuf反射机制/h1> p itempropdescription >protobuf自描述消息在上一篇文章当中我讲到了使用protobuf来序列化消息便于发送,那么如果直接把我的rapidmsg用在我的消息队列当中就是这样的情况:12345678910111213141516171819202122232425long messageId /p> time datetime2016-02-16T12:28:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue3/ title消息队列与共享内存(三):格式化消息的`message_factory`设计 itempropurl> h1 itempropname>消息队列与共享内存(三):格式化消息的`message_factory`设计/h1> p itempropdescription >想法:将protobuf产生的消息格式化成System V 消息队列能够使用的形式,也就是这种形式:1234567#define _MYMSG_BUFFER_ 8192struct rapidMsg { long messageId; ///p> time datetime2016-02-16T12:27:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue2/ title消息队列与共享内存(二):protobuf序列化消息 itempropurl> h1 itempropname>消息队列与共享内存(二):protobuf序列化消息/h1> p itempropdescription >上一篇文章简单地介绍了System V的消息队列。但是如果只是简单的封装一下系统调用,这种学习方法我觉得没有任何的意义。我觉得既然说到了消息队列,那么进一步就应该谈一谈消息的结构。在上文当中消息队列的模板是:1234struct msgbuf { long mtyp/p> time datetime2016-02-16T12:26:32.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/16/mqueue1/ title消息队列与共享内存(一):System V 消息队列 itempropurl> h1 itempropname>消息队列与共享内存(一):System V 消息队列/h1> p itempropdescription >这系列博客是《UNPv2》的复习。《UNPv2》讲述的是非网络IPC的机制,而UNPv1讲述的socket编程是网络IPC的机制。当然简单地封装一下系统调用来组成接口我觉得对于学习根本就没有任何的意义,说的直白一点就是谁不懂封装啊?所谓的消息队列就是要研究一下消息应该如何传递,/p> time datetime2016-02-16T12:24:08.000Z itempropdatePublished>2016-02-16/time> /a>/section> section classpost itemscope itempropblogitem> a href/2016/02/15/riddle/ title谜语 itempropurl> h1 itempropname>谜语/h1> p itempropdescription >俄波诺玛廖娃 这是我小时候的故事。我遇见了一个魔法师。 “请你把我变成一个大人。” “这是为什么?”魔法师感到很奇怪。 “因为我的脚够不到自行车的脚蹋板。” “那好吧,”魔法师说,“不过,你先得猜个谜语:一早醒来就没个完的是什么?” “没个完?这准是奶奶的唠叨吧!/p> time datetime2016-02-15T12:50:26.000Z itempropdatePublished>2016-02-15/time> /a>/section> nav idpage-nav classclearfix unexpand> span classpage-number current>1/span>a classpage-number href/page/2/>2/a>a classpage-number href/page/3/>3/a>a classpage-number href/page/4/>4/a>a classextend next relnext href/page/2/>Next<span></span>/a> /nav>/div> div classopenaside>a classnavbutton href# title显示侧边栏>/a>/div>div idasidepart>div classcloseaside>a classclosebutton href# title隐藏侧边栏>/a>/div>aside classclearfix> div classgithub-card>p classasidetitle>Github 名片/p>div classgithub-card data-githubadairjun data-thememedium>/div>script typetext/javascript src//cdn.jsdelivr.net/github-cards/latest/widget.js >/script>/div> div classcategorieslist> p classasidetitle>分类/p> ul> li>a href/categories/MessageQueue/ titleMessageQueue>MessageQueuesup>6/sup>/a>/li> li>a href/categories/SocketPoll/ titleSocketPoll>SocketPollsup>10/sup>/a>/li> li>a href/categories/bash/ titlebash>bashsup>3/sup>/a>/li> li>a href/categories/git/ titlegit>gitsup>3/sup>/a>/li> li>a href/categories/gitlab/ titlegitlab>gitlabsup>1/sup>/a>/li> li>a href/categories/hexo/ titlehexo>hexosup>1/sup>/a>/li> li>a href/categories/javascript/ titlejavascript>javascriptsup>1/sup>/a>/li> li>a href/categories/property-tree/ titleproperty_tree>property_treesup>3/sup>/a>/li> li>a href/categories/历程/ title历程>历程sup>2/sup>/a>/li> li>a href/categories/日志/ title日志>日志sup>1/sup>/a>/li> li>a href/categories/正则表达式/ title正则表达式>正则表达式sup>1/sup>/a>/li> li>a href/categories/编程错误/ title编程错误>编程错误sup>1/sup>/a>/li> li>a href/categories/编译/ title编译>编译sup>1/sup>/a>/li> li>a href/categories/设计模式/ title设计模式>设计模式sup>1/sup>/a>/li> /ul>/div> div classtagslist> p classasidetitle>标签/p> ul classclearfix> li>a href/tags/socket/ titlesocket>socketsup>10/sup>/a>/li> li>a href/tags/SocketPoll/ titleSocketPoll>SocketPollsup>10/sup>/a>/li> li>a href/tags/git/ titlegit>gitsup>3/sup>/a>/li> li>a href/tags/bash/ titlebash>bashsup>3/sup>/a>/li> li>a href/tags/shell/ titleshell>shellsup>3/sup>/a>/li> li>a href/tags/boost/ titleboost>boostsup>3/sup>/a>/li> li>a href/tags/property-tree/ titleproperty_tree>property_treesup>3/sup>/a>/li> li>a href/tags/IPC/ titleIPC>IPCsup>3/sup>/a>/li> li>a href/tags/protobuf/ titleprotobuf>protobufsup>3/sup>/a>/li> li>a href/tags/epoll/ titleepoll>epollsup>2/sup>/a>/li> li>a href/tags/UNPv1/ titleUNPv1>UNPv1sup>2/sup>/a>/li> li>a href/tags/四次挥手/ title四次挥手>四次挥手sup>2/sup>/a>/li> li>a href/tags/json/ titlejson>jsonsup>2/sup>/a>/li> li>a href/tags/xml/ titlexml>xmlsup>2/sup>/a>/li> li>a href/tags/历程/ title历程>历程sup>2/sup>/a>/li> li>a href/tags/MessageQueue/ titleMessageQueue>MessageQueuesup>2/sup>/a>/li> li>a href/tags/hexo/ titlehexo>hexosup>1/sup>/a>/li> li>a href/tags/g/ titleg++>g++sup>1/sup>/a>/li> li>a href/tags/编译/ title编译>编译sup>1/sup>/a>/li> li>a href/tags/连接/ title连接>连接sup>1/sup>/a>/li> /ul>/div> div classtagcloudlist> p classasidetitle>标签云/p> div classtagcloudlist clearfix> a href/tags/C/ stylefont-size: 10px;>C++/a> a href/tags/C1000k/ stylefont-size: 10px;>C1000k/a> a href/tags/C10k/ stylefont-size: 10px;>C10k/a> a href/tags/IO%E5%A4%9A%E8%B7%AF%E5%A4%8D%E7%94%A8/ stylefont-size: 10px;>IO多路复用/a> a href/tags/IPC/ stylefont-size: 16.67px;>IPC/a> a href/tags/MessageQueue/ stylefont-size: 13.33px;>MessageQueue/a> a href/tags/SharedMemory/ stylefont-size: 10px;>SharedMemory/a> a href/tags/SocketObj/ stylefont-size: 10px;>SocketObj/a> a href/tags/SocketPoll/ stylefont-size: 20px;>SocketPoll/a> a href/tags/UNPv1/ stylefont-size: 13.33px;>UNPv1/a> a href/tags/bash/ stylefont-size: 16.67px;>bash/a> a href/tags/boost/ stylefont-size: 16.67px;>boost/a> a href/tags/classFactory/ stylefont-size: 10px;>classFactory/a> a href/tags/debug/ stylefont-size: 10px;>debug/a> a href/tags/epoll/ stylefont-size: 13.33px;>epoll/a> a href/tags/g/ stylefont-size: 10px;>g++/a> a href/tags/git/ stylefont-size: 16.67px;>git/a> a href/tags/gitlab/ stylefont-size: 10px;>gitlab/a> a href/tags/hexo/ stylefont-size: 10px;>hexo/a> a href/tags/json/ stylefont-size: 13.33px;>json/a> a href/tags/libevent/ stylefont-size: 10px;>libevent/a> a href/tags/log/ stylefont-size: 10px;>log/a> a href/tags/logobj/ stylefont-size: 10px;>logobj/a> a href/tags/property-tree/ stylefont-size: 16.67px;>property_tree/a> a href/tags/protobuf/ stylefont-size: 16.67px;>protobuf/a> a href/tags/rapidjson/ stylefont-size: 10px;>rapidjson/a> a href/tags/rapidxml/ stylefont-size: 10px;>rapidxml/a> a href/tags/regex/ stylefont-size: 10px;>regex/a> a href/tags/select/ stylefont-size: 10px;>select/a> a href/tags/shell/ stylefont-size: 16.67px;>shell/a> a href/tags/singleton/ stylefont-size: 10px;>singleton/a> a href/tags/socket/ stylefont-size: 20px;>socket/a> a href/tags/xml/ stylefont-size: 13.33px;>xml/a> a href/tags/%E4%B8%89%E6%AC%A1%E6%8F%A1%E6%89%8B/ stylefont-size: 10px;>三次握手/a> a href/tags/%E5%8E%86%E7%A8%8B/ stylefont-size: 13.33px;>历程/a> a href/tags/%E5%8F%8D%E5%B0%84/ stylefont-size: 10px;>反射/a> a href/tags/%E5%9B%9B%E6%AC%A1%E6%8C%A5%E6%89%8B/ stylefont-size: 13.33px;>四次挥手/a> a href/tags/%E5%B9%B6%E5%8F%91%E6%9C%8D%E5%8A%A1%E5%99%A8/ stylefont-size: 10px;>并发服务器/a> a href/tags/%E5%BA%93/ stylefont-size: 10px;>库/a> a href/tags/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F/ stylefont-size: 10px;>正则表达式/a> a href/tags/%E7%BC%96%E8%AF%91/ stylefont-size: 10px;>编译/a> a href/tags/%E8%BF%9E%E6%8E%A5/ stylefont-size: 10px;>连接/a> /div> /div> div classlinkslist> p classasidetitle>友情链接/p> ul> li> a hrefhttp://blog.csdn.net/u014120684 target_blank title我的CSDN博客>我的CSDN博客/a> /li> li> a hrefhttp://liujiacai.net/ target_blank title刘家财>刘家财/a> /li> /ul>/div> div classdoubanshow>p classasidetitle>豆瓣秀/p>div>script typetext/javascript srchttp://www.douban.com/service/badge/adairjun/?showcollection&n12&columns3&hidelogoyes&hideselfyes&catbook|movie >/script>/div>/div> div classrsspart> a href/atom.xml target_blank titlerss>RSS 订阅/a>/div> div classweiboshow> p classasidetitle>新浪微博/p> iframe width100% height119 classshare_self frameborder0 scrollingno srchttp://widget.weibo.com/weiboshow/index.php?language&width0&height119&fansRow2&ptype1&speed0&skin9&isTitle1&noborder1&isWeibo0&isFans0&uid&verifier&dpc1>/iframe>/div>/aside>/div> /div> footer>div idfooter > div classline> span>/span> div classauthor>/div> /div> section classinfo> p> Hello! br/> This is my blog./p> /section> div classsocial-font classclearfix> a hrefhttp://weibo.com/adairjun target_blank classicon-weibo title微博>/a> a hrefhttps://github.com/adairjun target_blank classicon-github titlegithub>/a> a hrefhttp://stackoverflow.com/users/4112599 target_blank classicon-stack-overflow titlestackoverflow>/a> a hrefhttps://www.douban.com/people/adairjun target_blank classicon-douban title豆瓣>/a> a hrefmailto:xiongjun8817@outlook.com target_blank classicon-email titleEmail Me>/a> /div> p classcopyright> Powered by a hrefhttp://hexo.io target_blank titlehexo>hexo/a> and Theme by a hrefhttps://github.com/wuchong/jacman target_blank titleJacman>Jacman/a> © 2021 a href/about target_blank titleadairjun>adairjun/a> /p>/div>/footer> script src/js/jquery-2.0.3.min.js>/script>script src/js/jquery.imagesloaded.min.js>/script>script src/js/gallery.js>/script>script src/js/jquery.qrcode-0.12.0.min.js>/script>script typetext/javascript>$(document).ready(function(){ $(.navbar).click(function(){ $(header nav).toggleClass(shownav); }); var myWidth 0; function getSize(){ if( typeof( window.innerWidth ) number ) { myWidth window.innerWidth; } else if( document.documentElement && document.documentElement.clientWidth) { myWidth document.documentElement.clientWidth; }; }; var m $(#main), a $(#asidepart), c $(.closeaside), o $(.openaside); c.click(function(){ a.addClass(fadeOut).css(display, none); o.css(display, block).addClass(fadeIn); m.addClass(moveMain); }); o.click(function(){ o.css(display, none).removeClass(beforeFadeIn); a.css(display, block).removeClass(fadeOut).addClass(fadeIn); m.removeClass(moveMain); }); $(window).scroll(function(){ o.css(top,Math.max(80,260-$(this).scrollTop())); }); $(window).resize(function(){ getSize(); if (myWidth > 1024) { $(header nav).removeClass(shownav); }else{ m.removeClass(moveMain); a.css(display, block).removeClass(fadeOut); o.css(display, none); } });});/script>link relstylesheet href/fancybox/jquery.fancybox.css mediascreen typetext/css>script src/fancybox/jquery.fancybox.pack.js>/script>script typetext/javascript>$(document).ready(function(){ $(.article-content).each(function(i){ $(this).find(img).each(function(){ if ($(this).parent().hasClass(fancybox)) return; var alt this.alt; if (alt) $(this).after(span classcaption> + alt + /span>); $(this).wrap(a href + this.src + title + alt + classfancybox>/a>); }); $(this).find(.fancybox).each(function(){ $(this).attr(rel, article + i); }); }); if($.fancybox){ $(.fancybox).fancybox(); }}); /script>!-- Analytics Begin -->script typetext/javascript>var cnzz_protocol ((https: document.location.protocol) ? https:// : http://);document.write(unescape(%3Cspan idcnzz_stat_icon_1257708289%3E%3C/span%3E%3Cscript src + cnzz_protocol + s23.cnzz.com/z_stat.php%3Fid%3D1257708289 typetext/javascript%3E%3C/script%3E));/script>!-- Analytics End -->!-- Totop Begin --> div idtotop> a title返回顶部>img src/img/scrollup.png/>/a> /div> script src/js/totop.js>/script>!-- Totop End -->!-- MathJax Begin -->!-- mathjax config similar to math.stackexchange -->!-- MathJax End -->!-- Tiny_search Begin -->!-- Tiny_search End --> /body> /html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]