Skip to content

Instantly share code, notes, and snippets.

View bdunnette's full-sized avatar
💭
🤔

Brian Dunnette bdunnette

💭
🤔
View GitHub Profile
del .gsf-save*
FOR %%A IN (*.svs) DO vips dzsave %%A %%~nA.zip --centre --overlap 0 --layout google

creative commons

Attribution-ShareAlike 4.0 International

Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.

Using Creative Commons Public Licenses

Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not

Recycling

Sales

Taxes

Donations

if (Meteor.isServer) {
Accounts.onCreateUser(function(options, user) {
// Create blank user.emails field if it doesn't already exist
user.emails = user.emails || [];
if (user.services && user.services.google) {
// Add Google email address to user.emails - fixes issues with some packages that expect this field, e.g. yogiben-admin
user.emails.push({
address: user.services.google.email,
verified: user.services.google.verified_email
});
twbs:bootstrap
ian:accounts-ui-bootstrap-3
fortawesome:fontawesome
zimme:active-route
lbee:moment-helpers
momentjs:moment
aldeed:collection2
aldeed:autoform
#!/bin/bash
echo "Extracting HTML Files"
for f in ~/*.zip
do
unzip -o "$f" '*.html'
done
zl=0

VXM

Proof-of-concept HLA virtual crossmatch in the browser

@bdunnette
bdunnette / start-a-free-geek.md
Last active August 29, 2015 14:22
Notes on starting a Free Geek (or similar social-benefit tech organization)

Starting a Free Geek

There's a lot involved in starting any small business - even (maybe especially!) if your business is not-for-profit (like a Free Geek).

People

Place

Plutus1

@bdunnette
bdunnette / svs2tif.sh
Last active August 29, 2015 14:20
Output SVS files in standard TIFF format
#Process SVS files
for s in *.svs
do
i="${s%.*}"
echo "Processing $s"
width=`vips im_header_int Xsize $s`
height=`vips im_header_int Ysize $s`
echo "$width px wide, $height px high"
# Export slide label as PNG
vips openslideload --associated label $s $i-label.png