Skip to content

Instantly share code, notes, and snippets.

View pdostal's full-sized avatar
:octocat:

Pavel Dostál pdostal

:octocat:
View GitHub Profile
LogDir = /var/log
#LogFile = messages
TmpDir = /var/cache/logwatch
#HostLimit = Yes
Output = mail
# file stdout
Format = text
# html
#Encode = base64
Encode = none
@pdostal
pdostal / GPG cheat sheet
Created March 1, 2014 03:40
GPG cheat sheet
$ gpg --gen-key
# 1) RSA and RSA (default)
# RSA keys may be between 1024 and 8192 bits long.
# You can set 'default-key $ID' in ~/.gnupg/gpg.conf
$ gpg --list-keys
$ gpg --list-secret-keys
$ gpg --export -a $ID > gpg-pubkey.asc
$ gpg --keyserver keys.gnupg.net --send-keys $ID
@pdostal
pdostal / httpd.conf (passenger)
Last active August 29, 2015 13:56
OS X development environment
RailsEnv development
<Location /rubyapp>
PassengerAppRoot /Users/quick/www/rubyapp
RackBaseURI /rubyapp
Options -MultiViews
</Location>