Note: everything here is pretty specific to my usage/accounts and not written for public use... You'll probably have to tweak a bunch of stuff.
$ bean-extract config.py ~/Downloads # the csvs should be in here
Note: everything here is pretty specific to my usage/accounts and not written for public use... You'll probably have to tweak a bunch of stuff.
$ bean-extract config.py ~/Downloads # the csvs should be in here
<script src="/js/jquery-1.8.3.min.js"></script> | |
// A little clever jQuery styling of blockquotes | |
<script> | |
$('blockquote p').each(function(){ | |
var $numWords = $(this).text().split(" ").length; | |
console.log($numWords) |
# shows all url+titles of Chrome along with front window+tab url+title | |
set titleString to "" | |
tell application "Google Chrome" | |
set window_list to every window # get the windows | |
repeat with the_window in window_list # for every window | |
set tab_list to every tab in the_window # get the tabs | |
repeat with the_tab in tab_list # for every tab |
// getTrueName.c | |
// | |
// Modified and adapted from https://github.com/GalCohen/dotfiles/blob/master/getTrueName.c | |
// | |
// DESCRIPTION | |
// Resolve HFS and HFS+ aliased files (and soft links), and return the | |
// name of the "Original" or actual file. Directories have a "/" | |
// appended. The error number returned is 255 on error, 0 if the file | |
// was an alias, or 1 if the argument given was not an alias | |
// |
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; | |
} |
/* 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 | |
========================================================================== */ |
/*------------------------------------------ | |
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) { } |
<!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"> | |
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
## | |
## 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 |
## | |
## 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()] |