This file contains 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
import qupath.lib.scripting.QP | |
import qupath.lib.roi.RectangleROI | |
import qupath.lib.objects.PathAnnotationObject | |
points_list = [[0,0]] | |
def hierarchy = QP.getCurrentHierarchy() | |
points_list.each { |
This file contains 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
"for allowing vundles | |
set nocompatible | |
filetype plugin indent on | |
syntax on | |
set backspace=2 | |
set clipboard=unnamed | |
set t_Co=256 | |
set background=dark | |
let g:solarized_temrcolors=256 |
This file contains 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
# grabbed reported MB from a log file | |
perl -nE'/((\d+)\ MB)$/&&say$2' |
This file contains 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 https://mislav.net/2014/02/hidden-documentation/ | |
'See who has been working on stuff in the last 6 months | |
git log --format='%an' --since='6 months ago' . | sort | uniq -c | sort -rn | head | |
'Get the last two tags | |
git describe --tags $(git rev-list --tags --max-count=2) | |
'Log commit messages from 0.23.0 to 0.23.2 |
This file contains 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
"for allowing vundles | |
"set nocompatible | |
"filetype plugin indent on | |
"filetype plugin on | |
"syntax on | |
set backspace=2 | |
if system('uname -s') == "Darwin\n" | |
set clipboard=unnamed "OSX | |
else |
This file contains 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
Parado from jira components | |
=query(Jira!A:ZZ,"Select Y,count(Y) where Y is not null and V > date '2021-07-15' group by Y order by count(Y) desc label count(Y) 'Count'",1) | |
Parado from field defects log filtered by pp2 | |
=query(Sheet1!A661:H,"Select H,count(H) where H is not null and C = 'PP2' group by H order by count(H) desc label count(H) 'Count'",1) |
This file contains 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
tell application "TeamViewer" to activate | |
tell application "System Events" | |
keystroke (the clipboard as text) | |
end tell |
This file contains 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
import qupath.lib.scripting.QP | |
import qupath.lib.geom.Point2 | |
import qupath.lib.roi.PolygonROI | |
import qupath.lib.objects.PathAnnotationObject | |
import qupath.lib.images.servers.ImageServer | |
//Aperio Image Scope displays images in a different orientation | |
def rotated = true |
This file contains 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
# Wrap all columns in a csv with quotes | |
%s/\([^,]*\)\(,\|$\)/"\1"\2/g |
This file contains 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!-- Created with Inkscape (http://www.inkscape.org/) --> | |
<svg | |
width="210mm" | |
height="297mm" | |
viewBox="0 0 210 297" | |
version="1.1" | |
id="svg1" | |
inkscape:version="1.3 (0e150ed, 2023-07-21)" |
OlderNewer