Skip to content

Instantly share code, notes, and snippets.

View ami.ks
# Lorax Composer AMI output kickstart template
# Firewall configuration
firewall --disabled
# NOTE: The root account is locked by default
# Network information
network --bootproto=dhcp --onboot=on --activate
# NOTE: keyboard and lang can be replaced by blueprint customizations.locale settings
# System keyboard
View gist:e4301491bdedbba0a9a862d2e2ffca6a
Thread 39 (Thread 0x7ff0d91ff700 (LWP 21290)):
#0 0x00007ff0d9cdb349 in syscall () from /lib64/libc.so.6
#1 0x000055a95e2470d7 in EventLoop::run() ()
#2 0x000055a95d6442c4 in ProcessRunnerThread::main() ()
#3 0x000055a95e310199 in Thread::callMain(void*) ()
#4 0x00007ff0d9fb7dd5 in start_thread () from /lib64/libpthread.so.0
#5 0x00007ff0d9ce102d in clone () from /lib64/libc.so.6
Thread 38 (Thread 0x7ff0d89ff700 (LWP 21291)):
#0 0x00007ff0d9cdb349 in syscall () from /lib64/libc.so.6
#1 0x000055a95e2470d7 in EventLoop::run() ()
View gist:5038caaf262efe8dbfa7367547d1356a
Name: filebeat
Version: 5.0.0
Release: 0.1.rc1%{?dist}.xgen.1
Summary: Sends logs to S3
License: ASL 2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: systemd
View gist:bdd671199e77f03cc69ac24938e9e4ff
NFO: task mongod:5259 blocked for more than 120 seconds.
Not tainted 2.6.32-431.29.2.el6.x86_64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
mongod D 000000000000001d 0 5259 1 0x00000080
ffff88300a8bbdc8 0000000000000086 0000000000000000 ffff88300a8bbd8c
ffff883000000000 ffff88307fc2be00 ffff880028296840 0000000000000801
ffff886034300638 ffff88300a8bbfd8 000000000000fbc8 ffff886034300638
Call Trace:
[<ffffffffa00c25a5>] jbd2_log_wait_commit+0xc5/0x140 [jbd2]
[<ffffffff8109afa0>] ? autoremove_wake_function+0x0/0x40
View gist:63f753ec87d56c4383a58d380ba9fd0b
0xf758c9 0xf12561 0xef60c9 0xd03b81 0xd31471 0xd318d7 0xd24f1d 0xfc3a04 0x7fd6570e9aa1 0x7fd655c3a93d
----- BEGIN BACKTRACE -----
{"backtrace":[{"b":"400000","o":"B758C9"},{"b":"400000","o":"B12561"},{"b":"400000","o":"AF60C9"},{"b":"400000","o":"903B81"},{"b":"400000","o":"931471"},{"b":"400000","o":"9318D7"},{"b":"400000","o":"924F1D"},{"b":"400000","o":"BC3A04"},{"b":"7FD6570E2000","o":"7AA1"},{"b":"7FD655B52000","o":"E893D"}],"processInfo":{ "mongodbVersion" : "3.0.7", "gitVersion" : "6ce7cbe8c6b899552dadd907604559806aa2e9bd", "uname" : { "sysname" : "Linux", "release" : "2.6.32-573.22.1.el6.x86_64", "version" : "#1 SMP Wed Mar 23 03:35:39 UTC 2016", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "E359E52F4A5E2A16804BCA34965CC29081397CDF" }, { "b" : "7FFC42F4C000", "elfType" : 3, "buildId" : "2F78F7B8A7307DD9C340F3CA735BE2CAA9C157D1" }, { "b" : "7FD6570E2000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "C56DD1B811FC0D9263248EBB308C73FCBCD80FC1" }, { "b"
View db.ns1.mail4.jvnla.com
$TTL 604800
@ IN SOA ns1.mail4.jvnla.com. admin.mail4.jvnla.com. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ; Negative Cache TTL
)
; name servers - NS records
View gist:79d223bfc5f2f5c5a4aa
[root@maverick ~]# TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=1073741824 mongod -f /etc/mongod.conf
[root@maverick ~]# ps -ef|grep mongo[d]
root     20339 19600  0 15:29 pts/46   00:00:00 mongod -f /etc/mongod.conf
[root@maverick ~]# cat /proc/20339/environ 
TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=1073741824HOSTNAME=maverick.office.10gen.ccSHELL=/bin/bashTERM=xtermHISTSIZE=1000QTDIR=/usr/lib64/qt-3.3QTINC=/usr/lib64/qt-3.3/includeUSER=rootLS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=
View gist:2e0c53f94a5370dc1f7c
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{MM-dd HH:mm:ss} [%thread] %-5level- %msg%n</pattern>
</encoder>
</appender>
View gist:a52ca40e3836515a2d7f
### Keybase proof
I hereby claim:
* I am ak2196 on github.
* I am akshay (https://keybase.io/akshay) on keybase.
* I have a public key whose fingerprint is C60A 4692 1ADC 8AB5 1370 2FC1 CE7F 45D3 2D04 1868
To claim this, I am signing this object:
View gist:5825918
FWSM(config)# sh running-config | inc cap
access-list cap_selector_DMZ extended permit ip host 10.10.20.250 host 10.200.10.211
access-list cap_selector_DMZ_VPN extended permit ip host 10.200.10.211 host 10.10.20.250
FWSM(config)# sh cap
capture DMZ type raw-data access-list cap_selector_DMZ interface DMZ[Capturing - 27112 bytes]
capture DMZ_VPN type raw-data access-list cap_selector_DMZ_VPN interface DMZ_VPN[Capturing - 19036 bytes]