AB在线Markdown编辑器 园长 2018-01-12 Other 2 2,574 Git地址:https://github.com/anbai-inc/ab-editor 简介 这是一个简单的Markdown在线编辑器,演示项目环境是一个SpringBoot+JPA的maven项目,clone后请修改数据库密码。项目比较简单,调用请参考示例editor.html。前端代码依赖主要markdown-it.js jquery、codemirror、jquery-file-upload。 支持表情包和文件上传(表情包支持自定义表情分组、图片、描述之类的)。 基本配置 创建编辑器时可以指定表情包、文件上传的API地址: var editor = $('#ab_editor_demo').ABEditor({ "url": "./api/ab-editor/upload_json.php", "emoji_api": "./api/ab-editor/emoji.php", "height": 400 }); 当然也可以通过height和width指定编辑器的宽高。 获取编辑器值方式:editor.getValue() HTML渲染markdown方式: var md = markdownit({ html:
Proxifier Mac和Windows全局代理 园长 2017-11-06 Other 9 4,133 有很多时候我们利用ShadowsocksX或者SSH隧道打开代理后发现Mac和windows都无法全流量代理。Proxifier只需要简单的配置就可以支持全局的流量代理。 首先需要利用SSH隧道或者ShadowsocksX先在本地开发一个Socket代理(监听一个用于本机代理的socket端口)。 Mac版本配置 如果要使用mac下的ssh代理隧道,在控制台执行如下命令:ssh -nNTf -D 1080 root@123.123.123.123 (123.123.123.123是你的远程linux服务器地址)。如果用ShadowsocksX直接配置好ss服务器代理就可以了。 点击Proxies添加一个Socket5代理,如图: 设置代理规则(Applications可以选择你想要代理的应用,默认是任何的mac应用): action选择前面配置好的Socket5代理。 Windows版本 Windows版本配置过于简单,启动好ShadowsocksX或者ssh代理后直接添加代理就可以了。 Mac版:Proxifier+for+Mac+2.15.3.dmg (安装密码www.ifunmac.com) Windows汉化版:HA-Proxifier331-LDR.rar
Shimo-4.1.4.2 破解版 (支持Mac OS sierra PPTP 客户端) 园长 2016-12-26 Other 3 3,818 Mac OS sierra 更新后不再PPTP支持了,从国内的mac分享破解软件里面找的Shimo都不兼容。从google翻到了个Shimo-4.1.4.2破解版,测试可用。 下载地址:Shimo-4.1.4.2.dmg
Gogland 发布 - JetBrains Go IDE 园长 2016-12-25 Other 0 2,318 三年前JetBrains公司决定开发Golang插件,如今JetBrains 终于发布了一款全新的Go IDE-Gogland。 官方网站:https://www.jetbrains.com/go/ ,目前需要提交申请才能获取下载地址。
DNS Records (ANY) 园长 2015-09-29 Other 0 2,028 这是一个来自Rapid7的LDNS库,包含了大约5亿域名A记录. Dataset Details The dataset contains snapshots taken within a timeframe of maximum 8 hours each. New snapshots will be added as additional data is collected. The forward DNS requests are made with record type 'ANY' which results in all kinds of result records being returned. The first upload contained only the following types: A, AAAA, CNAME, MX, NS, PTR, SOA, TXT. Since then we've changed the parsing library (ldns) and are now uploading all records we retrieve, as far parsed as possible. The data might contain unknown record types and known but
卸载云盾 园长 2015-09-11 Other 2 2,013 由此次阿里云事件谈粗暴的安全防护手段 阿里云: a ) wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh b ) chmod +x quartz_uninstall.sh c ) ./quartz_uninstall.sh 腾讯云: #!/bin/bash #fuck tx process rm -rf /usr/local/sa rm -rf /usr/local/agenttools rm -rf /usr/local/qcloud process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver ) for i in ${process[@]} do for A in $(ps aux |grep $i |grep -v grep |awk '{print $2}') do kill -9 $A done done chkconfig --level 35 postfix off service postfix stop echo ''>/var/spool/cron/root echo '#!/bin/bas
URL.zip 园长 2015-08-25 Other 3 2,558 这是3月-5月的URL数据,包含大量的完整URL链接压缩包。每个文件3E+URL,解压后15-17G。 20150331-http.url.zip url.txt.zip [root@localhost http]# head 20150331-http.url https://67.32.8.22.innotrac.com/ http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd http://www.w3.org/1999/xhtml http://174.93.96.86/js/jquery-1.3.1.min.js http://174.93.96.86/js/common.js http://174.93.96.86/js/class.js http://174.93.96.86/js/main.js http://174.93.96.86/js/jcookie.js http://174.93.96.86/js/language.js http://174.93.96.86/css/main.css
[分享]1.9亿域名A记录(主域名:1.18亿,子域名7300万) 园长 2015-03-16 Other 1 2,405 最近社区里很多人在搞大数据分析,之前也有整理过一些数据但是量不大。这次给大家分享来自dnscensus 2013的大量域名解析数据。首先@insight-labs 感谢A牛! 总域名数量:191846073 主域:118212410 子域名:73633663 来源:dnscensus 2013 整理:admin@javaweb.org 主域名: 子域名: 其他相关数据收集: alexa和quantcast排名前100W网站 子域名Top 3000 下载地址:domain.zip
alexa和quantcast排名前100W网站 园长 2015-02-12 Other 0 2,285 某些时候测试会用到,这里是alexa排名前100W网站和近期quantcast的排名前100W网站域名。 alexa和quantcast排名前100W网站
子域名Top 3000 园长 2015-01-03 Other 3 2,232 mysql> select SUBSTR(domain,1,LOCATE('.',domain)-1) pre,count(*) c from sys_domain where parent_id > 0 group by pre order by c desc limit 0,3000; +----------------+---------+ | pre | c | +----------------+---------+ | www | 1024282 | | mail | 451476 | | ftp | 187225 | | smtp | 169424 | | pop | 140343 | | m | 79738 | | webmail | 76103 | | pop3 | 56713 | | imap | 45873 | | localhost | 44444 | | autodiscover | 39349 | | admin | 34667 | | b