Welcom to 评论 - lizhenqiu blog!
#1787
#1788
<?php $arr = array ('a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>5); echo json_encode($arr); ?>
#1789
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style> h1 { font-size: 60px; text-align: center; } .unicode_form, .unicode_show { width: 1000px; margin: 100px auto; } .unicode_input, .unicode_submit { padding: 10px; border: 10px solid #a0b3d6; border-radius: 5px; font-size: 80px; font-family: 'microsoft yahei'; vertical-align: top; } .unicode_input { height: 100px; width: 700px; } .unicode_input:focus { box-shadow: inset 2px 2px 4px rgba(0,0,0,.25); outline: 0; } .unicode_submit { height: 140px; width: 240px; background-color: #f0f3f9; background-image: -webkit-linear-gradient(top, #f0f3f9, #cad5eb); background-image: linear-gradient(to bottom, #f0f3f9, #cad5eb); } .unicode_submit:active { background-image: none; } .unicode_show { font-size: 80px; text-align: center; font-family: Monaco, monospace; } </style> </head> <body> <h1>任意字符转换成HTML识别格式</h1> <form id="form" class="unicode_form"> <input type="text" id="input" class="unicode_input" placeholder="请输入任意字符" maxlength="1" name="q" required autofocus> <input type="submit" class="unicode_submit" value="转换"> </form> <div id="show" class="unicode_show"></div> <script> var U = function(a, b) { if (!a) return ""; for (var b = b || "x", c = "", d = 0, e; d < a.length; d += 1) a.charCodeAt(d) >= 55296 && a.charCodeAt(d) <= 56319 ? (e = (65536 + 1024 * (Number(a.charCodeAt(d)) - 55296) + Number(a.charCodeAt(d + 1)) - 56320).toString(16), d += 1) : e = a.charCodeAt(d).toString(16), c += b + e; return c.substr(b.length) }, $ = function(id) { return document.getElementById(id); } $("form").onsubmit = function() { var val = $("input").value, char = U(val); $("show").innerHTML = "&#x" + char + "; → " + "&#x" + char + ";"; return false; }; </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-11205167-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = 'http://www.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>
#1790
#1791
#1792
#1793
#1794
#1795
#1796
#1797
#1798
#1799
#1800
#1801
#1802
#1803
#1804
#1805
确定要清除编辑框内容吗?
该删除操作将不可恢复。
删除 取消
激活Windows
转到"设置"以激活Windows。
#1787
#1788
<?php $arr = array ('a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>5); echo json_encode($arr); ?>#1789
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style> h1 { font-size: 60px; text-align: center; } .unicode_form, .unicode_show { width: 1000px; margin: 100px auto; } .unicode_input, .unicode_submit { padding: 10px; border: 10px solid #a0b3d6; border-radius: 5px; font-size: 80px; font-family: 'microsoft yahei'; vertical-align: top; } .unicode_input { height: 100px; width: 700px; } .unicode_input:focus { box-shadow: inset 2px 2px 4px rgba(0,0,0,.25); outline: 0; } .unicode_submit { height: 140px; width: 240px; background-color: #f0f3f9; background-image: -webkit-linear-gradient(top, #f0f3f9, #cad5eb); background-image: linear-gradient(to bottom, #f0f3f9, #cad5eb); } .unicode_submit:active { background-image: none; } .unicode_show { font-size: 80px; text-align: center; font-family: Monaco, monospace; } </style> </head> <body> <h1>任意字符转换成HTML识别格式</h1> <form id="form" class="unicode_form"> <input type="text" id="input" class="unicode_input" placeholder="请输入任意字符" maxlength="1" name="q" required autofocus> <input type="submit" class="unicode_submit" value="转换"> </form> <div id="show" class="unicode_show"></div> <script> var U = function(a, b) { if (!a) return ""; for (var b = b || "x", c = "", d = 0, e; d < a.length; d += 1) a.charCodeAt(d) >= 55296 && a.charCodeAt(d) <= 56319 ? (e = (65536 + 1024 * (Number(a.charCodeAt(d)) - 55296) + Number(a.charCodeAt(d + 1)) - 56320).toString(16), d += 1) : e = a.charCodeAt(d).toString(16), c += b + e; return c.substr(b.length) }, $ = function(id) { return document.getElementById(id); } $("form").onsubmit = function() { var val = $("input").value, char = U(val); $("show").innerHTML = "&#x" + char + "; → " + "&#x" + char + ";"; return false; }; </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-11205167-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = 'http://www.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>#1790
#1791
1空白木板一块
2纳税内容一式三份
3顶端写一个扁扁的“同”字
4 剖开成三份,一人一份 ,
核验的时候把三联单合在一起,检验“同”字能不能对得上,这就是“合同”。
#1792
所以大概是: "你是否准备6年后生育女儿?"
#1793
#1794
#1795
#1796
现在是<策划>---><我>
#1797
我认为程序员的工作本身充满创新性、富于变化。和蓝领的职业发展更多依靠经验相比,程序员的技术随着时间的增加,在思维思想、创新能力等方面的等级增长,比经验的获取更加重要。
但对于“搬运工”式的码农,职业发展的未来,也不过是熟练的搬运工而已。
AI的发展,必定会将这些简单的程序搬运代替。就仿佛机械化生产代替工人一样。
#1798
#1799
#1800
#1801
#1802
#1803
特殊的IP地址段:
127.x.x.x
这是大家最熟悉不过的本地loopback地址,在windows和linux上等价于localhost。
我们习惯于使用127.0.0.1,实际上,
如果你在命令行下ping 127.0.0.1-127.255.255.254之间的任意地址,结果都是一样的,它们是等价的。
正常的网络包从ip层进入链路层,然后发送到网络上,
而发向loopback地址的包,直接在IP层短路了,也就是发到IP层的包直接被IP层接收了,不再向下发送。
一个非常特殊的IP:0.0.0.0
这个IP相当于java中的this,代表当前设备的IP。
0.0.0.0这个IP,他可以代表本机的所有IP地址,
但这个IP并不是真是存在的,我们ping不通它
本机ip、127.0.0.1和0.0.0.0区别
#1804
#1805
误以鳄小而喂之