blog.coding4love.net
Coding for love & Coding for fun » Blog Archive » Docker Machine使用和开发中的一些问题
http://blog.coding4love.net/archives/182
Coding for love and Coding for fun. Everything that is, is alive. 目前只支持RSA Key的方式连接主机,而ECS没有像Digital Ocean或者AWS那样提供生成 Key Pair. Cmd := fmt.Sprintf("mkdir -p /.ssh; echo '%s' /.ssh/authorized keys", d.PublicKey) , err := sshCli(cmd). 网络 ,因此暂时的解决办法是使用Go的SSH Client删除172这条Route Rule. Route -n grep -e ' 172 .*$' awk '{print "route del -net "$1" netmask "$3" dev "$8 "/bin/bash"}' sed -r -i 's/ (up route add -net 172 .*)$/# 1/' /etc/network/interfaces. Linux Load比赛记录 →. Vendor 包管理器 Govendor v1.0.4 发布.
blog.coding4love.net
Coding for love & Coding for fun » Go
http://blog.coding4love.net/archives/category/go
Coding for love and Coding for fun. Everything that is, is alive. Archive for the Go Category. 目前只支持RSA Key的方式连接主机,而ECS没有像Digital Ocean或者AWS那样提供生成 Key Pair. Cmd := fmt.Sprintf("mkdir -p /.ssh; echo '%s' /.ssh/authorized keys", d.PublicKey) , err := sshCli(cmd). 网络 ,因此暂时的解决办法是使用Go的SSH Client删除172这条Route Rule. Route -n grep -e ' 172 .*$' awk '{print "route del -net "$1" netmask "$3" dev "$8 "/bin/bash"}' sed -r -i 's/ (up route add -net 172 .*)$/# 1/' /etc/network/interfaces. August 20, 2016.
blog.coding4love.net
Coding for love & Coding for fun » Blog Archive » [译文] 运行Stack Overflow需要什么硬件?
http://blog.coding4love.net/archives/106
Coding for love and Coding for fun. Everything that is, is alive. Running with scale but not at scale. 833,992,982,627 bytes (776 GB) 的HTTP流量用于发送. 总共接收了286,574,644,032 bytes (267 GB) 数据. 总共发送了1,125,992,557,312 bytes (1,048 GB) 数据. 334,572,103次SQL查询 仅包含来自于HTTP请求的. 耗时558,224,585 ms (155 hours) 在SQL查询上. 耗时99,346,916 ms (27 hours) 在Redis请求上. 耗时132,384,059 ms (36 hours) 在标签引擎请求上. 耗时2,728,177,045 ms (757 hours) 在ASP.Net程序处理上. 哇,一天有这么多个小时,你们怎么做到的 我们把这叫做魔法,当然有些人喜欢说成 许多个有多核处理器的服务器 ,但我们依然坚持这是魔法。 2个 Cisco 5525-X ASA.
blog.coding4love.net
Coding for love & Coding for fun » Blog Archive » [译文] P2P僵尸网络
http://blog.coding4love.net/archives/82
Coding for love and Coding for fun. Everything that is, is alive. 当然尝试关闭命令与控制服务器 C&C Server 一般情况下都是浪费时间的做法,因为主控者 botmaster 不需要花多少时间,就可以找到另一个服务器,并将域名重定向到它上面。 想要彻底破坏这样的僵尸网络,有两个办法 1、暂时关闭所有和这个僵尸网络相关的域名 需要在短时间内完成,以防主控者操作僵尸主机定向到新的域名 2、把僵尸网络使用的域名定向到一个有特殊功能的服务器 如Sinkhole路由器 ,使僵尸主机远离正常的控制服务器,从而切断主控者对它们的控制。 于是主控者可以自己持有一个密钥 私钥 ,将另一个 公钥 发放到僵尸主机上。 把那些可以接受连入请求的僵尸主机 没有使用代理、NAT或防火墙 作为服务器 通常称作节点 ,同时那些不能连入的主机 通常称作worker,暂译工作机 将向一个或多个节点发起连接,从而获取指令 图2。 保持 恶意 节点持续运行能够将更多的主机占为己有,也时刻监视着那些可能存有 正常 节点IP地址的僵尸主机。 August 20, 2016.
blog.coding4love.net
Coding for love & Coding for fun » Security
http://blog.coding4love.net/archives/category/security
Coding for love and Coding for fun. Everything that is, is alive. Archive for the Security Category. 软件安全工程师 Software Security Engineer 我申请的是这样一个职位,面试时候他们问了我一些低级的问题,有些我能答上来,还有些却不行。 Root@lisa: # ./CrackTheDoor * * DOOR CONTROL SYSTEM * * PASSWORD:. Root@lisa: # file CrackTheDoor CrackTheDoor: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0x9927be2fe310bea01d412164103b9c8b2d7567ea, not stripped root@lisa: #. Gdb) x/30i $...
blog.coding4love.net
Coding for love & Coding for fun » Other
http://blog.coding4love.net/archives/category/other
Coding for love and Coding for fun. Everything that is, is alive. Archive for the Other Category. Lolita, light of my life, fire of my loins. My sin, my soul. Lo-lee-ta: the tip of the tongue taking a trip of three steps down the palate to tap, at three, on the teeth. Lo. Lee. Ta. 如果看过 白夜行 等老作,这部实在算不得佳品,但是我感觉应该更适合拍成电视剧,再怎么样不会像 白夜行 那样毁原著的。 On February 10, 2016 by Jiang Comments Off on 最近两个月看的书. Loadvg = tasks running tasks waiting (for cores) tasks blocked. 参考 High CPU utilization but low load average.
blog.coding4love.net
Coding for love & Coding for fun » Java
http://blog.coding4love.net/archives/category/java
Coding for love and Coding for fun. Everything that is, is alive. Archive for the Java Category. Eclipse Kepler for OS X Mavericks request Java SE 6. Quoted from Stack Overflow. This is in part due to Oracle's missing definitions of the JRE7 VM capabilities. In case you don't want to install JRE6 at all and simply use JRE7 without symlinking it to the JRE6 either you can do the following:. Copy the Info.plist located at the path named below to e.g. /Downloads/:. Entry[1] obj1 - obj2. On September 24, 201...
blog.coding4love.net
Coding for love & Coding for fun » Marked
http://blog.coding4love.net/archives/category/marked
Coding for love and Coding for fun. Everything that is, is alive. Archive for the Marked Category. Eclipse Kepler for OS X Mavericks request Java SE 6. Quoted from Stack Overflow. This is in part due to Oracle's missing definitions of the JRE7 VM capabilities. In case you don't want to install JRE6 at all and simply use JRE7 without symlinking it to the JRE6 either you can do the following:. Copy the Info.plist located at the path named below to e.g. /Downloads/:. Quoted from Stack Overflow. You can ssh ...
blog.coding4love.net
Coding for love & Coding for fun » Docker
http://blog.coding4love.net/archives/category/docker
Coding for love and Coding for fun. Everything that is, is alive. Archive for the Docker Category. 目前只支持RSA Key的方式连接主机,而ECS没有像Digital Ocean或者AWS那样提供生成 Key Pair. Cmd := fmt.Sprintf("mkdir -p /.ssh; echo '%s' /.ssh/authorized keys", d.PublicKey) , err := sshCli(cmd). 网络 ,因此暂时的解决办法是使用Go的SSH Client删除172这条Route Rule. Route -n grep -e ' 172 .*$' awk '{print "route del -net "$1" netmask "$3" dev "$8 "/bin/bash"}' sed -r -i 's/ (up route add -net 172 .*)$/# 1/' /etc/network/interfaces. August 20, 2016.
blog.coding4love.net
Coding for love & Coding for fun » Blog Archive » [译文] 有趣的面试题:破解程序
http://blog.coding4love.net/archives/159
Coding for love and Coding for fun. Everything that is, is alive. 软件安全工程师 Software Security Engineer 我申请的是这样一个职位,面试时候他们问了我一些低级的问题,有些我能答上来,还有些却不行。 Root@lisa: # ./CrackTheDoor * * DOOR CONTROL SYSTEM * * PASSWORD:. Root@lisa: # file CrackTheDoor CrackTheDoor: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0x9927be2fe310bea01d412164103b9c8b2d7567ea, not stripped root@lisa: #. Gdb) x/30i $pc = 0x804762c: pusha 0x804762d: mo...
SOCIAL ENGAGEMENT