LQ Suggestions & FeedbackDo you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Once, I wanted to publish the whole man-page to a tool I had scripted, on my blog, but the formatting was so cumbersome, that I preferred to just link to the HTML-version of the man-page...
Now, it is not clear to me, why transformations of all sorts attract my interest, but be it useful or not, I wrote a XSL-style-sheet to create LQ markup or -down from HTML, published a new blog-post about it and present you the style-sheet in its very first version. The XSL-file is not yet commented, as I deem it superfluous in this case (but I may be erring).
The code-tag on LQ destroys part of the xsl-code, therefore I attach a functional version of the style-sheet as text to my most recent post in this thread.
Cheerio.
Last edited by Michael Uplawski; 10-15-2018 at 11:43 PM.
Reason: Left or right, style sheet updated, old version removed
Once, I wanted to publish the whole man-page to a tool I had scripted, on my blog, but the formatting was so cumbersome, that I preferred to just link to the HTML-version of the man-page... Now, it is not clear to me, why transformations of all sorts attract my interest, but be it useful or not, I wrote a XSL-style-sheet to create LQ markdown from HTML , published a new blog-post about it and present you the style-sheet in its very first version. The XSL-file is not yet commented, as I deem it superfluous in this case (but I may be erring). The code-tag on LQ destroys part of the xsl-code, therefore I attach a functional version of the style-sheet as text to this post. Cheerio.
as you can see it ignores the <br> tags (newlines).
could you fix that?
1) I do not know the difference between markdown and markup. As there are less tags in the LQ “formatting language” I have modified my initial post by replacing “markup” by “markdown”. Next time, I just give evidence of my not caring anyway.
2) The XSL-stylesheet does not honor list-tags for the simple reason that I have not yet had any use for them. I will add templates for list tags (ol, ul) and the list-items (li).
3) Right. There is no support for <br/>, yet. I am avoiding this tag in my own code and had no use for it. But I will ad a template for <br/>, too.
Thanks for the feedback, I'll publish a new version of the style-sheet, soon.
Also, there are apparent “bugs”, which do not render the exercise futile, but could easily be corrected to avoid ill-formatted running text or bad line-breaks. All that shall be addressed.
Remember, this was the very first version and only the second style-sheet after many years of abstinence from XSLT. I am still happy with the results
Last edited by Michael Uplawski; 10-14-2018 at 01:29 PM.
Reason: bugs.
How to list firmware?
/Background
I tried the 'heads-0.4<blah>' distro, which is remarkably like tails, except is uses no closed source stuff at all at all. First casualty was my wifi firmware (in fact, basically ALL firmware). This is my wifi: Code:
How can I find the firmware this loads? There's a few firmware versions and revisions for this wifi card
lspci -vv doesn't mention it
lsusb doesn't find it, unsurprisingly.
It only puts a single line in the logs. Nothing about firmware which it definitely uses.
I got lost in the kernel source. I confess to not regularly reading kernel sources.
I think loading firmware is a kernel option tails may not have set
I intend to loop mount the cd, copy the files, make some needed adjustments, and repackage that as an iso, and burn my compromised heads iso just to try it. Running without wifi is an 'appalling vista'. I eitherneedf to relocate, decrepit as I am, or grab 20 metres of cat5, run it out the window and in my front door :-//.
I am not worried about security, because if some dweeb manages to detect what cpu atheros uses, and bothers to write a hack to breach the linux security of a card found in 0.002% of PCs worldwide, and manages to upload the nothing I have on my box, he deserves to get in for wasting his life, doesn't he? He probably doesn't understand english anyhow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.