<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[瞎几把学]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/hack8</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; hack8]]></copyright><item><title><![CDATA[使用sqlserver进行网页连接（端口扫描）]]></title><link>https://blog.csdn.net/hack8/article/details/127292722</link><guid>https://blog.csdn.net/hack8/article/details/127292722</guid><author>hack8</author><pubDate>Wed, 12 Oct 2022 23:16:41 +0800</pubDate><description><![CDATA[利用sqlserver进行端口扫描]]></description><category></category></item><item><title><![CDATA[IOCTL 添加路由]]></title><link>https://blog.csdn.net/hack8/article/details/53363361</link><guid>https://blog.csdn.net/hack8/article/details/53363361</guid><author>hack8</author><pubDate>Sun, 27 Nov 2016 10:51:47 +0800</pubDate><description><![CDATA[#include 
#include 
#include 
#include 
#include 
#include 
#include 

int main(char** args) {
  int sockfd;
  struct rtentry route;
  struct sockaddr_in *addr;
  int err = 0;

  // create the socket
]]></description><category></category></item><item><title><![CDATA[Linux shell之——循环]]></title><link>https://blog.csdn.net/hack8/article/details/53177213</link><guid>https://blog.csdn.net/hack8/article/details/53177213</guid><author>hack8</author><pubDate>Tue, 15 Nov 2016 21:11:03 +0800</pubDate><description><![CDATA[for xxx in xxx
do
...
done




1.  数字集合
for i in {1..20}
do 
 echo  $i
done


2.详细列出（字符且项数不多)
for i in 1 2 3 4 5
do 
  echo $i
done
3.对存在的文件进行循环



for filename in `ls *.sh`
d]]></description><category></category></item><item><title><![CDATA[linux shell编程之——if语句]]></title><link>https://blog.csdn.net/hack8/article/details/53164296</link><guid>https://blog.csdn.net/hack8/article/details/53164296</guid><author>hack8</author><pubDate>Mon, 14 Nov 2016 20:46:32 +0800</pubDate><description><![CDATA[一、语句格式


一行中的写法：if TEST-COMMANDS; then CONSEQUENT-COMMANDS; fi
多行的写法：
if  条件
then
 Command
else
 Command
fi 


基本语法记住亮点：
1、按照汉语的方式记忆：如果(if)xxx那么(then)就xxx，否则(else)就xxx
2、记住要使用fi作为结束

]]></description><category></category></item><item><title><![CDATA[Wireshark 如何截取特定网段的数据]]></title><link>https://blog.csdn.net/hack8/article/details/53149189</link><guid>https://blog.csdn.net/hack8/article/details/53149189</guid><author>hack8</author><pubDate>Sun, 13 Nov 2016 15:16:32 +0800</pubDate><description><![CDATA[在截获数据的时候，我们在filter中可以添加过滤规则，从而可以截获需要的数据，有时候我们不知道特定的IP地址，我们想截获某一个c段的IP地址，因此我们需要在filter中设置规则，例如，我们截获192.168.2.xx网络的数据，我们只需要在filter中设置net 192.168.2.0/24就可以了。]]></description><category></category></item><item><title><![CDATA[Html 播放MP4]]></title><link>https://blog.csdn.net/hack8/article/details/52793589</link><guid>https://blog.csdn.net/hack8/article/details/52793589</guid><author>hack8</author><pubDate>Wed, 12 Oct 2016 00:56:15 +0800</pubDate><description><![CDATA[Your browser does not support the video tag.
                        


preload=none的话没有画面，只有下面的panel等
preload=auto的话会显示第一针的画面]]></description><category></category></item><item><title><![CDATA[jquery input 赋值和取值]]></title><link>https://blog.csdn.net/hack8/article/details/52065006</link><guid>https://blog.csdn.net/hack8/article/details/52065006</guid><author>hack8</author><pubDate>Fri, 29 Jul 2016 14:58:47 +0800</pubDate><description><![CDATA[记录一下：
在写一个input赋值，二话不说就直接利用了$('#xx').val()来进行取值和赋值，取值ok，赋值后利用alert显示正确，但是在html上并没有正确的显示出来，后来改为使用如下代码就可以正确的在页面上显示了：
$("#Slider6").attr("value", fromValue+";"+timeTo);

