Skip to content

Instantly share code, notes, and snippets.

View flatcap's full-sized avatar

Richard Russon flatcap

View GitHub Profile
s/--disable-doc\>/--disable-doc/g
s/--disable-fcntl\>/--disable-fcntl/g
s/--disable-full-doc\>/--full-doc/g
s/--disable-iconv\>/GONE/g
s/--disable-nls\>/--disable-nls/g
s/--disable-pgp\>/--disable-pgp/g
s/--disable-po\>/GONE/g
s/--disable-smime\>/--disable-smime/g
s/--enable-debug\>/GONE/g
s/--enable-dotlock\>/GONE/g
@flatcap
flatcap / distros.md
Last active September 17, 2018 20:55

Build and Install Changes to NeoMutt

There are a lot of changes coming to NeoMutt's build and install. I suggest using this issue as a discussion board and creating pull-requests as needed. Whether you make changes as they happen in NeoMutt, or wait for us to finish, is up to you.

version number doesn't contain mutt's version no mutt strings, only neomutt

The Build

@flatcap
flatcap / bdb.txt
Last active August 23, 2017 12:12
NeoMutt External Function Calls
db_create
db_env_create
// Function
static void clean_references(struct MuttThread *brk, struct MuttThread *cur);
// Original Code
for (ref = cur->message->env->references; p->message && ref; ref = ref->next)
if (mutt_strcasecmp(ref->data, p->message->env->message_id) == 0)
{
done = true;
break;
}
@flatcap
flatcap / inherit.c
Last active September 17, 2018 20:55
inheritance
#include <stdio.h>
/* ---------------------------------- */
#define struct_Named \
char *name
struct Named
{
struct_Named;
@flatcap
flatcap / 2001.txt
Last active April 26, 2017 11:37
Functions in C99, POSIX:2001 and POSIX:2008
a64l
accept
access
aio_cancel
aio_error
aio_fsync
aio_read
aio_return
aio_suspend
aio_write
@flatcap
flatcap / v4.md
Last active November 13, 2016 12:35
Fedora Berkeley DB devel installs

Version 4

Lib

  • libdb4-4.8.30-20.fc24.x86_64.rpm
-rwxr-xr-x 1 root root 1605872 Feb  4  2016 /usr/lib64/libdb-4.8.so
lrwxrwxrwx 1 root root      12 Feb  4  2016 /usr/lib64/libdb-4.so -> libdb-4.8.so

Keybase proof

I hereby claim:

  • I am flatcap on github.
  • I am flatcap (https://keybase.io/flatcap) on keybase.
  • I have a public key whose fingerprint is 69AD 1D63 6AC2 92E8 2065 8C16 EBC1 50E4 B5DA 63DF

To claim this, I am signing this object:

@flatcap
flatcap / mutt-edit.sh
Created August 27, 2016 13:21
Mutt spawn editor
#!/bin/sh
gedit "$1" &
sleep 2
exit 0
@flatcap
flatcap / doc-gen.sh
Last active August 11, 2016 10:51
Generate the neomutt docs
#!/bin/bash
eval REPO="${1:-~/neo-docs}"
cp "$REPO"/doc/chunk.xsl .
cp "$REPO"/doc/manual.xml .
cp "$REPO"/doc/mutt.css .
cp "$REPO"/doc/mutt.xsl .
# The devel features are not merged into neomutt, so insert them now