JR:
Add h-entry microformat
- Completed in early October 2013.
Surround content with the article tag.
Include h-entry with the article tag.
article class=h-entry
h1 class=p-nameMicroformats are amazing/h1
pPublished by a class=p-author h-cardW. Developer/a
on time...
more>>
- Oct 07, 2013
- #junco #resolved #indieweb
JR:
Add title to microblog posts
- completed the below on 7oct2013
display max of 75 chars of the microblog post in title tag.
when displaying an individual microblog post, use the first X-number of chars of post in html title tag.
convert those X-number of title chars to a clean ...
more>>
- Oct 07, 2013
- #junco #resolved
JR:
Indie Web checkins
- Man, another interesting function.
p class=h-geo
a href= into The Creamery/a
data class=p-latitude value=37.777372680126/data
data class=p-longitude value=-122.39515461257/data
/p
#indieweb
- Oct 04, 2013
JR:
Perl CGI setting headers
- #!/usr/bin/perl -wT
use strict;
use warnings;
use CGI qw(:standard);
print header('text/plain', '404 Not Found');
print Move along, nothing to see here\n;
At promp, execute: curl -i url-to-script
which returns:
HTTP/1.1 404 Not Found
Date...
more>>
- Oct 04, 2013
- #perl #programming
JR:
My 2013 predictions for the Lions and Browns
- July 2013: I predict the Lions finish 6-10 or 7-9, and the Browns finish 8-8 or 9-7. The Lions will replace their head coach, possibly during the regular season.
Sep 18, 2013: Browns offense performed horribly in first two games. At this rate, 5 win...
more>>
2 min read
- Oct 03, 2013
- #sports #football #nfl #lions #browns #blog_jr
JR:
Perl regex extracting domain name from URL code example
- #!/usr/bin/perl -wT
use strict;
use Data::Dumper;
# code from:
# (
# test links taken from the front page of news.ycombinator.com on 2Oct2013
my @urls = (
https://groups.google.com/forum/#!topic/mechanical-symp...
more>>
- Oct 02, 2013
- #perl #programming #regex
JR:
Loop through a Perl array
- @myNames = ('Larry', 'Curly', 'Moe');
foreach (@myNames) {
print $_;
}
#programming - #perl - #howto
- Oct 02, 2013
JR:
Perl regex extracting domain name from URL
- use strict;
use warnings;
use URI::Split qw/ uri_split uri_join /;
my $scheme_host = do {
my (@parts) = uri_split '
uri_join @parts[0,1];
};
print $scheme_host;
If cannot install module:
use strict;
use warnings;
my $url = '
my ($sch...
more>>
1 min read
- Oct 02, 2013
- #perl #programming #regex
JR:
Web-based communication and businesses
- Excerpts from my Oct 2, 2013 comment posted in this Toledo Talk thread titled Major Appliance Help
"No social scientist would ever think of making conclusions ..."
Maybe not social scientists, but consumers might.
Who is the Appliance Center try...
more>>
- Oct 02, 2013
- #web #forums #socialmedia #business #blog_jr
JR:
Add HTML Scrubber to Junco
- If you wanna "scrub" or "sanitize" html input in a reliable and flexible fashion, then this module is for you.
#programming
#perl
#juncotodo
- Oct 01, 2013
JR:
Junco - Code - junconightmode.css
- /* junconightmode.css - September 30, 2013
000000 became dddddd
and ffffff became 222222
*/
/* @import url( */
body {
background: #222222;
color: #c0c0c0;
font-family: "Open Sans", Arial, Helvetica, sans-serif; ...
more>>
10 min read
- Sep 30, 2013
JR:
Junco theme development
- junco.css - default
junconightmode.css - dark background with light text
(currently, not supporting different themes when typing with the enhanced view.)
Parts of junco.css that need changed to support different colors:
body:
background
color
...
more>>
- Sep 30, 2013
- #css #juncocode #theme
JR:
Junco - Code - splitscreen.css
- /* splitscreen.css - September 30, 2013
Much of the CSS is adaptated from the CSS used in the
Textile live preview editor found at:
*/
html {
overflow: hidden;
height: 100%;
}
body {
font-family: "Open Sans", Aria...
more>>
5 min read
- Sep 30, 2013
JR:
Junco - Code - junco.css
- /* @import url( */
body {
background: #ffffff;
font-family: "Open Sans", Arial, Helvetica, sans-serif;
/* font-size: 100%; */ /* ~16px commented out because it's defined in the text resizer css files */
line-height: 1.5em;
...
more>>
10 min read
- Sep 30, 2013