Search found 153 matches

by kjdixo
Sat 05 Nov 2016, 20:36
Forum: Programming
Topic: Script to add rows to an HTML table using YAD and bash
Replies: 6
Views: 2547

I like to be creative with stylesheets and use them for not only doing pretty styles, but also to help to simplify, or work in tandem with, the JavaScript logic, hiding and showing elements. Style sheets are in places 'written on the fly' and the hard wired .css style sheets are referred to in the ...
by kjdixo
Sat 05 Nov 2016, 20:20
Forum: Programming
Topic: Script to add rows to an HTML table using YAD and bash
Replies: 6
Views: 2547

If you type the first 5 characters of a data entry box as the string _irr_ it will be recognized to mean an irregular verb and will translate into a pink html table cell rather than pale green meaning regular verb. It does this by changing a <td> cell to <td class="i"> where i is short for irregular ...
by kjdixo
Sat 05 Nov 2016, 18:25
Forum: Programming
Topic: Script to add rows to an HTML table using YAD and bash
Replies: 6
Views: 2547

add-line.sh Note: from code add-line.sh cd /root/verbs/Documents-on-tablet might not be what you are using, so change it accordingly. I changed the folder name 'Documents-on-tablet' to be 'everything' as you can probably see I uploaded 'everything.tar.gz'. cd /root/verbs/everything would probably ...
by kjdixo
Sat 05 Nov 2016, 18:15
Forum: Programming
Topic: Script to add rows to an HTML table using YAD and bash
Replies: 6
Views: 2547

Script to add rows to an HTML table using YAD and bash

Script to add rows to an HTML table using YAD and bash I needed an easy to use foreign language 'verb tables' lookup system. Portable and easy to use and optimized for use in Palemoon browser on my Samsung Galaxy Tab4 7 inch tablet. I wanted to watch subtitled foreign soaps on my Samsung Galaxy ...
by kjdixo
Sat 05 Nov 2016, 08:22
Forum: Programming
Topic: Save Thunderbird and Sylpheed emails using YAD and xdotool
Replies: 4
Views: 2727

1. Please see from code in the first post, that xclip is required for it to work. 2. Yesterday I adapted the code to work with Sylpheed a lighter weight email client. For this I am using an Asus Eee PC 2G Surf (using a cut down version of LX Pup 14.10). I noticed that a Thunderbird install is 70Mb ...
by kjdixo
Tue 20 Sep 2016, 19:42
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14280

The following is the result of practical tests with various different video filename formats on a microSD card in my old media player. The code changes to the original cv.sh are self explanatory if the code commenting is followed. Ideally use a syntax highlighted text editor to read it. Changes all ...
by kjdixo
Tue 20 Sep 2016, 04:33
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14280

Another version of the script cv.sh for those who prefer to use their own unique identifiers instead of timestamps in the filenames. This is the code snippet modification to cv.sh, it needs to be copy / pasted into the beginning of cv.sh and replaces everything up to the line.'# make a thumbnail ...
by kjdixo
Mon 19 Sep 2016, 21:39
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14280

Requirement number 2 from my previous post was: 2. Videos in the folder /root/.bookmarks/bv/vid/ can easily be transferred to my portable video player (Philips PV7005/12) I had to modify the script cv.sh to make this work how I wanted it to. The problem was that my microSD cards (16GB and 8GB) when ...
by kjdixo
Thu 08 Sep 2016, 21:29
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14280

Here is a bash script cv.sh to convert to mp4 and bookmark any locally stored videos you may have. Use it to convert VOB files from a DVD-R recorded from TV (if that is allowed in your part of the world). I have tried to seamlessly integrate cv.sh with the other scripts in the folder /root ...
by kjdixo
Fri 02 Sep 2016, 07:36
Forum: Security
Topic: Kill The Password
Replies: 26
Views: 4795

Two more thoughts It is quite satisfying to login with a complex password that you have memorized and retained for a long period. Relying on written records and having to look them up is almost like you have not learned something in class and always have to consult a cheat sheet. With old machines ...
by kjdixo
Thu 01 Sep 2016, 22:09
Forum: Security
Topic: Kill The Password
Replies: 26
Views: 4795

