This file contains hidden or 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 buildSearch(search) { | |
// Replace "ratio:4:3" meta by "4:3_aspect_ratio" tag | |
search = search.replace(/(^| )ratio:(\d+:\d+)($| )/g, "$1$2_aspect_ratio$3"); | |
return search; | |
} | |
function buildImageFromJson(img) { | |
img.created_at = img.created_at["s"]; | |
img.score = img.total_score; | |
img.author = img.author.name; | |
return completeImage(img, true); |
This file contains hidden or 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 ESXi autofill credentials | |
// @namespace https://10.200.200.*/ui/* | |
// @version 0.1 | |
// @description Autofills user and password inputs | |
// @author Eduardo Mozat de Oliveira | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @include /^https?:\/\/(\d+\.){3}\d+\/ui\/.*/ | |
// @grant none |
This file contains hidden or 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 | |
# Ruffle-Exporter ver. 0.0.2 | |
# Requires ''ruffle'', ''imagemagick'', ''zenity'' | |
REDEBUG_LOG="/tmp/ruffle-export.dbg" | |
#REDEBUG_LOG="/dev/null" | |
#F1=$HOME/.thumbnails | |
#F2=$HOME/.cache/thumbnails | |
#SAVE_FOLDER=$F1 |