Skip to content

Instantly share code, notes, and snippets.

View ravindragullapalli's full-sized avatar

Ravindra Gullapalli ravindragullapalli

View GitHub Profile
@ravindragullapalli
ravindragullapalli / waitForKeyElements.js
Last active January 15, 2021 06:00 — forked from BrockA/waitForKeyElements.js
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@ravindragullapalli
ravindragullapalli / livecricketscore.sh
Created August 27, 2017 14:11 — forked from arulrajnet/livecricketscore.sh
Shell script to get a Live cricket score from www.espncricinfo.com. Just run this shellscript then select your match. when ever you want to know score open that terminal and see. Just simple as Dhoni's helicopter shot :D
#/bin/bash
# Shell script to get a Live cricket score from www.espncricinfo.com
# To help Cricket fan DevOPS see the score on his Terminal.
# Thanks to ESPN SPORTS MEDIA LTD for their RSS feed.
#
# Author : Arul <mailto:me@arulraj.net>
function get_html() {
local html=$(curl -k -L -s $1)
echo "$html"