jerous' ::1

Listing of these articles

Just a quick script that adds some information to tables on \

  • kraken.com
  • bittrex.com

Download

Read the entire post to view the source.

read more...

I sometimes look at the intervals table of my workouts of my favourite run log http://runningahead.com. It's missing a speed column though, which I sometimes prefer over a pace. This little script adds it :)

I've only run it so far in

Download

Read the entire post to view the source.

read more...

The imperial unit system, defined by the British in 1824, is still floating around everywhere, despite the International System of Units being a better system (well-defined, using only seven base units).

In some cases it makes sense, as the impact of error is quite high.

However, in other scenarios, such as the internet, it only makes it more difficult to put things into perspective if one is too lazy to make the calculation (e.g. "I ran 30 ft today!", or "I lifted 20 stone". Should I be impressed?).

Hence, I wrote a simple GreaseMonkey script, which looks for patterns of a number and an imperial unit, and adds the conversion (while also showing the original)

It is quite simple, and hence has some limitations: it will only convert upon page load (thus AJAXy pages won't benefit), looks for very specific patterns (hence "10 and 20 miles" will have only the latter replaced), it sometimes might not recognize some numbers, or sometimes it might convert too much. Another caveat is that the script assumes that thousands are separated by a comma (e.g. ten thousand is either 10000 or 10,000): the comma is removed alltogether from the string.

I've only run it so far in

Download

Read the entire post to view the source. I've also added a simple HTML page with some units to have a quick look at the output.

read more...

A while ago, the google search page used to have a link in the google bar (that bar at the top) which included a link to perform the current search on scholar.google.com. Then, it suddenly disappeared, which annoyed me quite a bit, as I often just typed my query in google, even though I wanted the scholar one.

So, I just finished a little userscript that just does this: insert a link to google scholar.

It should work in

I will keep this script updated as the google homepage changes (last update: 30th of March 2016)

Download

Read the entire post to view the source.

read more...

Some tables on Wikipedia have quite a lot of rows. If one is only interested in a small subset, then it is difficult to see that subset in one screen.

The following userscript filter.js (tested in Opera, and hence should work in Firefox too with Greasemonkey) adds a textbox for each column in a wikipedia article. Each textbox will filter out rows whose respective column does not match the (javascript) regex.

It should work in

  • Opera <=12 (tested; works natively using userscripts)
  • Opera >=15 (tested; use Tampermonkey or Control-Freak (use inner code of the function, rather than the function)
  • Chrome (tested; use Tampermonkey script)
  • Firefox (untested; use GreaseMonkey)

edit: There is still a bug: when sorting, the filter row gets sorted too.

Test it on http://en.wikipedia.org/wiki/Comparison_of_hex_editors or http://en.wikipedia.org/wiki/Comparison_of_text_editors!

read more...

A friend mentioned to me there are full Russian movies available, some with, but most without subtitles. To be able to view these with subtitles, I made a little script that adds substitles.

Check out some samples on http://jerous.org/tools/yt-subs/, and let me know of some good other examples :)

read more...

Listing of these articles Download these articles
[printer friendly] [static version] [Post listing] [Page listing] [Tags: music tab jazz travel wdb europe code live programming youtube record ]