NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Everything Else » perl script for generating code blocks in NK forums
December 10, 2009 by pbfy0 |
here it is, it takes from clipboard if you don't give it an argument, otherwise, it takes from the file you give it as an arg:
but if you don't want to install the Clipboard module (a PAIN, but worth it I say), here's a simpler version, just takes a file and outputs it with 4 spaces:
Just something I thought might help -Paul P.S. I put those programs on here with themselves! -- :) |
---|---|
December 10, 2009 by Rick_S |
I know the NK guys are trying to keep the forum overhead light but a stronger suite of forum software would be nice. Editing features, simple Good idea with the scripts though. I know for the code snippets I posted for my marquee, it took me a couple trys to get it all looking right. Rick |
December 11, 2009 by FWSquatch |
I couldn't agree more. I'd like to have a few more features on the forum as well. I think a "posts since last visit" feature could come in real handy. Pbfy0- Great idea on the Perl script. It can get tedious adding in spaces. |
Please log in to post a reply.
Did you know that any circuit of voltage sources and resistors can be simplified to a "Thevenin" equivalent circuit? Learn more...
|