而不是使用$("#。。“).val(value)来进行赋值]]></description><category></category></item><item><title><![CDATA[Flot 在柱状图上显示数字]]></title><link>https://blog.csdn.net/hack8/article/details/51993809</link><guid>https://blog.csdn.net/hack8/article/details/51993809</guid><author>hack8</author><pubDate>Fri, 22 Jul 2016 13:01:23 +0800</pubDate><description><![CDATA[在已经引入Flot的js库基础上做如下几件事情：
第一步：需要引入jquery.flot.barnumbers.js


bundles.Add(new ScriptBundle("~/bundles/barnumbers").Include(              
                "~/Scripts/flot/jquery.flot.barnumbers.js"]]></description><category></category></item><item><title><![CDATA[Flot Stack的例子]]></title><link>https://blog.csdn.net/hack8/article/details/51985087</link><guid>https://blog.csdn.net/hack8/article/details/51985087</guid><author>hack8</author><pubDate>Thu, 21 Jul 2016 17:38:03 +0800</pubDate><description><![CDATA[Flot Stack的例子，同时消除tick线，折腾了几个小时，才弄懂，记录一下





    
    




//******* DNS Query Stacked Chart 

$(document).ready(function () {
    $.plot($("#flot-placeholder2"), dataset2, options2);]]></description><category></category></item><item><title><![CDATA[Flot画动态折线图 （两条折线动态的）]]></title><link>https://blog.csdn.net/hack8/article/details/51885895</link><guid>https://blog.csdn.net/hack8/article/details/51885895</guid><author>hack8</author><pubDate>Tue, 12 Jul 2016 09:03:13 +0800</pubDate><description><![CDATA[使用了几个例子合起来做出来的这个例子






    
    




  
$(function () {  
    // 要绘制的数据和数据的数据点数  
    var data = [], totalPoints = 300;  
   var data1=[];
    // 获得一些随机数据  
    function getRandom]]></description><category></category></item><item><title><![CDATA[unbind方法在事件中的使用，解决同类或同名元素事件触发多次问题]]></title><link>https://blog.csdn.net/hack8/article/details/51870258</link><guid>https://blog.csdn.net/hack8/article/details/51870258</guid><author>hack8</author><pubDate>Sun, 10 Jul 2016 10:07:53 +0800</pubDate><description><![CDATA[在编写一个html页面时，有大量的元素使用同一个类，给这些具备同类的元素定义了事件，如下所示：

            $('.txtClassBox').change(function (e) {

  alert("in");
   }



当同类的元素内容发生改变的时候，就会触发上述的事件，但是改变内容的该元素出现后面有几个这个同类元素，那么上述的事件就会自动触发N+1]]></description><category></category></item><item><title><![CDATA[java sha1]]></title><link>https://blog.csdn.net/hack8/article/details/50769530</link><guid>https://blog.csdn.net/hack8/article/details/50769530</guid><author>hack8</author><pubDate>Tue, 01 Mar 2016 02:22:37 +0800</pubDate><description><![CDATA[sha1(“Abcd")  0xc6c42be0 0x7971599 0x963573d1 0xef39aa5f 0x6939b5dd


41 62 63 64 80 00 00 00 ....... 20  hex


sha1( 56 4b 1e 5c df 61 07 e9 0518 f2 3a ae 89 5d dd 0f a8 fe 2b 80 00 00 00 00 ..]]></description><category></category></item><item><title><![CDATA[Jquery 对象内容修改的注意事项]]></title><link>https://blog.csdn.net/hack8/article/details/49979685</link><guid>https://blog.csdn.net/hack8/article/details/49979685</guid><author>hack8</author><pubDate>Sun, 22 Nov 2015 18:10:17 +0800</pubDate><description><![CDATA[编程过程中，有时候直接将一个对象显示到另外的地方，如果偷懒直接把这个对象简单修改过去显示，其他地方修改就会跟着修改，从而造成内容出现问题。此时我们可以使用jQuery提供的对象copy的方式来进行操作，从而避免上述问题。



// 浅层复制（只复制顶层的非 object 元素）  
var newObject = jQuery.extend({}, oldObject);  
  ]]></description><category></category></item><item><title><![CDATA[Jquery autocomplete 注意的一点破事]]></title><link>https://blog.csdn.net/hack8/article/details/49914189</link><guid>https://blog.csdn.net/hack8/article/details/49914189</guid><author>hack8</author><pubDate>Wed, 18 Nov 2015 22:48:30 +0800</pubDate><description><![CDATA[前面使用Jquery autocomplete对输入框进行自动填充代码编写，如果远程url获取的数据为单纯的string返回的json数据，那么就可以正常显示，如果是返回的复杂的json数据就无法正常相应，非常的郁闷，在此记录一下解决该问题的方法，希望对遇到此类问题的童鞋们能够有所帮助。
