<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (linux)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/linux.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Updates to AUR packages</title><link>http://www.duckland.org/posts/updates-to-aur-packages.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;So, with the &lt;a class="reference external" href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4"&gt;migration of the AUR to version 4&lt;/a&gt;, I looked at the 12 AUR packages I had created over the years which I have not looked at in a long, long time.&lt;/p&gt;
&lt;p&gt;The list started out with:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/chronicle/"&gt;chronicle&lt;/a&gt; - A simple blog compiler written in Perl&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-basename/"&gt;perl-leocharre-basename&lt;/a&gt; - Very basic filename string and path operations such as ext and paths&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-cli2/"&gt;perl-leocharre-cli2&lt;/a&gt; - Some quick help for writing cli scripts&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-debug/"&gt;perl-leocharre-debug&lt;/a&gt; - Debug subroutines&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-dir/"&gt;perl-leocharre-dir&lt;/a&gt; - Subroutines for general directory needs&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-strings/"&gt;perl-leocharre-strings&lt;/a&gt; - Combines string procedures I frequently use&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-string-prettify/"&gt;perl-string-prettify&lt;/a&gt; - Subroutines to cleanup a filename and or garble for human eyes&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-api/"&gt;perl-wordpress-api&lt;/a&gt; - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-cli/"&gt;perl-wordpress-cli&lt;/a&gt; - Command line access to Wordpress&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-xmlrpc/"&gt;perl-wordpress-xmlrpc&lt;/a&gt; - API to Wordpress XML RPC calls&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/usbmount/"&gt;usbmount&lt;/a&gt; - Automatically mount and unmount USB mass storage devices&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://aur.archlinux.org/packages/xlhtml/"&gt;xlhttp&lt;/a&gt; - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the end, I only kept &lt;em&gt;xlhttp&lt;/em&gt; as I do not use the others anymore.  Surprisingly enough, only one of the packages (&lt;em&gt;chronicle&lt;/em&gt;) was out of date.  I disowned all the others, so if you want,  you can pick them up.&lt;/p&gt;&lt;/div&gt;</description><category>arch</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/updates-to-aur-packages.html</guid><pubDate>Tue, 09 Jun 2015 22:19:48 GMT</pubDate></item><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;And, again, I hit something which is causing massive disk performance issues.  That, and suspend/resume does not work on either laptop.&lt;/p&gt;
&lt;p&gt;I would try to debug the issues, but that means learning a whole new set of tools, and I will not have time for a while.  Next week, I am in week long meetings which will run late every day, and then I have to finish writing and present a training class the last week of the month.  The hour or two I can spare will be far better spent for me by backup, re-installing &lt;a class="reference external" href="http://www.archlinux.org"&gt;ArchLinux&lt;/a&gt; than by starting to learn the tools.  Yes, a bit of a cop-out, but I need the machines to do what I need to do.  I will keep the servers FreeBSD, however, as it works great there.&lt;/p&gt;
&lt;p&gt;I will revisit the issue of FreeBSD on the laptops when I either get new kit, or support for my models gets better.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>FreeBSD</category><category>linux</category><category>sa</category><guid>http://www.duckland.org/posts/30daychallengefreebsdsa.html</guid><pubDate>Fri, 06 Feb 2015 12:43:32 GMT</pubDate></item><item><title>Command-Line blog posts</title><link>http://www.duckland.org/posts/200805command-line-blog-posts.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;Command-Line blog posts&lt;/h1&gt;

&lt;p&gt;So, it only seems fitting that I should talk about a command-line interface to posting on this blog. No, I do not mean using &lt;a href="http://links.twibright.com"&gt; links&lt;/a&gt; or the like, but a way to post from the command line.&lt;/p&gt;

&lt;p&gt;So, this post is being typed up in &lt;a href="http://www.vim.org"&gt;vim&lt;/a&gt; on my &lt;a href="http://www.fedoraproject.org"&gt;Fedora 8&lt;/a&gt; laptop. I will use this great little tool I found called &lt;em&gt;wppost&lt;/em&gt; to post. &lt;em&gt;wwpost&lt;/em&gt; is part of the &lt;a href="http://www.perl.org"&gt;perl&lt;/a&gt; module &lt;a href="http://search.cpan.org/~leocharre/WordPress-Post-1.04"&gt;WordPress::Post&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A brief summary of its commands are bellow:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;       -c category, can be a list separated by commas, no spaces
-t title
-i description, main body of post, if it has a slash, it is interpreted as a file to slurp
like a text or html file
-D iso formatted date for post, can be left out
-T if there are image attachments, place them as thumbnails only, with link, not just resized
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Some usage examples taken from the man page:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    Most basic of usage, (provided you have a ~/.wppost file)

wppost -t 'hi everyone' -i 'i just wanted to say hello'

If you want to specify two different categories:

wppost -t 'Another Apple' -i 'Apples are really great. I do love them so.' -c food,rant -D 20071231

If the body of the post is in a file

wppost -t 'title here' -i ./content.txt

If the content of the post is in a file and you want to use the file
name as the title

wppost -i ./Title_Here.txt

If you want to have file attachments:

wppost -t 'recent photos' -i 'these are recent pictures i took' ./*jpg
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Pretty cool, huh? &lt;img alt=":)" src="http://www.duckland.org/wp-includes/images/smilies/icon_smile.gif"&gt;&lt;/p&gt;

&lt;p&gt;Peace out!&lt;/p&gt;</description><category>blogging</category><category>cli</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/200805command-line-blog-posts.html</guid><pubDate>Wed, 07 May 2008 23:05:00 GMT</pubDate></item></channel></rss>