Skip to content

Instantly share code, notes, and snippets.

@njm2112
njm2112 / AirmailToOmnifocus2.scpt
Created July 18, 2017 01:35 — forked from matellis/AirmailToOmnifocus2.scpt
Sends the selected message from Airmail to Omnifocus 2
(*
Send currently selected Airmail message to OmniFocus 2 quick entry box, then archive it.
Based on http://simplicitybliss.com/add-last-sent-email-to-omnifocus
and http://discourse.omnigroup.com/t/mail-to-quick-entry-applescript/500
To install:
- Create a new Automator Service
- Cut/paste this into it
- Edit properties to your satisfaction
Verifying my Blockstack ID is secured with the address 13CXKLBP4xcBB879iFbgCXwhfN6hjKXRc2 https://explorer.blockstack.org/address/13CXKLBP4xcBB879iFbgCXwhfN6hjKXRc2
@njm2112
njm2112 / Remove-MsgAttachment.psm1
Last active December 2, 2017 22:33 — forked from dziemborowicz/Remove-MsgAttachment.ps1
PowerShell cmdlet for removing attachments from *.msg files
function Remove-MsgAttachment
{
[CmdletBinding()]
Param
(
[Parameter(ParameterSetName="Path", Position=0, Mandatory=$True)]
[String]$Path,
[Parameter(ParameterSetName="LiteralPath", Mandatory=$True)]
@njm2112
njm2112 / ConvertMsgUtility.psm1
Created December 2, 2017 22:40
PowerShell cmdlet for converting *.msg files
##
## Source: https://chris.dziemborowicz.com/blog/2013/05/17/how-to-convert-msg-files-to-doc-files-using-powershell/
##
## Usage: ConvertFrom-MsgToDoc *
##
##
function ConvertFrom-MsgToDoc
{
[CmdletBinding()]
@njm2112
njm2112 / ExtractAtt-MsgUtility.psm1
Created December 2, 2017 22:42
PowerShell cmdlet for extracting attachments from *.msg files
##
## Source: https://chris.dziemborowicz.com/blog/2013/05/18/how-to-batch-extract-attachments-from-msg-files-using-powershell/
##
## Usage: Expand-MsgAttachment *
##
##
function Expand-MsgAttachment
{
[CmdletBinding()]
@njm2112
njm2112 / Convert-EmlUtility.psm1
Created December 2, 2017 22:54
PowerShell cmdlet for converting *.eml files to html
##
## Source: https://chris.dziemborowicz.com/blog/2013/05/11/how-to-convert-eml-files-to-html-using-powershell/
##
## Usage: ConvertFrom-EmlToHtml
##
function ConvertFrom-EmlToHtml
{
[CmdletBinding()]
Param
@njm2112
njm2112 / testing.html
Created June 30, 2018 17:41 — forked from rowanmanning/testing.html
HTML template for testing CSS
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Testing</title>
</head>
<body id="top">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
@njm2112
njm2112 / css-media-queries-cheat-sheet.css
Last active June 30, 2018 17:44 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
/* This is a small sampling of the various approaches to media queries. The
point is: they're all over the board. Part of the "issue" (if you can call
it that) may be due to the intended audience of each site/framework. Another
may be that it's really difficult to test for a lot of different devices.
Regardless, it would be really nice if there was standard baseline that
could be used as a starting point for maximum compatibility and coverage. */
/* ==========================================================================
Frameworks
========================================================================== */
@njm2112
njm2112 / Noverse.css
Created June 30, 2018 18:03 — forked from hiltmon/Noverse.css
CSS for Noverse Letterhead
body {
-webkit-font-smoothing:antialiased;
font:normal .8764em/1.5em HelveticaNeue-Light,Helvetica,Arial,sans-serif;
margin:0;
}
html > body {
font-size:1em;
padding:1em;
}