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! GetXqueryNamespace() | |
normal! yiw | |
return split(split(@", ":")[0], '\$')[0] | |
endfunction | |
function! GetXqueryDeclare() | |
normal! yiw | |
return split(@", ":")[1] | |
endfunction |
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
// run on https://kindle.amazon.com/your_highlights | |
// find asin in the form for a delete on the book you want to remove highlights for | |
var asin = "B00BNGXNW2"; | |
$('form > input[value="'+asin+'"]').each(function(index, input) { | |
var form = input.closest('form'); | |
var action = $(form).attr('action'); | |
var auth = $(form).find("input[name=authenticity_token]").attr('value'); | |
//var asin = $(form).find("input[name=asin]").attr('value'); | |
var annid = $(form).find("input[name=annotation_id]").attr('value'); |
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
for i in *.ts; do filename=$(basename $i); base=${filename%.*}; ffmpeg -i $filename -ss 00:03:00.000 -t 00:00:30.000 -c:v libvpx -b:v 1M -c:a libvorbis $base.webm; done |
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
for i in *.ts; do filename=$(basename $i); base=${filename%.*}; ffmpeg -i $filename -c:v libx264 -c:a libfaac -vf scale=-1:720 -q:a 100 -ac 2 $base.mp4; done |
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
ffmpeg -i 1112_20161129185900.ts -ss 00:03:00.000 -t 00:00:30.000 -c:v libvpx -b:v 1M -c:a libvorbis 1112_20161129185900.webm |
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 Remove Kids Accounts from Total Balance | |
// @namespace http://stevespiga.rel.li/ | |
// @version 0.2 | |
// @description remove kid account balances from total balances - money and savings | |
// @author Steve Spigarelli | |
// @match https://secure.capitalone360.com/myaccount/banking/account_summary.vm | |
// @grant none | |
// ==/UserScript== |
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 Hide Rated R Movies on Feature Films page | |
// @namespace http://stevespiga.rel.li/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Steve Spigarelli | |
// @match https://www.slcolibrary.org/mm/mmmo/newFeatureFilms.htm | |
// @grant none | |
// ==/UserScript== |
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
$("div.wishlistsong").each(function(index, wsl) { $.post("/homes/removeWishlistSong/", { ajax: 1, delete: wsl.id.replace('wishlistsong-', '') })}); |
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
while read line ; do | |
echo $line ; http --ignore-stdin GET https://host$line > `basename $line` | |
done < images.txt |
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
$(".retweet-off-text").each(function() { $(this).click(); }); |