Skip to content

Instantly share code, notes, and snippets.

View mstephenson6's full-sized avatar

Matt Stephenson mstephenson6

View GitHub Profile
package com.example.demo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.AsyncResult;
import org.springframework.stereotype.Component;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadLocalRandom;
@mstephenson6
mstephenson6 / PrintEverything.wsf
Last active January 3, 2016 21:19
PrintEverything
<job id="main">
<runtime>
<description>
Print everything in a folder (and its subfolders, recursively)
to the default printer. (c) 2011 mstephenson6, please share
with friends, bsd license
</description>
</runtime>
<resource id="WelcomeText">PrintEverything - easy way to print all files in a folder and its subfolders</resource>