摘要:
//codes.js var system = require('system'); var fs = require("fs"); //console.log('Loading a web page'); var page = require('webpage').create(); var url = "https://m.rong360.com/shenyang/sear... 阅读全文
摘要:
功能 每天定时截图,并把截到的图片自动通过邮件发送。 说明 代码注释已经非常详细,就不多做说明,需要的朋友自己查看代码即可,主文件Mail.js,截图文件capturePart1.js,capturePart2.js,capturePart3.js,这里只展示了capturePart1.js其他两个类似。值得注意的是有登录权限的网站一定要设置Cookie,需要截取高质量图片的话截取时间一定... 阅读全文
摘要:
// 第一部分是网页截图和源码保存 // upon page load. var fs = require("fs"); var resourceWait = 300, maxRenderWait = 10000, url='http://handsup-releases.eu/'; var page = require('webpage').create()... 阅读全文
摘要:
定宽Jquery+AJAX+JSON瀑布流布局(每行代码都有详细注释) 预览无效果请刷新 图片标题 图片标题 图片标题 图片标题 图片标题 图片标题 图片标题 图片标题 图片标题 图片标... 阅读全文
摘要:
// This example shows how to render pages that perform AJAX calls// upon page load.//// Instead of waiting a fixed amount of time before doing the ren 阅读全文
摘要:
page.open('http://example.com/?q=houston', function () { // Checks for bottom div and scrolls down from time to time window.setInterval(function() { / 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03判断闰年 { class Program { static void Main(string[] args... 阅读全文
摘要:
1.url的确定 string ftpServerIP = "29.184.249.98"; string path=new Uri("ftp://"+ftpServerIP+"/").ToString(); 2. 创建连接 FtpWebRequest reqFTP; public void Con 阅读全文
摘要:
デリゲート(C# 1.0) そもそもデリゲート(delegate-直訳すると委任・委託・委譲という意味)とはその名前の通り、処理の委譲を支援するための仕組みとなります。 委譲とは大辞林によると「権限などを他に任せて譲ること」となっています。たとえば、複数店舗を展開しているスーパーがあったとします。本 阅读全文
摘要:
using System; using System.Diagnostics; using System.Net; using System.Text; using System.Web; using System.Linq; using System.IO; using System.Collections.Generic; namespace AdUrlConvert { class Pro... 阅读全文