This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ubuntu Developer Script for pdf2htmlEx | |
# Created by Rajeev Kannav Sharma | |
# http://rajeevkannav.github.io/ | |
# | |
# | |
# Downloads and configures the following: | |
# | |
# CMake, pkg-config | |
# GNU Getopt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth_mechanisms = plain login digest-md5 cram-md5 ntlm apop | |
!include auth-sql.conf.ext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CPU checks | |
cat /proc/stat | |
cpu 5980399 11913132 2932635 127127029 1047304 264 31248 0 0 0 | |
cpu0 3011339 6167764 1718076 61891330 503296 253 23962 0 0 0 | |
cpu1 2969060 5745368 1214559 65235699 544008 11 7286 0 0 0 | |
intr 321175563 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56805749 0 0 0 2291 0 0 0 3 0 11188722 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12 0 0 0 82419651 0 0 0 0 0 0 0 0 0 21037226 0 2314064 0 0 0 0 91522406 0 0 45758249 0 0 0 0 0 0 0 0 165 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3863400 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |
ctxt 344021807 | |
btime 1410377050 | |
processes 1430298 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Suspend dmcache for SSD cache" | |
author "Kyle Manna <kyle@kylemanna.com>" | |
# Start monitoring with inotifywait (will block) after the filesystem is | |
# mounted, when the filesystem is unmounted, teardown the dm devices. | |
start on mounted MOUNTPOINT=/media/usb1 | |
script | |
inotifywait -e unmount $MOUNTPOINT |
NewerOlder