#Web scrapers on the internet
See this repo to contribute/see more: https://github.com/cassidoo/scrapers
| from slacker import Slacker | |
| import json | |
| import argparse | |
| import os | |
| import shutil | |
| import copy | |
| from datetime import datetime | |
| # This script finds all channels, private channels and direct messages | |
| # that your user participates in, downloads the complete history for |
#Web scrapers on the internet
See this repo to contribute/see more: https://github.com/cassidoo/scrapers
| https://reputation.alienvault.com/reputation.generic.gz | |
| https://reputation.alienvault.com/reputation.generic | |
| https://reputation.alienvault.com/reputation.data | |
| https://reputation.alienvault.com/reputation.snort.gz | |
| https://reputation.alienvault.com/reputation.snort | |
| https://reputation.alienvault.com/reputation.iptables.gz | |
| https://reputation.alienvault.com/reputation.iptables | |
| https://reputation.alienvault.com/reputation.squid.gz | |
| https://reputation.alienvault.com/reputation.squid | |
| https://reputation.alienvault.com/reputation.unix.gz |
| require 'open-uri' | |
| require 'zlib' | |
| require 'yajl' | |
| # References | |
| # - https://developers.google.com/bigquery/preparing-data-for-bigquery#dataformats | |
| # - https://developers.google.com/bigquery/docs/data#nested | |
| # | |
| def type(t) |
| #!/bin/bash | |
| source /etc/environment | |
| name=$(cat /etc/machine-id) | |
| if [ ! -f /opt/consul ]; then | |
| mkdir /opt | |
| mkdir /var/lib/consul | |
| curl http://storage.googleapis.com/ifup-org-tilde/consul-0.2.0-linux-x86-64.lzma | lzcat > /opt/consul | |
| chmod +x /opt/consul |
| FROM ubuntu | |
| RUN apt-get -y install wget tar ca-certificates | |
| RUN wget https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.2.23.linux-amd64.go1.1.2.tar.gz | |
| RUN tar zxvf nsq-0.2.23.linux-amd64.go1.1.2.tar.gz | |
| RUN mkdir -p /usr/local/bin | |
| RUN cp /nsq-0.2.23.linux-amd64.go1.1.2/bin/nsqd /usr/local/bin | |
| RUN mkdir -p /data | |
| VOLUME ["/data"] |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
Get EC2 CloudWatch stats and graph them in Dashing.
| // Pre-requisites: | |
| // 1. Device core plugin | |
| // 2. Splashscreen core plugin (3.1.0) | |
| // 3. config.xml: <preference name="AutoHideSplashScreen" value="false" /> | |
| // 4. config.xml: <preference name="DisallowOverscroll" value="true" /> | |
| function onDeviceReady() { | |
| if (parseFloat(window.device.version) >= 7.0) { | |
| document.body.style.marginTop = "20px"; | |
| // OR do whatever layout you need here, to expand a navigation bar etc |