Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

highlighting

highlighting search results in php/mysql

November 19, 2022 by Magenaut

how do i highlight search results from mysql query using php?

Categories MySQL, Q&A Tags highlighting, mysql, php, search Leave a comment

How to make HTML Text unselectable

November 9, 2022 by Magenaut

I would like to add text to my webpage as a label and make it unselectable. In other words, When the mouse cursor is over the text I would like it to not turn into a text selecting cursor at all. A good example of what I’m trying to achieve is the buttons on this … Read more

Categories HTML, Q&A Tags cross-browser, css, highlighting, html, textselection Leave a comment

Textarea that can do syntax highlighting on the fly?

November 9, 2022 by Magenaut

I am storing a number of HTML blocks inside a CMS for reasons of easier maintenance. They are represented by <textarea>s.

Categories HTML, Q&A Tags highlighting, html, javascript, richtextbox, widget Leave a comment

syntax_highlight | lpr

August 11, 2022 by Magenaut

Does anyone know of a simple way to produce the PostScript corresponding to a syntax-highlighted version of a source file that can be piped directly to a PostScript printer?

Categories Q&A, Unix & Linux Tags command-line, highlighting, postscript, printing Leave a comment

How can I display syntax highlighting on a file?

August 10, 2022 by Magenaut

Is there a variant of cat that outputs syntax-highlighted lines of code when used on a source file?

Categories Q&A, Unix & Linux Tags cat, command-line, highlighting Leave a comment

How to highlight a word in the output of “cat”?

August 10, 2022 by Magenaut

I can do the following to see if some word is available in the output of “cat”: cat filename | grep word This filters the output and shows only those lines which contain “word”. Now, is it possible to only highlight the “word” in the output, without dropping other lines? Answers: Thank you for visiting … Read more

Categories Q&A, Unix & Linux Tags cat, highlighting Leave a comment

Why does ‘cal’ use weird 08 / ^H / b terminal code for highlighting and how does that work?

August 8, 2022 by Magenaut

When you run cal on Linux, the output for the current month will reverse video highlight the current day. When I send that output to hexdump -c, I get some interesting results:

Categories Q&A, Unix & Linux Tags ansi-term, cal, escape-characters, highlighting Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress