Skip to content

Instantly share code, notes, and snippets.

Noin noinlijin

Block or report user

Report or block noinlijin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@noinlijin
noinlijin / hotmail.js
Created Jan 21, 2017
phantomJs crash,slimerjs work well, use casperjs
View hotmail.js
var casper = require('casper').create({
pageSettings: {
loadImages: false,
loadPlugins: false,
userAgent:'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36'
},
});
casper.options.viewportSize = {width: 1200, height: 800};
casper.start();
View python 随机整数
random.randint(0, 3) #随机出现 0,1,2,3
View casperjs:执行命令时传参
执行命令如:
```
casperjs login.js --user=userName
```
#login.js 文件里接受传参 userName
```
var casper = require('casper').create();
var userName = casper.cli.get('user')
@noinlijin
noinlijin / casperjs:cookie file
Created Nov 15, 2016
casperjs:cookie manager
View casperjs:cookie file
@noinlijin
noinlijin / gist:27b586c92b8cd3b0d032
Created Jul 31, 2015
贴吧发帖经验总结(一)
View gist:27b586c92b8cd3b0d032
#发帖准备
最好有一个大号,经常活跃在贴吧,水经验,等级加上去
一把同一张图不要发两遍,但是第二天使可以重复发的
#没人管的吧,可以直接在一楼推荐广告,标题就推荐
一般可以说推荐一款vpn,送多少流量,有哪些优惠互动,优势啊什么的。尽最大的努力去说你要推广的产品
#吧主管的比较严的吧
一般要分享一些对吧友有用的攻略什么的,技术贴,比如教怎么绑定fb,g+等,个人经验分享,游戏经验分享
coc吧的攻略,虚荣攻略,钢铁力量攻略分享
View gist:3864090f57e305da0d4a
##IE7 float bug
```
<div class="project-list">
<div class="project-item">
<img src="/public/image/tmp-image-1.jpg" alt=""/>
<p class="img-title">合作管理学博士(IDMgt)</p>
</div>
<!-- project-item -->
You can’t perform that action at this time.