Skip to content

Instantly share code, notes, and snippets.

@madaboutcode
madaboutcode / bsedownload.js
Last active October 7, 2015 04:20
casperjs - bsedownload
var casper = require("casper").create({
pageSettings: {
webSecurityEnabled: false
}
});
var x = require('casper').selectXPath;
var fs = require('fs');
function printArgs() {
var i, ilen;
@madaboutcode
madaboutcode / secure.md
Created March 7, 2016 15:29
secure centos 7
yum install epel-release
yum install fail2ban

# /etc/fail2ban/jail.local
[DEFAULT]
ignoreip = 127.0.0.1
bantime  = 3600
findtime  = 600
maxretry = 3
// ==UserScript==
// @name Aliexpress - Orders to CSV
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://trade.aliexpress.com/orderList.htm*
// @grant unsafeWindow
// @grant GM_xmlhttpRequest
// @grant GM_setClipboard