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
#include <stddef.h> | |
#include <stdio.h> | |
#include <ytnef.h> | |
#include <sys/stat.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <gmime/gmime.h> | |
GSList* attachments_from_tnef_buffer(char* buffer, int size) |
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
#!/usr/bin/perl | |
# Reading fields from standard input, omit lines which contain | |
# a character which is absent in the specified font | |
# Make sure perl is invoked correctly (see PERL_UNICODE) | |
use Font::TTF::Font; | |
my $fontPath = "/usr/share/fonts/Adobe/AdobeKaitiStd.otf"; | |
my $font = Font::TTF::Font->open($fontPath); |
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
#!/usr/bin/python | |
msg = "<html><head></head><body>" | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
from email.mime.image import MIMEImage | |
from urllib import request | |
import json | |
import os |