Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Im not gay. I'm just getting back at my dad for not getting me an xbox

Michael Corrado mikiec84

💭
Im not gay. I'm just getting back at my dad for not getting me an xbox
  • Hut8
  • Chicago
View GitHub Profile
@mikiec84
mikiec84 / Makefile
Created Aug 9, 2020 — forked from lindenb/Makefile
Forum: Programming language use distribution from recent programs / articles https://www.biostars.org/p/251002/#251056 pubmed language code
View Makefile
.PHONY:all
JVARKIT_HOME?=${HOME}/src/jvarkit-git/dist
all: graph.png
graph.png : biostar251002.tsv script.gnuplot
grep -v YEAR $< | awk -F ' ' '{printf("%s\t%s\n",$$4,$$2);}'| tr " " "_" | grep -v null |\
sed 's/$$/ 1/'| ${HOME}/src/cmd-utils/src/yxv2table -a sum -n 0 | sed 's/^#/YEAR/' > graph.tsv && \
gnuplot script.gnuplot
rm -f graph.tsv
View css-layout-hack.js
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var domStyle = document.createElement("style");
domStyle.append(
'* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\
* * { background-color: rgba(0,255,0,.2) !important; }\
* * * { background-color: rgba(0,0,255,.2) !important; }\
* * * * { background-color: rgba(255,0,255,.2) !important; }\
* * * * * { background-color: rgba(0,255,255,.2) !important; }\
@mikiec84
mikiec84 / jsonlib_communities.sas
Created Feb 6, 2020 — forked from cjdinger/jsonlib_communities.sas
Example of using JSON libname engine
View jsonlib_communities.sas
/****************************************/
/* Example of using JSON libname engine */
/* for discovery, then with a JSON map */
/* Copyright 2016 SAS Institute */
/* written by Chris Hemedinger */
/* http://blogs.sas.com/sasdummy */
/****************************************/
/* split URL for readability */
%let url1=http://communities.sas.com/kntur85557/restapi/vc/categories/id/bi/topics/recent;
@mikiec84
mikiec84 / README.md
Created Dec 16, 2019 — forked from christiangalsterer/README.md
Atlassian Jira: Number of issues in a Jira Query Language (JQL) search
View README.md

Description

A Dashing widget to display the number of issues returned by a Jira Query Language (JQL) search. The number of issues will be displayed using the Numbers widget. This widget is a generalized version of the Atlassian Jira: Number of issues in a Jira filter query widget, which shows the number of issues for saved Jira filter.

Dependencies

The following dependencies are required. Please add them to your dashing gemfile.

gem 'jira-ruby', :require => 'jira'
@mikiec84
mikiec84 / README.md
Created Dec 16, 2019 — forked from christiangalsterer/README.md
Dashing Jira Agile Sprint Remaining Widget
View README.md
@mikiec84
mikiec84 / nvd_download.sh
Created Dec 16, 2019 — forked from christiangalsterer/nvd_download.sh
Script to download the National Vulnerability Database files from https://nvd.nist.gov
View nvd_download.sh
#!/bin/sh
# https://gist.github.com/christiangalsterer/5f55389b9c50c74c31b9
# Copyright 2015 Christian Galsterer
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@mikiec84
mikiec84 / SAP_CLA
Created Nov 13, 2019 — forked from CLAassistant/SAP_CLA
SAP Individual Contributor License Agreement
View SAP_CLA
### SAP Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by SAP SE or its affiliates (“SAP”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SAP in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@sap.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to SAP a non-exclusive, perpetual, irrevocable, worldwi
@mikiec84
mikiec84 / coord_map.py
Created Nov 13, 2019 — forked from lennax/coord_map.py
biopython coordinate mapper example
View coord_map.py
# Copyright 2012-2014 Lenna X. Peterson
# arklenna@gmail.com
# The first step to using the mapper is to get the exons from a GenBank or similar file.
# The mapper will accept exons as a sequence of pairs, a SeqRecord with a CDS feature, or a CDS SeqFeature.
# The file used in this example is located in the Tests directory of the Biopython source code.
from Bio.SeqUtils.Mapper import CoordinateMapper
from Bio import SeqIO
View fangraphs-starters-pitch-value-2018.csv
Name Team wFB wSL wCT wCB wCH wSF wKN wFB/C wSL/C wCT/C wCB/C wCH/C wSF/C wKN/C playerid
Max Scherzer Nationals 30.2 10.7 -1.4 -3.4 9.6 1.72 1.86 -0.41 -1.27 1.75 3137
Justin Verlander Astros 30.2 3.9 -2.6 8.6 -2.8 1.44 0.51 -13.18 1.73 -5.41 8700
Gerrit Cole Astros 29.9 3.1 -0.5 1.9 1.63 0.47 -0.08 1.33 13125
Jacob deGrom Mets 23.9 15.9 4.6 12.8 1.43 2.08 1.81 2.48 10954
Zack Wheeler Mets 23.8 4.5 1.6 0.5 -0.3 1.42 0.82 0.52 0.43 -0.11 10310
Trevor Williams Pirates 21.3 -0.4 -0.5 -5.3 1.12 -0.09 -9.56 -1.27 16977
Kyle Freeland Rockies 18.5 2.7 2.4 -2.7 1.09 1.82 0.25 -0.61 16256
Aaron Nola Phillies 17.8 23.1 2.1 1.12 2.32 0.33 16149
Walker Buehler Dodgers 17.4 8.7 3.9 2.4 -2.2 1.37 3.04 1.97 0.79 -2.83 19374
View la-dispensaries.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.