Skip to content

Instantly share code, notes, and snippets.

View KameronKeller's full-sized avatar

KameronKeller

View GitHub Profile
// 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 elements = document.body.getElementsByTagName('*');
var items = [];
for (var i = 0; i < elements.length; i++) {
if (elements[i].innerHTML.indexOf('* { outline:solid red 1px!important; }') != -1) {
items.push(elements[i]);
}
}
#!/bin/bash
for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
(
syspath="${sysdevpath%/dev}"
devname="$(udevadm info -q name -p $syspath)"
[[ "$devname" == "bus/"* ]] || [[ "$devname" == "input/"* ]] || [[ "$devname" == "video0"* ]] || exit
eval "$(udevadm info -q property --export -p $syspath)"
#define LASER_PIN (4)
#define SEND_DELAY (4)
void setup() {
pinMode(LASER_PIN, OUTPUT);
Serial.begin(9600);
sendByte(0x7);
}
void loop() {
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 51 columns, instead of 4 in line 4.
SNUM,CLASS,BM_PB,TB_if_ALL,FAB_if_AML,Year,Gender,pct_Blasts,Treatment_Response,PS,Source,D49950,D63880,J03473,J05243,L13278,L47738,M21551_rna1,M55150,M62762,M81933,M91432,S50223,U12471_cds1,U32944,U35451,U50136_rna1,U53468,U72342,U82759,X15949,X52142,X56411_rna1,X63469,X74262,X76061,X76648,X95735,Y08612,Y12670,D38073,AF012024_s,D26156_s,M84371_rna1_s,M31211_s,U09087_s,U26266_s,L49229_f,M31523,M28170,U29175
s1,ALL,BM,B-cell,?,1996,M,?,?,1,DFCI,75,556,2018,610,193,571,178,654,835,20,767,268,160,3349,408,1124,141,978,393,277,107,178,460,1372,210,1361,298,517,600,994,257,1595,2911,601,358,289,337,1320,397,1582
s2,ALL,BM,T-cell,?,?,M,?,?,0.41,DFCI,129,476,650,927,31,2893,336,1283,3072,20,814,346,134,1002,633,1062,84,324,118,104,20,183,151,1184,216,237,307,351,337,539,46,822,575,435,82,288,131,898,20,624
s3,ALL,BM,T-cell,?,?,M,?,?,0.87,DFCI,44,498,573,1697,198,2723,345,1286,609,124,1547,804,167,2089,912,1398,98,855,667,91,20,166,230,2221,250,1240,309,214,574,1441,139,1452,905,547,263,447,529,597,183,753
s4,ALL,BM,