Skip to content

Instantly share code, notes, and snippets.

View MansoorMajeed's full-sized avatar

Mansoor MansoorMajeed

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mansoormajeed on github.
  • I am mansoor (https://keybase.io/mansoor) on keybase.
  • I have a public key ASC2P-PQ7Uerz0zN2dWghm4HQgE-TV7vDaef-RUBzLwuZQo

To claim this, I am signing this object:

###Some don't work yet.

Get the top request methods

varnishtop -i RxRequest

Top urls that missed the cache.

varnishtop -i TxURL

@MansoorMajeed
MansoorMajeed / mosquitto
Created February 4, 2018 06:42
Init script for mosquitto (Tested on Ubuntu 14.04)
#!/bin/bash
### BEGIN INIT INFO
# Provides: mosquitto
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the mosquitto service
### END INIT INFO