ahh yes! unexpected problems (show stoppers) seriously though that is a fairly good method most of the time (when the page doesn;t change) and you can probably minimize the risk by looking at another page, only known to yourself with a backup clue hidden there. It means your passwords are safely ...
by kjdixo
Thu 01 Sep 2016, 20:03
Forum: Security
Topic: Kill The Password
Replies: 26
Views: 4795

@Burn_IT I do have a different password for every different site I visit, but those are not written down and I don't remember them until I actually visit the site - which sometimes screws me when the site is redesigned. That's one good method provided your memory is sharp and you have excellent ...
by kjdixo
Thu 01 Sep 2016, 17:47
Forum: Security
Topic: Kill The Password
Replies: 26
Views: 4795

@Moose On The Loose Thanks for the YouTube link. So MD5 and SHA1 are a waste of time nowadays? And puppy1234linux is not a good password. Graphics cards (being used to crack passwords), FPGAs (also used for bitcoin mining) etc. . . . how can we possibly hope to keep up with this constantly evolving ...
by kjdixo
Thu 01 Sep 2016, 10:56
Forum: Security
Topic: Kill The Password
Replies: 26
Views: 4795

Interesting web page about security flaws of fingerprint unlocking. 3d printing or similar can be used to thwart it. http://www.theverge.com/2016/5/2/11540962/iphone-samsung-fingerprint-duplicate-hack-security At the CCC conference in 2014, a security researcher called Starbug used those techniques ...
by kjdixo
Thu 01 Sep 2016, 08:58
Forum: Security
Topic: Kill The Password
Replies: 26
Views: 4795

A spring loaded, hinged telephone index is fast and easy and great fun to use. You slide the tab to the correct alphabetical category and press the button. Quick as a mouse trap - due to the spring. Preferable to a shopping bag full of scraps of paper with jotted passwords. Talking of which ...
by kjdixo
Thu 01 Sep 2016, 08:34
Forum: Programming
Topic: Converting unusual date formats
Replies: 14
Views: 6449

Thanks MochiMoppel Pleased to see someone is looking at the code in my sometimes rambling threads. My code is usually the first thing that works for me, so there will be other approaches. I will experiment with your method in the near future. Timestamping is used a lot everywhere. This thread will ...
by kjdixo
Wed 31 Aug 2016, 08:44
Forum: Programming
Topic: Save Thunderbird and Sylpheed emails using YAD and xdotool
Replies: 4
Views: 2727

Code below . . . from=$from"-" . . . adds a hyphen between fields in .eml filename. First line and last line already exist, middle bit adds an extra hyphen in the .eml filename to improve readability. if [[ $from = "" ]]; then exit 0; fi #2016-08-26 next line adds a hyphen after from field from ...
by kjdixo
Wed 10 Aug 2016, 08:08
Forum: Programming
Topic: Save Thunderbird and Sylpheed emails using YAD and xdotool
Replies: 4
Views: 2727

Save Thunderbird and Sylpheed emails using YAD and xdotool

I have been saving my Thunderbird emails offline in a custom format, then deleting them from the server. #! /bin/bash yad --no-buttons --on-top --title="Email" --geometry='300x50+80+1200' --form --field="Save":fbtn /root/mail.sh You might need to tweak the above button YAD dialog --geometry to suit ...
by kjdixo
Mon 11 Jul 2016, 16:31
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14280

The bookmarking script bm.sh sometimes downloads a .htm file instead of a .html file. That messes up the bookmarks html pages as they reference html files and not htm files. So I decided to detect htm extensions and rename them to html. In bm.sh replace this rsync -av --exclude='*.js' /root/$time ...
by kjdixo
Sat 09 Jul 2016, 16:21
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14280

The video bookmarking script bv.sh sometimes downloads a webm file instead of an mp4 file (using youtube-dl). That messes up the video bookmarks html pages as they reference mp4 files and not webm files. It would be possible to detect file extensions and write the html bookmarks accordingly. It ...