Skip to content

Instantly share code, notes, and snippets.

View karoltheguy's full-sized avatar

Carol Ouellet karoltheguy

View GitHub Profile
@karoltheguy
karoltheguy / module1
Last active August 29, 2015 14:17
Mass Auto Reply Outlook Macro
Sub SendReply(Item As Outlook.MailItem)
Dim strRecip As String
Dim Recipient As Outlook.Recipient
Dim objMsg As MailItem
'Save a template with a the content you want to reply and the CC addresses if needed, nothing else.
Set objMsg = Application.CreateItemFromTemplate("path of template .oft")
'Add sender of original email
@karoltheguy
karoltheguy / HexToAscii.cpp
Last active August 29, 2015 14:02
Hexadecimal to ASCII in C++
#include <iostream>
#include <stdio.h>
using namespace std;
int hexToInt(char c)
{
int first = c / 16 - 3;
int second = c % 16;
int result = first*10 + second;