Skip to content

Instantly share code, notes, and snippets.

date_bentos = {}
""" format of csv being processed is
Affected Bentos,Incident Date
app1a;app1b;app1c;app1d;app1e;app1f,3/18/2020
app1d,3/16/2020
app1a;app1b;app1c;app1d;app1f,3/17/2020
app1a;app1b;app1c;app1d;app1e;app1f;app2a;app2b,3/16/2020
app1c,3/13/2020
app1c,3/16/2020
@rohanbk
rohanbk / burn.go
Last active October 2, 2019 21:23
Find list of available burn wards while also memeing when your friends or coworkers get dissed
package main
import (
"fmt"
"log"
"net/http"
"os"
"github.com/PuerkitoBio/goquery"
)

Keybase proof

I hereby claim:

  • I am rohanbk on github.
  • I am rohanbk (https://keybase.io/rohanbk) on keybase.
  • I have a public key ASDwq_7wCA1yHJjp8z8JbZ4i-Yr2r20rhoB1bWW5ON56yAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am rohanbk on github.
  • I am rohanbk (https://keybase.io/rohanbk) on keybase.
  • I have a public key ASDM5bJ3I5uZXQ9T9HOxDNHuNHhRBM0NDUG7FnjFPwgLtgo

To claim this, I am signing this object:

@rohanbk
rohanbk / jenkinsdesc.js
Created April 13, 2012 22:46
Jenkins Description modifier
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script>
lyrics =['Is this the real life?', 'Is this just fantasy?', 'Caught in a landslide,', 'No escape from reality', 'Open your eyes,', 'Look up to the skies and see,', "I'm just a poor boy, I need no sympathy,", "Because I'm easy come, easy go,", 'Little high, little low,', "Any way the wind blows doesn't really matter to", 'me, to me', '', 'Mama,', 'I just killed a man,', 'Put a gun against his head, pulled my trigger', "now he's dead", 'Mama... life had just begun,', "But now I've gone and thrown it all away", 'Mamaaaaa oooh,', "Didn't mean to make you cry,", "If I'm not back again this time tomorrow,", 'Carry on, carry on as if nothing really matters', '', 'Too late, my time has come,', "Sends shivers down my spine, body's aching all", 'the time', "Goodbye, ev'rybody, I've got to go,", 'Got to leave you all behind and face the truth', 'Mamaaaaa oooh,', "I don't want to die,", "I sometimes wish I'd never been born at all", '', '(Guitar
@rohanbk
rohanbk / Knapsack
Created December 6, 2010 21:06
Python implementation of classic Knapsack problem
from sys import stdin
from sys import stdout
'''
Knapsack Problem implementation
Created on Dec 6, 2010
@author: rohanbk
'''
capacity=10;
num_of_items=6;
@rohanbk
rohanbk / ArduinoAnalogFSR
Created November 10, 2010 18:23
Code that measures pressure from 6-piezoresistive force sensors (3 per foot) to the six analog pins of the Arduino
/* FSR sampling class
@class ArduinoAnalogFSR
@author rohanbk
*/
int rtoe, rfirstm,rfourthm,rheel,ltoe, lfirstm,lfourthm,lheel;
int debugpin=13;
void setup()
{