Skip to content

Instantly share code, notes, and snippets.

@regstuff
regstuff / gist:d0e2b928008d94fd7f7e76ed33f3250c
Created December 22, 2019 15:19 — forked from dodok1/gist:7925037
Improved ordering and full JQL as tooltip
<script type='text/javascript'>
var refreshJqlHistoryPane = function() {
var localHistory = localStorage.getItem('jqlHistory');
if(localHistory){
var history = JSON.parse(localHistory);
var historyEntries = history.map(function(jql){
var display = jql;
if(display.length > 25){
display = display.substr(0,22) + "...";
}
@regstuff
regstuff / doc2txt.bat
Created August 7, 2019 06:51 — forked from arthurattwell/doc2txt.bat
Batch file to save Word docs as .txt with Libreoffice
:: doc2txt.bat
::
:: This batch file converts all the files in a folder to .txt,
:: as long as LibreOffice supports them (e.g. .doc, .docx, .odt)
::
:: 1. Make sure soffice.exe is in your PATH, e.g.
:: Edit Environment Variables, add New in user variables, and add C:\Program Files (x86)\LibreOffice 5\program
:: 2. Save this doc2txt.bat file to the folder alongside the files you want to convert.
:: 3. Make sure Libreoffice is not running. (A bug prevents soffice from working while Libreoffice is open.)
:: 4. Double-click doc2txt.bat.