Skip to content

Instantly share code, notes, and snippets.

# ls -lh /usr/lib/libssl* :( 1 14-11-29 - 5:53:45
-r--r--r-- 1 root wheel 688K Nov 26 04:02 /usr/lib/libssl.a
lrwxr-xr-x 1 root wheel 11B Nov 26 04:02 /usr/lib/libssl.so -> libssl.so.7
-r--r--r-- 1 root wheel 429K Nov 26 04:02 /usr/lib/libssl.so.7
-r--r--r-- 1 root wheel 718K Nov 26 04:02 /usr/lib/libssl_p.a
root@mail1:~
# ls -lh /lib/libcrypt* 14-11-29 - 5:53:49
-r--r--r-- 1 root wheel 61K Nov 26 04:02 /lib/libcrypt.so.5
-r--r--r-- 1 root wheel 1.9M Nov 26 04:02 /lib/libcrypto.so.7
@nileshgr
nileshgr / main.cf
Last active August 22, 2021 05:04
postfix
inet_interfaces = all
mynetworks_style = host
in_flow_delay = 10s
alias_maps = hash:/etc/aliases
recipient_delimiter = +
#include <iostream>
#include <fcgio.h>
#include <asio.hpp>
#include <thread>
#include <unistd.h>
#include <string>
#define FCGI_SOCKET "/tmp/fcgi_socket"
void hello(asio::local::stream_protocol::socket& sock) {
@nileshgr
nileshgr / Email_Local.pm
Last active October 31, 2016 14:16
In-reply-to patch for Request Tracker ticket system
use strict;
use warnings;
no warnings qw(redefine);
package RT::Interface::Email;
sub ParseInReplyTo {
my $MessageId = shift;
$MessageId =~ s/<(.+)>/$1/;
chomp $MessageId;