This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script requires libvips-tools to be installed | |
| trackingcode="UA-39453866-3" | |
| imagehost="web-basic.oit.umn.edu" | |
| tracking_script="<script>(function(e,t,n,r,i,s,o){e[\"GoogleAnalyticsObject\"]=i;e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},e[i].l=1*new Date;s=t.createElement(n),o=t.getElementsByTagName(n)[0];s.async=1;s.src=r;o.parentNode.insertBefore(s,o)})(window,document,\"script\",\"//www.google-analytics.com/analytics.js\",\"ga\");ga(\"create\",\"$trackingcode\",\"umn.edu\");ga(\"send\",\"pageview\")</script>" | |
| indextitle=${PWD##*/} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT TOP 100 * | |
| FROM [Aperio].[dbo].[Specimen] Specimen | |
| INNER JOIN [Aperio].[dbo].[Slide] Slide | |
| ON Slide.ParentId=Specimen.Id | |
| INNER JOIN [Aperio].[dbo].[Image] Image | |
| ON Image.ParentId=Slide.Id | |
| WHERE Specimen.ColumnPublishToWeb2 = 'TRUE' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:16.04 | |
| MAINTAINER Brian Dunnette <[email protected]> | |
| RUN \ | |
| # Install dependencies | |
| sed "s/archive.ubuntu.com/local-mirror.cs.umn.edu/g; \ | |
| s/security.ubuntu.com/local-mirror.cs.umn.edu/g" \ | |
| -i /etc/apt/sources.list && \ | |
| apt-get update && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cd to your Loopback project directory and run: | |
| # curl https://gist.githubusercontent.com/bdunnette/a1854b4f0c5010cb7a539be5f2d63ef8/raw/add-gulp.sh | sh | |
| REPO=https://gist.githubusercontent.com/bdunnette/a1854b4f0c5010cb7a539be5f2d63ef8/raw | |
| echo client/vendor >> .gitignore | |
| mv server/boot/root.js server/boot/root.js.bak | |
| sed 's/\("files\".*\:.*{\)/&\"loopback\#static\"\:\{\"params\"\:\"\$\!\.\.\/client\"\}/' -i server/middleware.json | |
| sed 's/\("compression\".*\:.*{\)/&\"enabled\":false/' -i server/middleware.json | |
| mkdir -p client/js client/css server/fixtures | |
| touch client/css/app.css server/fixtures/.gitkeep | |
| wget -O gulpfile.js $REPO/gulpfile.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # checkout, compile & install | |
| git clone https://github.com/facebook/watchman.git | |
| cd watchman/ | |
| # git checkout v4.7.0 | |
| sudo apt install -y autoconf automake build-essential python-dev | |
| ./autogen.sh | |
| ./configure | |
| make | |
| sudo make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "Using $1 for output..." | |
| for s in *.pdf | |
| do | |
| i="${s%.*}" | |
| printf "# $i\n\n" >> $1 | |
| echo $s | |
| pdftotext $s - >> $1 | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
| Token for proof: | |
| [Verifying my OpenPGP key: openpgp4fpr:653209785db2920ed1ad006862be838daa8af7b8] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
| Token for proof: | |
| [Verifying my OpenPGP key: openpgp4fpr:653209785db2920ed1ad006862be838daa8af7b8] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cd to your Firebase project directory and run: | |
| # curl https://gist.githubusercontent.com/bdunnette/258eafa8425e3b7c89dc873c73a5cc2d/raw/add-gulp.sh | sh | |
| REPO=https://gist.githubusercontent.com/bdunnette/258eafa8425e3b7c89dc873c73a5cc2d/raw | |
| echo public/vendor >> .gitignore | |
| echo node_modules >> .gitignore | |
| mkdir -p public/js public/css | |
| touch public/css/app.css | |
| curl $REPO/gulpfile.js > gulpfile.js | |
| curl $REPO/app.js > public/js/app.js | |
| sed "s/myApp/${PWD##*/}/g" -i public/js/app.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| db.meteor_accounts_loginServiceConfiguration.update({"service":"google"},{$set:{"clientId":"your-client-id","secret":"your-secret"}}) |