I hereby claim:
- I am bndabbs on github.
- I am bndabbs (https://keybase.io/bndabbs) on keybase.
- I have a public key ASCCB-pWJPHNj6uACXlEechVxQDr45ajl_6Hq7jsY4CXfAo
To claim this, I am signing this object:
| event bro_init() | |
| { | |
| for (stream in Log::active_streams) | |
| { | |
| local filter = Log::get_filter(stream, "default"); | |
| filter$path = fmt("bro_%s", filter$path); | |
| Log::add_filter(stream, filter); | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object:
Grab the main page with all the links:
curl https://slackmojis.com/ > emoji
Open file in vim and run the following commands:
v/src=/d
%s/^.*https:/https:/g"
%s/?.*$//g
| SCM_THEME_PROMPT_PREFIX="" | |
| SCM_THEME_PROMPT_SUFFIX="" | |
| SCM_THEME_PROMPT_DIRTY=" ${bold_red}✗${normal}" | |
| SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓${normal}" | |
| SCM_GIT_CHAR="${bold_cyan}±${normal}" | |
| SCM_SVN_CHAR="${bold_green}⑆${normal}" | |
| SCM_HG_CHAR="${bold_red}☿${normal}" | |
| #Mysql Prompt |
| KAFKA_JVM_PERFORMANCE_OPTS=-server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC -Djava.awt.headless=trueKAFKA_GC_LOG_OPTS=-Xloggc:/var/log/kafka/suricata-to-kafka-gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps | |
| KAFKA_JMX_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false | |
| KAFKA_LOGJ4_OPTS=-Dkafka.logs.dir=/opt/kafka/logs -Dlog4j.configuration=file:/opt/kafka/config/connect-log4j.properties | |
| KAFKA_CONNECT_OPTS=org.apache.kafka.connect.cli.ConnectStandalone /opt/kafka/config/connect-standalone.properties /opt/kafka/config/suricata.properties | |
| CLASSPATH=:/opt/kafka/libs/aopalliance-repackaged-2.4.0-b34.jar \ | |
| :/opt/kafka/libs/argparse4j-0.5.0.jar \ | |
| :/opt/kafka/libs/connect-api-0.10.0.0.jar \ | |
| :/opt/kafka/libs/connect-file-0.10.0.0.jar \ | |
| :/opt/kafka/libs/connect-json-0.10.0.0.jar \ | |
| :/opt/kafka/libs/connect-runtime-0.10.0.0.jar \ |
| # Exact Solarized Dark color theme for the color GNU ls utility. | |
| # Designed for dircolors (GNU coreutils) 5.97 | |
| # | |
| # This simple theme was simultaneously designed for these terminal color schemes: | |
| # - Solarized dark (best) | |
| # - Solarized light | |
| # - default dark | |
| # - default light | |
| # with a slight optimization for Solarized Dark. | |
| # |
| " Leader | |
| let mapleader = " " | |
| set backspace=2 " Backspace deletes like most programs in insert mode | |
| set nobackup | |
| set nowritebackup | |
| set noswapfile " http://robots.thoughtbot.com/post/18739402579/global-gitignore#comment-458413287 | |
| set history=50 | |
| set ruler " show the cursor position all the time | |
| set showcmd " display incomplete commands |
http://ronnybull.com/2015/11/20/how-to-centos-7-router/
Enable IP forwarding
Add ZONE= to ifcfg files
sudo firewall-cmd --permanent --direct --passthrough ipv4 -t nat -I POSTROUTING -o em1 -j MASQUERADE -s x.x.x.0/24
sudo firewall-cmd --set-default-zone=internal
| [DEFAULT] | |
| # | |
| # From nova | |
| # | |
| # Number of times to retry live-migration before failing. If == -1, try until | |
| # out of hosts. If == 0, only try once, no retries. (integer value) | |
| #migrate_max_retries=-1 |
| #!/bin/bash | |
| images=`docker images | awk '{print $3}' |grep -v IMAGE` | |
| for i in $images; do docker rmi $i; done |