Skip to content

Instantly share code, notes, and snippets.

View helgridly's full-sized avatar

Hussein Elgridly helgridly

View GitHub Profile
@helgridly
helgridly / wordle_avg_score.user.js
Last active March 11, 2022 15:34
Wordle Average Score
// ==UserScript==
// @name Wordle Average Stats
// @namespace helgridly
// @version 0.1
// @description Adds an average score to the statistics modal
// @author helgridly
// @match https://www.nytimes.com/games/wordle/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==
@helgridly
helgridly / busted_release.md
Created April 19, 2017 20:15
Things we need to fix before we can unfreeze dev

Things we need to fix before we can unfreeze dev

  • Anu GAWB-1931 Method Config Import dialog does not always dismiss after a Method Config is chosen
  • Anu GAWB-1930 Billing Management table does not update when a new project is added
  • Putnam GAWB-1405 Label workspace with semantic tags
  • Putnam GAWB-1406 My workspaces: search on tags
  • Putnam GAWB-1757 Table refactor
  • Needs UI PR 742
@helgridly
helgridly / assertfail.scala
Last active September 4, 2015 18:03
Orient 2.1.1 leaky transactions
val dbName = "blah"
val factory = new OrientGraphFactory("memory:"+dbName, "admin", "admin")
factory.setThreadMode(THREAD_MODE.MANUAL)
factory.setAutoStartTx(false)
factory.setUseClassForEdgeLabel(false)
factory.setUseLightweightEdges(true)
//Initial setup of DB.
val graph = factory.getTx
graph.begin()
@helgridly
helgridly / gist:e148c42f2887a161d81c
Created December 1, 2014 00:27
Set of tests run on modified bx_python
from bx.intervals.intersection import IntervalTree, Interval
def tuplset( ilist ):
return set([ (i.start, i.end) for i in ilist ])
tree = IntervalTree()
tree.insert_interval( Interval(1,1) )
assert tree.find(1,1) == [Interval(1,1)]
assert tree.find(1,2) == [Interval(1,1)]
assert tree.find(0,1) == [Interval(1,1)]
@helgridly
helgridly / fail.ipynb
Created November 6, 2014 20:29
IPython notebook that breaks python-markdown's pymdpreprocessor.py
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.