duckland.org news (linux)http://www.duckland.org/enWed, 10 Jun 2015 05:13:30 GMThttp://getnikola.com/http://blogs.law.harvard.edu/tech/rssUpdates to AUR packageshttp://www.duckland.org/posts/updates-to-aur-packages.htmlDon Harper<div><p>So, with the <a class="reference external" href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">migration of the AUR to version 4</a>, I looked at the 12 AUR packages I had created over the years which I have not looked at in a long, long time.</p> <p>The list started out with:</p> <ul class="simple"> <li><a class="reference external" href="http://aur.archlinux.org/packages/chronicle/">chronicle</a> - A simple blog compiler written in Perl</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-basename/">perl-leocharre-basename</a> - Very basic filename string and path operations such as ext and paths</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-cli2/">perl-leocharre-cli2</a> - Some quick help for writing cli scripts</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-debug/">perl-leocharre-debug</a> - Debug subroutines</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-dir/">perl-leocharre-dir</a> - Subroutines for general directory needs</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-strings/">perl-leocharre-strings</a> - Combines string procedures I frequently use</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-string-prettify/">perl-string-prettify</a> - Subroutines to cleanup a filename and or garble for human eyes</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-api/">perl-wordpress-api</a> - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-cli/">perl-wordpress-cli</a> - Command line access to Wordpress</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-xmlrpc/">perl-wordpress-xmlrpc</a> - API to Wordpress XML RPC calls</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/usbmount/">usbmount</a> - Automatically mount and unmount USB mass storage devices</li> <li><a class="reference external" href="http://aur.archlinux.org/packages/xlhtml/">xlhttp</a> - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter</li> </ul> <p>In the end, I only kept <em>xlhttp</em> as I do not use the others anymore. Surprisingly enough, only one of the packages (<em>chronicle</em>) was out of date. I disowned all the others, so if you want, you can pick them up.</p></div>archlinuxsoftwarehttp://www.duckland.org/posts/updates-to-aur-packages.htmlTue, 09 Jun 2015 22:19:48 GMTFreeBSD Challenge II, End Reporthttp://www.duckland.org/posts/30daychallengefreebsdsa.htmlDon Harper<div><p>And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.</p> <p>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 <a class="reference external" href="http://www.archlinux.org">ArchLinux</a> 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.</p> <p>I will revisit the issue of FreeBSD on the laptops when I either get new kit, or support for my models gets better.</p></div>30DayChallengeFreeBSDlinuxsahttp://www.duckland.org/posts/30daychallengefreebsdsa.htmlFri, 06 Feb 2015 12:43:32 GMTCommand-Line blog postshttp://www.duckland.org/posts/200805command-line-blog-posts.htmlDon Harper<h1>Command-Line blog posts</h1> <p>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 <a href="http://links.twibright.com"> links</a> or the like, but a way to post from the command line.</p> <p>So, this post is being typed up in <a href="http://www.vim.org">vim</a> on my <a href="http://www.fedoraproject.org">Fedora 8</a> laptop. I will use this great little tool I found called <em>wppost</em> to post. <em>wwpost</em> is part of the <a href="http://www.perl.org">perl</a> module <a href="http://search.cpan.org/~leocharre/WordPress-Post-1.04">WordPress::Post</a>.</p> <p>A brief summary of its commands are bellow:</p> <pre><code> -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 </code></pre> <p>Some usage examples taken from the man page:</p> <pre><code> 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 </code></pre> <p>Pretty cool, huh? <img alt=":)" src="http://www.duckland.org/wp-includes/images/smilies/icon_smile.gif"></p> <p>Peace out!</p>bloggingclilinuxsoftwarehttp://www.duckland.org/posts/200805command-line-blog-posts.htmlWed, 07 May 2008 23:05:00 GMT