[OJ]1003:UC Browser

2019-1-10 写技术

You can get 10 experiences after using UC Browser one day in a row, 20 experiences for two days in a row, 30 experiences for three days in a row, 40 experiences for four days in a row, 50 experiences for five days in a row. If you use UC Browser six days in a row, the experiences you can g...

阅读全文>>

标签: C

评论(0) 浏览(1471)

关键字过滤功能

2018-11-27 写技术

针对于大量营销评论,评论区已经增加了关键字过滤功能。

阅读全文>>

标签: html

评论(0) 浏览(1614)

[html]定时获取服务器时间和本地时间

2018-11-1 写技术

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" cont...

阅读全文>>

标签: html

评论(0) 浏览(2371)

[linux]How to access ini file by shell

2018-10-16 写技术

readIni() { file=$1; section=$2; item=$3; val=$(awk -F '=' '/\['${section}'\]/{a=1} (a==1 && "'${item}'"==$1){a=0;print $2}' ${file}) echo ${val} } writeIni() { file=$1; section=$2; item=$3; val=$4; awk -F '=' '/\['${section}'\]/{a=1} (a==1 && "'${i...

阅读全文>>

标签: linux

评论(0) 浏览(1842)

合法IP地址分类总结

2018-9-29 写技术

1.A类IP地址 一个A类IP地址由1字节(每个字节是8位)的网络地址和3个字节主机地址组成,网络地址的最高位必须是“0”,即第一段数字范围为1~127。每个A类地址可连接16387064台主机,Internet有126个A类地址。 2.B类IP地址 一个B类IP地址由2个字节的网络地址和2个字节的主机地址组成,网络地址的最高位必须是“10”,即第一段数字范围为128~191。每个B类地址可连接64516台主机,Internet有16256个B类地址。 3.C类IP地址 一个C类地址是由3个字节的网络地址和1个字节的主机地址组成,网络地址的最高位必须是“ll0”,...

阅读全文>>

标签: network

评论(0) 浏览(3275)

[html]破解微信网页源码

2018-8-8 写技术

如果有的网页只能微信打开,而且需要授权,那么可以这么做: 1、使用Fiddler抓包工具; 2、使用电脑版微信打开网页;  3、查看抓包数据;

阅读全文>>

标签: html

评论(0) 浏览(2047)

[html]Dreamware中删除文档多余空行

2018-7-22 写技术

搜索 \r\n\s*\r\n 替换 \n

阅读全文>>

标签: html

评论(0) 浏览(1789)

[html]Thinkphp导致dreamweaver打开失败

2018-7-1 写技术

Public\Admin\js\codemirror\theme\ambiance.css 里面有一段描述背景图片的代码,采用了编码方式,引起dreamweaver崩溃,代码片段如下: .cm-s-ambiance .CodeMirror-gutters { background-image: url("data:image/png;base64,i...

阅读全文>>

标签: html

评论(0) 浏览(1806)

[linux]Recover a directory by 'mv' command

2018-6-29 写技术

Sometimes mv a directory to a exist directory will cause error.  mv /home/dd/bb /home/cc/bb If bb has always created in cc directory,the bb will be moved to bb as a subdirectory.  So, we key like this in command while doing this:  mv /home/dd/bb /home/cc/ -f

阅读全文>>

标签: linux

评论(0) 浏览(1746)

[php]将服务器文件BOM头删除

2018-5-8 写技术

以下一段PHP代码可以将服务器上文件的BOM头删除: <?php if (isset($_GET['dir'])){ $basedir=$_GET['dir']; }else{ $basedir = '.'; } $auto = 1; checkdir($basedir); function checkdir($basedir){ if ($dh = opendir($basedir)) { while (($file = readdir($dh)) !== ...

阅读全文>>

标签: php

评论(0) 浏览(1836)

Powered by anycle 湘ICP备15001973号-1