code samples

Samples and examples of code and coding from Eric Hepperle. This is code I wrote, as differentiated from code I quoted from somebody else.

Code Sample: JavaScript ES6 – Scrape OneTab Links (2018)

Here is a program I wrote in 2018. It usues vanilla JavaScript ES6 to scrape and parse links on a OneTab bookmarks page and outputs the results as HTML. While the resulting JavaScript document isn’t a web page, per se, it can be copied into an HTML document and saved. (also on GitHub) /* Program […]

Code Sample: JavaScript ES6 – Scrape OneTab Links (2018) Read More »

Screenshot of my jQuery Fancy Paragraphs code in JSFiddle 2013

Fancy HTML Paragraph Styling with jQuery

I wrote this jQuery fiddle in about 5 minutes. It is really simple, but amazingly powerful at the same time. The purpose of this is to instantly style paragraph tags. Here are the style parameters: Background color: Manila (light beige-ish/yellow) Border color: Orange Drop-shadow: Yes Rounded-rectangle: Yes I want to make the code easily available

Fancy HTML Paragraph Styling with jQuery Read More »

PHP View Utilities Code Debugger – A Wrapper For print_r function

Greetings folks. If you’ve ever gotten tired of having to type: [sourcecode language=”php” htmlscript=”true”] echo "<pre>"; print_r($some_var); echo "</pre>"; [/sourcecode] you are going to love the little debugger class I built. This is a very simple, basic class which doesn’t use patterns or anything fancy.  Actually, it may indeed use patterns that I’m not familiar

PHP View Utilities Code Debugger – A Wrapper For print_r function Read More »