1、引入jquery的相关js和css代码
@Scripts.Render("~/Scripts/jque]]></description><category></category></item><item><title><![CDATA[Asp.net MVC中传递ViewData数据不能正确传递的问题]]></title><link>https://blog.csdn.net/hack8/article/details/49789971</link><guid>https://blog.csdn.net/hack8/article/details/49789971</guid><author>hack8</author><pubDate>Thu, 12 Nov 2015 00:14:55 +0800</pubDate><description><![CDATA[再次经历MVC中两个DropDownList中一个通过ViewData或ViewBag传递数据自动选择出现问题的情况，也就是数据没有被正确传递，debug 了4 hours，妈的，怎么调试怎么没有错误，把数据通过json显示也没有错，但是就是在partialView中就是不能够显示正确，再一次陷入了漩涡，妈的。
忽然间想起来前面出现过类似的问题，当时把DropDownList的ID值和绑定的Vi]]></description><category></category></item><item><title><![CDATA[jquery 动态添加元素的事件]]></title><link>https://blog.csdn.net/hack8/article/details/49766609</link><guid>https://blog.csdn.net/hack8/article/details/49766609</guid><author>hack8</author><pubDate>Tue, 10 Nov 2015 22:56:08 +0800</pubDate><description><![CDATA[开发项目时候选择框DropDownList的Change事件，有时候需要多级级联从而动态生成Select元素，但是此时的Select元素的Change事件无法触发，非常苦闷。在项目中采用了两种方式，一种是重新声称元素的时候，把事件写入到partial的view中，但是这种方法运行还是不错，但是在我做另外一个view的时候，始终不行，非常烦躁。尝试了bind live和on的方式都没有很好的解决，最]]></description><category></category></item><item><title><![CDATA[bootstrap 样式查阅参考文档]]></title><link>https://blog.csdn.net/hack8/article/details/49620269</link><guid>https://blog.csdn.net/hack8/article/details/49620269</guid><author>hack8</author><pubDate>Tue, 03 Nov 2015 18:43:32 +0800</pubDate><description><![CDATA[下面的文章可以很容易查看到bootstrap的洋式表现形式，非常方便，记录下来，以后使用。
http://www.phpddt.com/manual/bootstrap/base-css.html]]></description><category></category></item><item><title><![CDATA[Json字符串转换为NSDictionary]]></title><link>https://blog.csdn.net/hack8/article/details/49497177</link><guid>https://blog.csdn.net/hack8/article/details/49497177</guid><author>hack8</author><pubDate>Thu, 29 Oct 2015 21:28:14 +0800</pubDate><description><![CDATA[首先看字符串
{

    res =     (

        "Teacher Site",

        "http://teacherweb.com/CA/GardnerBullis/Moss"

    );

}

我们需要将字符串变换称如下字符串才可以转换成功


{

    "res" :[

        "Homework",

        "htt]]></description><category></category></item><item><title><![CDATA[Xcode 7.1  造成图片等网络连接失败的解决办法 http连接]]></title><link>https://blog.csdn.net/hack8/article/details/49466561</link><guid>https://blog.csdn.net/hack8/article/details/49466561</guid><author>hack8</author><pubDate>Wed, 28 Oct 2015 11:52:00 +0800</pubDate><description><![CDATA[前期利用xcode6.4研发了一个APP，由于xcode ghost问题，mac mini系统升级后，xcode 7.1也同步更新了，但是，你知道到但是，我所有的网络操作相关出现了重大问题，图片无法显示，内容无法获取，从晚上10：00一直到次日凌晨3：00，无发现问题，显示怀疑服务器出现问题，后怀疑使用的image缓存插件有问题，想想只进都是一阵阵的头疼疼。


后来就对image加载的代码]]></description><category></category></item><item><title><![CDATA[IOS UILabel显示HTML字符串]]></title><link>https://blog.csdn.net/hack8/article/details/49451285</link><guid>https://blog.csdn.net/hack8/article/details/49451285</guid><author>hack8</author><pubDate>Tue, 27 Oct 2015 17:22:26 +0800</pubDate><description><![CDATA[在写一个IOS的APP时，有一部分片段是HTML字符串，开始想使用UIWebView来显示，开始实验成功，后来不知何原因，无法显示内容，后来发现IOS7后，UILabel支持显示HTML显示，具体见代码，一方面自己好查阅，也供有需要朋友查阅。
要显示的HTML串
TST: ggTST: replyingTST: ddddddddddfdffffffffffffffffffffggghhjkkll]]></description><category></category></item></channel></rss>