This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GETHD=1 | |
GETPOSTER=1 | |
KEEPDAYS="1365" | |
SAVEROOT="/media/Nexon/Trailers" | |
SAVEPATH="/media/Nexon/Trailers/hd-trailer." | |
DLDBPATH="/home/pi/" | |
FEEDS="http://feeds.hd-trailers.net/hd-trailers?format=xml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Google Dictionary | |
// @namespace http://byteco.de | |
// @include * | |
// ==/UserScript== | |
var t = ''; | |
function gText(e) { | |
t = (document.all) ? document.selection.createRange().text : document.getSelection(); | |
t = t.replace(/^\s+|\s+$/g,""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function nseQuotePuller(pblock,args){ | |
var baseUrl = "http://www.nseindia.com/marketinfo/companyinfo/companysearch.jsp"; | |
var params = {cons: Utils.trim(args.object.text),section:7}; | |
jQuery.get( baseUrl, params, function( resp ) { | |
var begindex=resp.indexOf("/marketinfo/equities/cmquote_tab.jsp"); | |
var searchresult=resp.indexOf("<font class=header3>Search Results</font>"); | |
var noResult = resp.indexOf("<font class=contenttext>Click <a href=javascript:history.back()>here</a> to search again</font>"); | |
if(begindex==-1 && searchresult==-1){ | |
return; | |
} |