initial commit to seperate repo

This commit is contained in:
Don Harper 2015-06-09 22:50:31 -05:00
commit 1a020ca68b
1302 changed files with 201261 additions and 0 deletions

View file

@ -0,0 +1,14 @@
.. title: FreeBSD Challenge II, Day 14
.. slug: freebsd-challenge-ii-day-14
.. date: 2015-01-14 23:51:48 UTC-06:00
.. tags: sa,30DayChallenge,FreeBSD
.. category:
.. link:
.. description:
.. type: text
Today is day 14 (pushing day 15 at this hour), and things are looking very good. Today, I got word from the `PCBSD Project <http://www.pcbsd.org>`_ that a patch which I submitted to fix the `issue with the WiFi NIC <http://www.duckland.org/posts/201407freebsd-switch.html>`_. Well, I got notice today that `PCBSD Bug #7330 <https://bugs.freenas.org/issues/7330>`_ has been resolved, and I tested on the R810. It works!
Now, I just need to get a few things configured here first, like snapshots, backups, and porting my SDCARD reading scripts over to FreeBSD, and I should be good.
Then, fun things like configure & use IPv6. I have some FreeBSD VSP servers to test with...it will be fun!

View file

@ -0,0 +1,18 @@
.. title: FreeBSD Challenge II, Day 30 Update
.. slug: freebsd-challenge-ii-day-30-update
.. date: 2015-01-30 15:38:32 UTC-06:00
.. tags: 30DayChallenge,FreeBSD,sa
.. category:
.. link:
.. description:
.. type: text
As the month draws to a close, I am further into the switch. I have rebuilt my main laptop to `PCBSD <http://www.pcbsd.org>`_. I am still setting a few things up, but it seems to be going well.
Two things I need to fix:
- **Skype**: While there is not a native client, there are lots of folks who report success with the Linux client. I will need to do some research.
- **Nikola**: The software I use for my blogs. It throws a python error when I run it, so I cannot update things. Again, I think I just need to do some more research.
Now, the fun of the weekend is here, so I am off!

Binary file not shown.

View file

@ -0,0 +1,19 @@
<html><body><h1>What do I Use?</h1>
<p>Software</p>
<p>So,<br>
What major apps do I use daily? Well, this is the list of apps that<br>
I currently use daily:</p>
<ul>
<li><a href="http://cnswww.cns.cwru.edu/%7Echet/bash/bashtop.html">bash</a> - my shell of choice</li>
<li><a href="http://www.gnu.org/software/screen">screen</a> - a schell multiplexer and more</li>
<li>mitt-ng - a mua on steriods</li>
<li>centericq - IM. How do you stay in touch?</li>
<li><a href="http://home.kcore.de/%7Ekiza/software/snownews">snownews</a> - an RSS feed reader</li>
<li>calcurse - a calendar/todo manger</li>
<li>bashblogger - the CMS for this site</li>
</ul>
<p>There are a few more, but I need to find URLs for them.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: What do I Use?
.. slug: 200606what-do-i-use
.. date: 2006/06/05 18:06:00
.. tags: cli,software
.. link:
.. description:

View file

@ -0,0 +1,23 @@
<html><body><h1>Window Managers?</h1>
<p>Why would a web site dedicated to the CLI have a section on Window<br>
Managers? Well, simple.</p>
<p>Some times, you just have to have X running. Some web sites I have to<br>
do research at use Flash, or photo editing/managing, or my iPod (none<br>
of the CLI tools let me manage play lists very easily).</p>
<p>Plus, I cannot get the same resolution on the console as I can under<br>
X.</p>
<p>So, what is a CLI user to do? Why, get a Window Manager (wm) that is<br>
meant for us!</p>
<p>The features I look for include small footprint and full keyboard<br>
integration. The current one I use is wmi-10, but it is no longer<br>
under active development. The group working on it has moved to on to<br>
<a href="http://www.wmi.de/wmii">wmii</a>, but I do not like the changes,<br>
so I am off looking for a new one to use.</p>
<p>From time to time, I will post how my search is going so you can see<br>
what is out there.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Window Managers?
.. slug: 200607window-managers
.. date: 2006/07/30 18:07:00
.. tags: cli,software,windowmanager
.. link:
.. description:

View file

@ -0,0 +1,10 @@
<html><body><h1>Another RSS reader?</h1>
<p>Well, it seems that someone is reading this after all.</p>
<p>So, tonight I have been given a pointer to raggle (<a href="http://www.raggle.org">http://www.raggle.org). I guess I need<br>
to install ruby to try it out…</a></p>
<p>Thanks to Philip McClure for the pointer.</p>
<p>Updates after I try it out some…</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Another RSS reader?
.. slug: 200611another-rss-reader
.. date: 2006/11/02 17:11:00
.. tags: cli,software,rss
.. link:
.. description:

View file

@ -0,0 +1,11 @@
<html><body><h1>Disconnected IMAP</h1>
<p>So, in an effort to get to the office earlier, I decided to try to<br>
figure out how to do disconnected IMAP. Well, the route I took was to<br>
use a tool called &lt;a<br>
<a href="http://mailsync.sourceforge.net/">mailsync</a> which is a cool<br>
tool to allow you to sync IAMP mailboxes. So, my tack is to sync it<br>
down to my laptop, and read the email on the bus. I sync email down<br>
in the morning, and then in the evening, sync again. So far, so good.</p>
<p>More updates later…</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Disconnected IMAP
.. slug: 200611disconnected-imap
.. date: 2006/11/26 17:11:00
.. tags: cli,software,imap
.. link:
.. description:

View file

@ -0,0 +1,14 @@
<html><body><h1>RSS Reader: Raggle</h1>
<p>Well, after getting some time over the US holiday to try to get raggle<br>
built, I gave up. I am guessing that Fedora Core 5/6 are not very<br>
ruby friendly yet, as I could not find everything I needed very<br>
easily. I was able to get it almost all the way there, but I could<br>
not get the ruby-Ncurses rpm to build, and I am very strict about<br>
using the native package management system (ie RPM on a RPM based<br>
system, portage on Gentoo, apt on a Debian deviant), so I will not be<br>
trying this until I can get the RPMS.</p>
<p>In other news, I have found some more PIM type things to play with.<br>
Does anyone know of a good CLI Palm Pilot sync package? <a href="http://www.coldsync.org/">Cold Sync seems to be dead, and I am<br>
not sure if it will talk to modern Pilots.</a></p></body></html>

View file

@ -0,0 +1,6 @@
.. title: RSS Reader: Raggle
.. slug: 200611rss-reader-raggle
.. date: 2006/11/22 17:11:00
.. tags: cli,software,rss
.. link:
.. description:

View file

@ -0,0 +1,19 @@
<html><body><h1>Screen Saver? Yes!</h1>
<p>So, a while back I found a screensaver which is meant for the command<br>
line. It is called <a href="http://www.pulia.nu/tss/">tss</a>. The<br>
latest version is 0.8.1, and it is looking pretty cool.</p>
<p>Under screen 4.0 or higher, there is a command called idle which is<br>
set in seconds. By default, it uses screens built in lockscreen<br>
function, but if you define the environment variable LOCKPGR, then you<br>
can call something else. I have it call a the following script:</p>
<pre><code>#!/bin/bash
tss -r
exec vlock -a
</code></pre>
<p>This will lock my screen after a set time, and give me a nice thing to<br>
look at. <img alt=":)" src="http://www.duckland.org/wp-includes/images/smilies/icon_smile.gif"></p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Screen Saver? Yes!
.. slug: 200611screen-saver-yes
.. date: 2006/11/23 17:11:00
.. tags: cli,software,screensaver
.. link:
.. description:

View file

@ -0,0 +1,30 @@
<html><body><h1>Window Manager for tty?</h1>
<p>The package <a href="http://www.gnu.org/software/screen">screen</a> is<br>
something that has been around for a long time.</p>
<p>With screen, you can have many session running on on tty, and you can<br>
switch to another session with out touching a mouse. With the proper<br>
configuration, you can get notified if there is some change (like if<br>
you have a IM client up) or if there is no output (say, if you are<br>
watching a compile session).</p>
<p>You are in the zone working, and then you notice the time, and you<br>
have to log out and go home. Is this a problem? No, with a simple<br>
d, you can disconnect the screen session, log out, go home,<br>
log back into that machine, and resume your session just where you<br>
left off.</p>
<p>One of the other really feature is cut and paste between sessions.<br>
The is very handy when adapting code (or articles) into a new file.</p>
<h3>Screen References</h3>
<ul>
<li><a href="http://www.sun.com/bigadmin/features/articles/gnu_screen.html">BigAdmin Feature Article: Installing and Using GNU Screen</a></li>
<li><a href="http://www.google.com/search?num=100&amp;hl=en&amp;safe=off&amp;client=firefox&amp;rls=org.mozilla:en-US:unofficial&amp;q=gnu+screen+howto&amp;spell=1">Google Search: gnu screen howto</a></li>
<li><a href="http://www.sun.com/bigadmin/features/articles/gnu_screen.html">BigAdmin Feature Article: Installing and Using GNU Screen</a></li>
<li><a href="http://aperiodic.net/screen/start">GNU screen: start</a></li>
<li><a href="http://aperiodic.net/screen/tutorial">GNU screen: tutorial</a></li>
<li>[GNU Screen: an introduction and beginner's t utorial</li>
</ul></body></html>

View file

@ -0,0 +1,6 @@
.. title: Window Manager for tty?
.. slug: 200701window-manager-for-tty
.. date: 2007/01/28 17:01:00
.. tags: cli,software,windowmanager
.. link:
.. description:

View file

@ -0,0 +1,23 @@
<html><body><h1>cli bug/issue/task tracking system?</h1>
<p>Fresh from freshmeat:</p>
<p>http://www.ditrack.org/</p>
<pre><code>What is DITrack?
DITrack is a free, open source, lightweight, distributed issue (bug,
defect, ticket) tracking system using a [Subversion](http://subversion.tigris.org/) repository instead
of a backend database. It is written in Python and runs in UNIX
environment (*BSD, Linux, MacOS X).
The project is inspired by the idea of [Subissue](http://subissue.tigris.org/) issue tracking system.
However, while Subissue aims in merely replacing the traditional
database storage with Subversion repository, DITrack is a major
rethought of the issue tracking system paradigm. The main difference
is that instead of sticking to the centralized model (one database,
one web interface, one mail integration machinery), DITrack treats
underlying Subversion storage as a versioned distributed file system
which enables benefits of truly distributed operation mode.
</code></pre></body></html>

View file

@ -0,0 +1,6 @@
.. title: cli bug/issue/task tracking system?
.. slug: 200703cli-bugissuetask-tracking-system
.. date: 2007/03/05 17:03:00
.. tags: cli,software,bugtracker
.. link:
.. description:

View file

@ -0,0 +1,9 @@
<html><body><h1>CLI Magic: Linux troubleshooting tools 101</h1>
<p>When something goes wrong with your Linux-based system, you can try to<br>
diagnose it yourself with the many troubleshooting tools bundled with<br>
the operating system. Knowing about these tools, and how to<br>
effectively use them, can help you overcome many…</p>
<p><a href="http://rss.slashdot.org/~r/linux/KhmQ/~3/92841427/article.pl">Read<br>
More…</a></p></body></html>

View file

@ -0,0 +1,6 @@
.. title: CLI Magic: Linux troubleshooting tools 101
.. slug: 200703cli-magic-linux-troubleshooting-tools-101
.. date: 2007/03/13 18:03:00
.. tags: cli,article,troubleshooting
.. link:
.. description:

View file

@ -0,0 +1,15 @@
<html><body><h1>Strayed from the path</h1>
<p>In two ways…first, I have not updated the site in a while, and I<br>
need to get back to updating it.</p>
<p>Second, because I have not been true to my cli roots. I have moved<br>
from my default MUA of the last, oh, 8 years, and flirted with a GUI<br>
MUA, <a href="http://www.mozillia.org">thunderbird</a>. It was pretty.<br>
It was sexy. It let me see everything then and now. It tried to<br>
seduce me into using a GUI for more…</p>
<p>But, then I got behind in my email, and it was taking longer and<br>
longer to catch up. <em>sigh</em> Two days ago, I switched back, and now, I<br>
am fully caught up on my inbox, and making headway on my actionable<br>
items.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Strayed from the path
.. slug: 200703strayed-from-the-path
.. date: 2007/03/19 18:03:00
.. tags: cli,article
.. link:
.. description:

View file

@ -0,0 +1,34 @@
<html><body><h1>BINS Photo Album</h1>
<p>The <a href="http://bins.sautret.org/">BINS Photo Album</a> is a package to generate static web pages from the command line. Why would you want to do this? Well, most of the dynamic web photo albums require that the server do all the work when the client requests the images, thus either slowing it down, or requiring a very beefy server. Also, you introduce the chance for a script-kiddie from hacking your site. Not good.</p>
<p>Enter BINS. Some of its features include [<a href="http://bins.sautret.org/intro.html">from the web page</a>]:</p>
<ul>
<li>generated album is <strong>static</strong> : its just plain HTML/CSS/Javascript files (Javascript is not mandatory to view the album), no need of any dynamic language (php, asp, etc.) nor database on server side. Album can be burned on CD or DVD.</li>
<li>album can contains other albums (<strong>sub albums</strong>): the album can have a tree structure ;</li>
<li>generation of a <strong>thumbnail</strong> and of <strong>scaled images</strong> for each picture ;</li>
<li>generated album appearance is <strong>fully customizable</strong> by using <strong>HTML templates</strong> (5 different templates sets are currently provided) and <strong>configuration parameters</strong>: colors, number and size of thumbnails per page, number and size of scaled pictures (in pixels or percentage of the original image for the size), fields to display, etc. Those parameters can be <strong>set globally</strong> (system wide or per user), <strong>per album</strong> or sub album or <strong>per picture</strong> (for example, you can change the colors of one sub album or one just one picture page in an album by editing its description file) ;</li>
<li>several <strong>description fields</strong> (date, location, etc…) can be associated with the pictures (in text or HTML format). You can easily add or customize these fields ;</li>
<li>description fields can be set or modified via a <strong>command line interface</strong> or a <strong>GTK+/GNOME-based GUI</strong> ;</li>
<li>A <strong>search engine</strong> is included in the album : you can find some pictures by searching keywords in their description fields.</li>
<li>Album can be generated from pictures managed by <a href="http://www.nother.net/zoph/">Zoph</a>.</li>
<li><strong>speed up</strong> album browsing by performing a clean up of HTML code to reduce its size and by <strong>pre-loading</strong> thumbnails in browser cache using <em>JavaScript</em> code ;</li>
<li><p>Exif information and <strong>Digital camera support</strong> :</p>
<ul>
<li>use the EXIF data structure found on some image files (usually, those produced by digital cameras) to fill automatically some fields (date and time for example).</li>
<li>BINS use the Orientation EXIF tag (which is normally set when you rotate a image on you DigiCam) to <strong>rotate the picture to correct orientation</strong>.</li>
<li>For each image, a page provides all information available on the picture and the <strong>DigiCam settings</strong> when the photo was taken.</li>
<li>Additional information are provided for <strong>Canon DigiCams</strong>.</li>
<li>Tooltips provide information about the meaning of some of the fields.</li>
<li>All EXIF information is saved in the XML description file, preventing they disappear when the image is modified ;</li>
</ul></li>
<li><strong>internationalization</strong> (generation of album in different languages) using gettext. Current languages supported are Catalan, Dutch, English, Esperanto, Finish, French, German, Hungarian, Italian, Japanese, Polish, Russian, Spanish and Traditional Chinese ;</li>
<li><strong>customizable charset encoding</strong> for HTML generation, including <strong>UTF-8 (Unicode)</strong> support by default. Generation of the Apache <code>.htaccess</code> file for correct encoding charset in HTTP headers ;</li>
<li>use of <strong>XML files</strong> to save user description of pictures and albums/subalbums and Exif data from image file ;</li>
<li>handle correctly file and directory names with spaces or other odd characters (excepted /), and create <strong>valid escaped URLs</strong> ;</li>
<li>generate <strong>valid HTML/XHTML</strong> code. The level of HTML depends of the style used. Some of the styles are valid, table free XHTML.</li>
</ul>
<p>The web site has some great <a href="http://bins.sautret.org/examples.html">example.</a> Go check them out.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: BINS Photo Album
.. slug: 200705bins-photo-album
.. date: 2007/05/21 18:05:00
.. tags: cli,software,photo
.. link:
.. description:

View file

@ -0,0 +1,5 @@
<html><body><h1>iKog - the simple todo list</h1>
<p><a href="http://www.henspace.co.uk/ikog/index.html">iKog - the simple todo list</a></p>
<p>So I am looking for a good to-to list manager, and I stumbled across ikog.  ikog stands for “It Keeps On Growing”, and it is a pretty nice todo manager which has been influenced by the GTD school of thought. Currently, I am using it for my daily todo manager, and using the python gtd tool for my long term list management.  Give it a whirl, you might like it!</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: iKog - the simple todo list
.. slug: 200705ikog-the-simple-todo-list
.. date: 2007/05/21 18:05:00
.. tags: cli,software,todo
.. link:
.. description:

View file

@ -0,0 +1,6 @@
<html><body><h1>Pacman for Console</h1>
<p>You are tired of hearing your GUI friends talking about their games? Tired of playing simple <a href="http://en.wikipedia.org/wiki/Colossal_Cave_Adventure">Adventure</a>? Why not try <a href="http://doctormike.googlepages.com/pacman.html">Pacman for Console</a>?</p>
<p>The game play is just like the old quarter game you played long ago, and the best part, you can develop your own maps! Check out the screen shot:<br>
<img alt="" src="http://doctormike.googlepages.com/pacman-1-1.png/pacman-1-1-full.jpg"></p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Pacman for Console
.. slug: 200706pacman-for-console
.. date: 2007/06/25 18:06:00
.. tags: cli,software,games
.. link:
.. description:

View file

@ -0,0 +1,21 @@
<html><body><h1>Screen - terminal multiplexer</h1>
<p>I usually have one screen running at all time, and in that screen session, I ssh to various hosts that I am working, and have screen running on those hosts.</p>
<h3>Additional Links</h3>
<p><a href="http://www.google.com/search?q=gnu+screen&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a">gnu screen - Google Search</a>
<a href="http://www.gnu.org/software/screen/">GNU Screen - GNU Project - Free Software Foundation (FSF)</a>
<a href="http://savannah.gnu.org/projects/screen/">GNU Screen - Summary [Savannah]</a>
<a href="http://en.wikipedia.org/wiki/GNU_Screen">GNU Screen - Wikipedia, the free encyclopedia</a>
<a href="http://jmcpherson.org/screen.html">GNU Screen - Jonathan McPherson</a>
<a href="http://www.delorie.com/gnu/docs/screen/screen_toc.html">Screen Users Manual</a>
<a href="http://aperiodic.net/screen/">start [GNU screen]</a>
<a href="http://www.deadman.org/sshscreen.html">Deadman.org: SSH-Agent Forwarding and GNU Screen</a>
<a href="http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html">http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html</a>
<a href="http://www.pixelbeat.org/docs/screen/">Remote terminal session management using screen</a>
How to use screen to detach from and share terminal sessions
<a href="http://www.zorg.org/linux/screen.php">z o r g . o r g - A Brief Introduction to Screen</a>
<a href="http://www.zorg.org">www.zorg.org</a>! Linux, Home Automation, VoIP, Radio Scanning, PMR446, CB Radio, Cryptography, Handspring Visor, Psion Series 3 and much more.
<a href="http://www.bangmoney.org/presentations/screen.html">screen - The Terminal Multiplexer</a>
[Power Sessions with Screen</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Screen - terminal multiplexer
.. slug: 200706screen-terminal-multiplexer
.. date: 2007/06/13 18:06:00
.. tags: cli,software,screen,windowmanager
.. link:
.. description:

View file

@ -0,0 +1,3 @@
<html><body><h1>dvtm - dynamic virtual terminal manager</h1>
<p>Hes back! And with with something new/cool:[dvtm</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: dvtm - dynamic virtual terminal manager
.. slug: 200804dvtm-dynamic-virtual-terminal-manager
.. date: 2008/04/07 18:04:00
.. tags: cli,software,windowmanager
.. link:
.. description:

View file

@ -0,0 +1,43 @@
<html><body><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></body></html>

View file

@ -0,0 +1,6 @@
.. title: Command-Line blog posts
.. slug: 200805command-line-blog-posts
.. date: 2008/05/07 18:05:00
.. tags: cli,software,blogging,linux
.. link:
.. description:

View file

@ -0,0 +1,5 @@
<html><body><h1>Pizza Party - Command Line Pizza ordering program</h1>
<p>Want a pizza, and do not want to fire up that pesky GUI?  We have the solution for you: <a href="http://www.beigerecords.com/cory/pizza_party/">Pizza Party - Command Line Pizza ordering program</a></p>
<p>Currently, only from Dominos, so if you do not have one near you who accepts on-line orders (<em>sigh</em>, mine does not), then you are out of luck.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Pizza Party - Command Line Pizza ordering program
.. slug: 200808pizza-party-command-line-pizza-ordering-program
.. date: 2008/08/25 18:08:00
.. tags: cli,software,lifeimitatingmovies
.. link:
.. description:

View file

@ -0,0 +1,11 @@
<html><body><h1>So you need a calendar?</h1>
<p>So, one of the things we have been using computers for is to keep track of our lives.  And this means a scheduling or calendaring tool.  Some tools out there do this fine, and some do it very well.</p>
<p>I have to keep track of a lot of appointments. From conference calls for work, to each member of the familys schedules, to random, but highly important reminders.  Most calendaring programs out there will let you set up a reoccurring event by day of the month, or the date.  But, what if you need to do something two days before the end of the month, every month?  Or, you need to do something every full moon, but not on <a href="http://en.wikipedia.org/wiki/Blue_moon">the blue moon</a>?  Or, you have a standing meeting with your boss every other Monday morning, execpt when Monday is a holiday, then the meeting shifts to Tuesday?  Oh, and you want something that you can run over an ssh session, while on your smart phone, or you friends smart phone?</p>
<p>The answer is simple: <a href="http://www.roaringpenguin.com/products/remind/">remind</a>.  remind can do this, and more.  Need to set something up by the Hebrew Calendar?  Check.  Want your calendar to run a shell command for you on a holiday, specific day of the month, or phase of the moon? Check.</p>
<p>Most modern Linux distrobutions include remind nowdays, as it is so darn usefull.  In addition, it runs just fine under Solaris, and the BSDs, including MacOS X.  If fact, over at <a href="http://www.43Folders.com">43Folders</a>, they have a whole section their wiki for <a href="http://wiki.43folders.com/index.php/Remind">remind</a>.  The wiki has many tips and tricks on how to use remind to its fullest.</p>
<p>In my next post, I will share some tips on how I get remind to remind me of events.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: So you need a calendar?
.. slug: 200808so-you-need-a-calendar
.. date: 2008/08/04 18:08:00
.. tags: cli,software,calendar
.. link:
.. description:

View file

@ -0,0 +1,27 @@
<html><body><h1>Alerting with Remind</h1>
<p>Back in my <a href="http://www.duckland.org/archives/2008/08/05/so-you-need-a-calendar/">article on Remind</a>, I talked about the simple power of remind to power your scheduling needs.  That is all fine and good, but how to you get it to tell you when you have an event?</p>
<p>In its simplest form, when you run _remind _ from the command line, it will not only display the current days reminders, but it will run in the background and wake up to tell you about other reminders on the screen while you work.</p>
<p>This is fine, but what happens if you do not have that termial open in front of you?  Well, I have two ways I approach that issue.</p>
<p>First, when I run under X (<a href="http://www.duckland.org/archives/2006/12/31/what-do-i-use/">yeah, yeah, I know, but I use cli tools under X</a>), I have this added to my .xinitrc:</p>
<blockquote>
<p>remind -z -kxmessage -buttons okay:0 -default okay %s&amp; ~/.reminders &amp;</p>
</blockquote>
<p>Lets look at the command line:</p>
<ul>
<li>The <strong>-z</strong> tells remind to wake up every 5 minutes and reread the .reminders file.</li>
<li>The <strong>-k</strong> tells remind to run a command instead of simply printing the reminder to the screen</li>
<li><strong>xmessage -buttons okay:0 -default okay %s&amp;</strong> is the secret sauce of this.  This is the command run when there is an alarm.  This command line calls xmessage (which is on pretty much any box with X) to display the alert.  You could use zenity or kmessage, or winpopup, or whatever.  This is what puts the alert in your face when you are not looking at the screen.  The <strong>&amp;</strong> is needed to make this command non-blocking by putting it in the background.</li>
</ul>
<p>That all good if you are setting at your computer.  But, what do you do when <em>gasp</em> you leave to computer?  This is a little tricker.  For this, my solution needs two things: 1) a computer which is always on and 2) a way to send messages to your cell phone/pager (sms or email).  I have a cron job which checks to make sure remind is running, and restarts it if it is not (I use a hosting provider which does not like long running processes).  The command line is similar to the one for X, but with a difference:</p>
<blockquote>
<p>TZ=CDT6CST ~/bin/remind -z -k”echo %s</p>
</blockquote></body></html>

View file

@ -0,0 +1,6 @@
.. title: Alerting with Remind
.. slug: 200811alerting-with-remind
.. date: 2008/11/19 17:11:00
.. tags: cli,software,remind,calendar
.. link:
.. description:

View file

@ -0,0 +1,9 @@
<html><body><h1>Googles Calendar on the Command Line!</h1>
<p>You love your comfortable command line, but all the cool kids are playing in the Web 2.0 web space, and you want to stay true to your roots?  Want a Web 2.0 calendar, but still love (or need) command line access?</p>
<p>I just found the answer: <a href="http://code.google.com/p/gcalcli/">gcalcli</a>. This little tool will let you list your appointments, get an list your events, get an agenda, print ascii rendering of your calendar for the week or month.  You can even add events to the calendar.</p>
<p>I like the fact that I can easly get at my gcalendar from anywhere (even my cell phone), and now I can do it from my shell.</p>
<p>The only downsides so far?  The code has not been updated since October of 2007, and the speed can be a little slow sometimes. I am going to play with it for a while to see if I like it enough to replace remind.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Googles Calendar on the Command Line!
.. slug: 200812googles-calendar-on-the-command-line
.. date: 2008/12/08 17:12:00
.. tags: cli,software,calendar
.. link:
.. description:

View file

@ -0,0 +1,19 @@
<html><body><h1>C*MUS - A music manager for the terminal</h1>
<p><a href="http://cmus.sf.net/">C*mus</a> is an advanced music juke-box for *inx and Window operating systems. It can handle the modern audio file formats: FLAC, Ogg/Vorbis, MP3 , Wav, AAC , MP4, .mod, .s3m, .mpc, mpp, .mp+, .wma, and .wv . It also can deal with many different types of audio output systems: ALSA, libao, ARTS, OSS, Sun, and WaveOut on Windows. The typical features of an electronic juke-box are supported like play lists and random/shuffle play, in addition to easily switching between playing from the library, an artist, or a single album with a simple keystroke.</p>
<p>C*Mus is pretty painless to install from source. The website lists the build dependencies with links. There is no RPM .SPEC file on the web site, but you can use this <a href="http://www.duckland.org/files/cmus.spec">one</a>.</p>
<h2>En-queuing</h2>
<p>One of the features I really enjoy and use is the en-queue function. I tend to use this two ways. The first is when I am listening to a song, and want to listen to similar songs, I go find them in my library, and I queue them up with a simple keystroke. A dynamic play-list, if you will. Then, I can simply create a more permanent playlist from this temporary list.</p>
<p>The second way is using the helper program cmus-remote to be able to queue up tracks from a different terminal, or from a script. My podcatcher program (bashpodder) will queue up the podcasts it just downloaded for me, so I can listen to them first thing in the morning.</p>
<h2>Keystroke and CLI</h2>
<p>C<em>Mus is developed to be driven via keystrokes. The default mapping is set up to be comfortable for those use are familiar with VI but, it is very easy to remap the keys to make it more comfortable. C</em>Mus will automatically save the current settings on a clean exit. The default mappings for selecting and updating views, moving through songs forward and backwards in small and large increments, adding to play list and queue lists.</p>
<h2>Filters</h2>
<p>One of the very powerful features is simple filters. You can set a filter for your 80s Metal Bands or your Classical music. Many of the common tags can be used for filter on. Things like filename, artist, album, title, genre, discnumber, tracknumber, date (year), duration (seconds), and tag.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: C*MUS - A music manager for the terminal
.. slug: 200901cmus-a-music-manager-for-the-terminal
.. date: 2009/01/12 17:01:00
.. tags: cli,software,music
.. link:
.. description:

View file

@ -0,0 +1,18 @@
<html><body><h1>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</h1>
<p>One of the things that has annoyed me about Fedora has been the decision to switch over to using <a href="http://www.gnome.org/projects/NetworkManager/">NetworkManager</a> to manage all network connections.</p>
<p>Now, on the service this has a lot of advantages. A lot of work has gone into it, and it just works for a vast majority of the installations out there. They have made it so the move from wired to wireless and back can be done without the user doing anything. They have also seamlessly tied in Dial-Up Networking if you still need a modem or use a wireless modem. They even have two-click access to your VPN which is pretty cool.</p>
<p>All these are things which are very good for Linux users. The biggest drawback to all this? The need for a user-space program to manage the non-hardwired connections. Which means that in order to be able to have any network running besides the good old twisted-pair copper, you have to have a little applet running as you, and it has to have a systray somewhere to display. Which means you have to be a) logged into the system and b) you have to be running a window manager which supports having a system tray. Now, Fedora gives you lots of choices for the second part now days. You have <a href="http://www.gnome.org">Gnome</a>, <a href="http://www.kde.org">KDE</a>, <a href="http://www.xfce.org">XFCE</a>, and <a href="http://lxde.sf.net">LXDE</a>. All are perfectly usable window managers. But, they still require you to be logged in to X. And, <a href="http://www.duckland.org/archives/2006/07/31/window-managers/">I do not use any of them</a>.</p>
<p>So, what is a cli-loving Fedora user to do? Well, there is this great program called <a href="http://www.tummy.com/Community/software/wifiroamd/">wifiroamd</a>. It will handle the same basic tasks that NetworkManager handles. It will automatically configure your wifi interface and connect to the wifi networks or the locate hardwired NIC if it cannot. You can configure it to run scripts per connection, so for example, you can change your firewall rules for different networks (shields down at home or the office, but up full at the coffee house), or you could bring up your VPN connection when you start using a given wireless network.</p>
<p>One tip I picked up from the author was that if you have multiple APs in range, an you want to select once AP over the other, is under the <em>/etc/wifiroamd/connections</em> directory, simply link the AP info you do not want to the one you want:</p>
<pre><code>ln essid:my_home_ap essid:bad_ap
</code></pre>
<p>where <strong>essid:my_home_ap</strong> is your AP with the keys and other information you want, and <strong>essid:bad_ap</strong> is the one you do not want to connect to. My neighbors have some very powerful APs which have a habit of showing up high than mine, but I have no problem with them now.</p>
<p>I have been using this set up under Fedora since FC6 days, but when I upgraded to F10, this stopped working. wifiroamd would try to scan for an AP, and not find anything. The change, it turns out, is that when I switched from using the iw3945 driver to the native iwl3945, wifiroamd could no longer see the wireless NIC due to the wpa_supplicant process, but NetworkManager could. Simply stopping and disabling wp_supplicant and NetworkManager, and wifiroamd started working again! I am a happy camper again.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora
.. slug: 200904wifiroamd-intel-prowireless-3945abg-and-fedora
.. date: 2009/04/17 18:04:00
.. tags: cli,software,network,wireless
.. link:
.. description:

View file

@ -0,0 +1,94 @@
<html><body><h1>Search your email!</h1>
<p>One of the features that most of the pretty GUI mailers offer you is the ability to search your email. While this is not a feature I use regularly, it is one which when you need it, you really need it. I have used <a href="http://grepmail.sf.net">grepmail</a> in the past, but it slow for me (it scans the mail files every time) and the big thing for me is that is only supports <a href="http://en.wikipedia.org/wiki/Mbox">mbox</a> files, and I use <a href="http://en.wikipedia.org/wiki/Maildir">maildir</a> since I use <a href="http://software.complete.org/software/projects/show/offlineimap">offlineimap</a>.</p>
<p>I recently found <a href="http://www.rpcurnow.force9.co.uk/mairix/">mairix</a>. While I have not been using it long, so far I am very impressed with it. It uses an index to speed up the search process, and it smartly adds only new or changed files to the index. The first indexing run was only a few seconds on my archive of almost 15,000 mail messages. I have it scheduled to update the index every 15 minutes, and I never notice the load this will put on the system.</p>
<p>To integrated mairix with mutt, I wrote a quick little script to search from within (or without) mutt:</p>
<pre><code>#!/bin/bash
#===============================================================================
#
# FILE: mailsearch.sh
#
# USAGE: ./mailsearch.sh
#
# DESCRIPTION: search mail stuff
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Don Harper (), duck@duckland.org
# COMPANY: Don Harper
# VERSION: 1.0
# CREATED: 05/25/2009 07:03:30 PM CST
# REVISION: ---
#===============================================================================
rm -rf $HOME/Maildir/mfolder
echo " t::word
Match word in the To: header.
c::word
Match word in the Cc: header.
f::word
Match word in the From: header.
s::word
Match word in the Subject: header.
m::word
Match word in the Message-ID: header.
b::word
Match word in the message body.
d::[start-datespec]--[end-datespec]
Match messages with Date: headers lying in the specific range.
z::[low-size]--[high-size]
Match messages whose size lies in the specified range.
n::word
Match word occurring as the name of an attachment in the mes-
sage. Since attachment names are usually long, this option
F::flags
Match messages with particular flag settings.
s meaning seen,
r meaning replied
f meaning flags
prefixed by a - to negate its sense.
The a:: search pattern is an abbreviation for tcf:
Match words
The word argument to the search strings can take various forms.
~word
Match messages not containing the word.
word1,word2
This matches if both the words are matched in the specified message part.
word1/word2
This matches if either of the words are matched in the specified message part.
substring=
Match any word containing substring as a substring
substring=N
Match any word containing substring, allowing up to N errors in
the match. For example, if N is 1, a single error is allowed,
where an error can be
* a missing letter
* an extra letter
* a different letter.
^substring=
Match any word containing substring as a substring, with the
requirement that substring occurs at the beginning of the
matched word.
d::start-end
Specify both start and end explicitly
"
echo -n "Enter your search string: "
read string
mairix $string
mutt -f=mfolder
rm -rf $HOME/Maildir/mfolder
</code></pre>
<p>Then, I bound this to “S' from within mutt:</p>
<pre><code> macro index,pager S "!mailsearch\n"
</code></pre>
<p>This will give me a reminder of the search command, run the search, and then give me the search results in a new mutt session.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Search your email!
.. slug: 200905search-your-email
.. date: 2009/05/25 18:05:00
.. tags: cli,software,email,search
.. link:
.. description:

View file

@ -0,0 +1,27 @@
<html><body><h1>Making life easy over flaky links</h1>
<p>I tend to work over VPN, which we know can be flaky at times, Since I work on server, I spend a lot of time sshed into hosts. I was getting tired of the lost time having to restart what I was working on every time the VPN dropped (which could be as much as every 15 minutes on a bad day). While I already used screen to handle the lack of terminals (Alas, I am forced to use a Windows laptop to VPN in with), I thought there could be an easier way to do this.</p>
<p>The way I tend to work is that I ssh into a jump server, fire up screen, then ssh into the hosts I need to work on, and fire up screen on those hosts.</p>
<p>Now, this is nice, but it can get a bit tiring to do it all over
again. So, I found a tool called
<a href="http://www.harding.motd.ca/autossh/">autossh</a> which will automatically restart your ssh session if it drops for any reason but a graceful disconnect. (Well, there are others, but this is basically it). Combine this with your ssh-agent, and you can re-attach with easy. I also use <a href="http://www.funtoo.org/Keychain">keychain</a> to help manage my ssh-agent when I log in.</p>
<p>Now that the connection will come back, I need a way to re-attach to my screen session, or if there is not one, to start one for me. To do<br>
that, I have this is my .bashrc file:</p>
<pre><code>test -x $STY &amp;&amp; screen -xR
</code></pre>
<p>This will check to make sure that we are not already inside a screen session on the local host (<em>test -x $STY</em>), and if we are not, then either attach to an existing screen session or start a new one (<em>screen -xR</em>)</p>
<p>I have define this function in my .bashrc to spawn a new ssh connection in a separate screen window:</p>
<pre><code>function ss ()
{
screen -t $1 ssh $*
}
</code></pre>
<p>Easy stuff</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Making life easy over flaky links
.. slug: 200912making-life-easy-over-flaky-links
.. date: 2009/12/28 17:12:00
.. tags: cli,software,ssh,telecommute
.. link:
.. description:

View file

@ -0,0 +1,7 @@
<html><body><h1>cmus project restarted</h1>
<p>Just a quick note. The cmus project has been restarted recently, and they are working on a new release. This one should have better integration with things like PulseAudio.</p>
<p>Good news!</p>
<p>Go check out <a href="http://cmus.sourceforge.net/">http://cmus.sourceforge.net/</a> for more details.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: cmus project restarted
.. slug: 201002cmus-project-restarted
.. date: 2010/02/27 17:02:00
.. tags: cli,software,music
.. link:
.. description:

View file

@ -0,0 +1,29 @@
<html><body><h1>An Update to 'Window Managers?'</h1>
<p>Way back, I wrote a quick blurb on <a href="http://www.duckland.org/index.php/2006/07/31/window-managers/">Windows Managers</a> for running under X.</p>
<p>Well, a while back I switched to <a href="http://www.ubuntu.com">Ubuntu</a> for my OS of choice. As you may know, the fine folks at Ubuntu switch the default window manager to something called <strong>Unity</strong>, which cause a stir. I tried it for a while, but decided that it was too heavy, and to mouse-centric.</p>
<p>So, what to do? Well, I went back to my old standby <a href="http://wmfs.info">wmfs</a>, Window Manager From Scratch. This is a modern WM with systray support, full Ximirama and Xrandr support, tiles, and is mainly driven from the keyboard. Life is good.</p>
<p>To install (same steps as for Fedora, RHEL, or Ubuntu), download the source, and install the needed development libraries for: <strong>X11, Xft, freetype, Xinerama, Xrandr, and Imlib2</strong>. I used the native packages from the OS. Then, simple do a</p>
<pre><code>make
sudo make install
</code></pre>
<p>(you do build software as a normal user, right?)</p>
<p>This will install all the needed bits and configs into the correct place. Under Ubuntu 11.10, there was an entry from the login screen to let me chose wmfs.</p>
<p>Config is handled in <em>$HOME/.config/wmfs/wmfsrc</em> which you can copy from <em>/etc/xdg/wmfs/wmfsrc</em>.</p>
<p>The <a href="http://wmfs.info">wmfs website</a> has very nice documentation as well as likes to some peoples configs with screen shots.</p>
<p>It runs very fast, and very lean:</p>
<pre><code> Private + Shared = RAM used Program
3.9 MiB + 310.0 KiB = 4.2 MiB wmfs
</code></pre>
<p>Check it out, I am sure you will like what you see.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: An Update to 'Window Managers?'
.. slug: 201112an-update-to-window-managers
.. date: 2011/12/22 17:12:00
.. tags: cli,software,windowmanager
.. link:
.. description:

View file

@ -0,0 +1,10 @@
<html><body><p>So, I use <a href="http://rxvt.sf.net">rxvt</a> as my daily interface to my computers. I also use <a href="http://www.mutt.org">mutt</a> for my email reading pleasure. Sometimes, I get URLs in email and I want to read them in a browser. If I was using a GUI based mail reader, I would just click the URL to open it. Well, there is an easy way to set up rxvt to do that!</p>
<p>Using the fine <a href="http://wiki.archlinux.org">Arch Linux wiki</a> entry for <a href="https://wiki.archlinux.org/index.php/rxvt-unicode#Clickable_URLs">rxvt unicode</a>, the solution is quite easy. In the file <strong>~/.Xdefaults</strong>, add:</p>
<pre><code>URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 1
</code></pre>
<p>And either do a <strong>xrdb --merge ~/.Xdefaults</strong> or log out/log in. And start a new rxvt, and you are good to go.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Clickable URL links in rxvt
.. slug: 201311clickable-urls-links-in-rxvt
.. date: 2013/11/03 17:11:00
.. tags: software,sa
.. link:
.. description:

View file

@ -0,0 +1,9 @@
<html><body><p>I needed to write an iso image to a USB key, and the typical way is
with just dd(8), but I wanted a progress bar. A quick google later,
and I get:</p>
<pre><code>pv -tpreb isoname | sudo dd of=/dev/sdd bs=1024</code></pre>
<p>Which will write the iso image to the USB stick sdd, and give me a
progress bar, tell me how fast it is writing, and give me an eta when
finished. Perfect.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: dd(8) with progress
.. slug: 201311dd-with-progress
.. date: 2013/11/29 17:11:00
.. tags: sa,Unix,software
.. link:
.. description:

View file

@ -0,0 +1,5 @@
<html><body><p>Today is <a href="http://en.wikipedia.org/wiki/All_Saints%27_Day">All Saints Day</a>, so it seems natural to let duckland.org start new again.</p>
<p>As is popular in Hollywood, I have decided to reboot this web site after 6 1/2 years. I have not decided about the old content.</p>
<p>I am planning on using this as a technical notebook. <em>Shrug</em> I hope to make it worth while.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Rebooting duckland.org
.. slug: 201311rebooting-ducklandorg
.. date: 2013/10/31 18:10:00
.. tags: sitenews
.. link:
.. description:

View file

@ -0,0 +1,12 @@
<html><body><p>So, I am starting a new personal project at the house, and I need a new server. As I was wanting to learn more about the *BSD, I started looking around at things like <a href="http://www.freebsd.org">FreeBSD</a>, <a href="http://www.netBSD.org">NetBSD</a>, or <a href="http://www.openbsd.org">OpenBSD</a>.</p>
<p>Since there was a security part, I started with <strong>OpenBSD</strong>. One of
the things I noticed quickly while doing my research is that while
there is a lot of documentation, they do not really seem to care about
making it easy for new folks to join the project, nor are the trying
to support new-fangled hardware, like <a href="http://openbsd.7691.n7.nabble.com/bootable-OpenBSD-USB-stick-from-windows-td223393.html">bootable USB
drives</a>.
This strikes me odd, as FreeBSD has <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html">instructions (see
2.3.5)</a>.</p>
<p>Since I want to use pf, I am going to stay with OpenBSD for now.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Tale of Installs
.. slug: 201311tale-of-install
.. date: 2013/11/21 17:11:00
.. tags: sa,Unix,OpenBSD,FreeBSD
.. link:
.. description:

View file

@ -0,0 +1,9 @@
<html><body><p>I have not updated <a href="http://cli.donharper.org">cli.donharper.org - forget the
GUI</a> in a very long time, and I did have
some nice tricks and tips there, so I decided to bring it over here.</p>
<p>It is all tagged with
<a href="http://www.duckland.org/tag/cli" title="cli">cli</a>
for easy searching, plus I added a whole mess of other tags.</p>
<p>Enjoy.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: cli add
.. slug: 201401cli-added
.. date: 2014/01/25 17:01:00
.. tags: sitenews
.. link:
.. description:

View file

@ -0,0 +1,3 @@
<html><body><p>Well, as I <a href="http://www.duckland.org/archive/2013/11/Tale_of_Installs.html">mentioned</a>, I was trying to install OpenBSD. Well, my main workstation died, so I have to re-purposed the OpenBSD box as my workstation running <a href="http://www.archlinux.org">ArchLinux</a>. I am hunting for a suitable replacement.</p>
<p>Oh, and Happy New Year!</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Tale of Installs, Part 2
.. slug: 201401tale-of-install-2
.. date: 2014/01/08 17:01:00
.. tags: sa,Unix,OpenBSD,FreeBSD
.. link:
.. description:

14
posts/201402travels.html Normal file
View file

@ -0,0 +1,14 @@
<html><body><p>Found this site, and since I had someone ask, I thought I would share.</p>
<div style="width:550px; position: relative;">
<object width="550" height="293" type="application/x-shockwave-flash" data="http://static.travbuddy.com/flash/countries_map.swf?id=6299186" height="293" width="550">
<param name="movie" value="http://static.travbuddy.com/flash/countries_map.swf?id=6299186" />
<param name="quality" value="high" /><param name="bgcolor" value="#372060" />
<embed src="http://static.travbuddy.com/flash/countries_map.swf?id=6299186" quality="high" bgcolor="#372060" width="550" height="293" type="application/x-shockwave-flash"></embed>
</object>
<div style="background-color: #38235b; padding: 5px 0px 5px 0px; text-align: center; width: 549px; border-left: 1px solid #372060; font-size: 11px; color: #EEE; line-height: 1.4em;">
<a style="font-size: 14px; color: #FFBF42" href="http://www.travbuddy.com/travel-widgets"><strong>Create your own travel map</strong></a> - <a style="font-size: 14px; color: #FFBF42" href="http://www.travbuddy.com"><strong>TravBuddy</strong></a><br/>
</div>
</div>

6
posts/201402travels.meta Normal file
View file

@ -0,0 +1,6 @@
.. title: My Travel Map
.. slug: 201402travels
.. date: 2014/02/23 17:02:00
.. tags: personal,travel
.. link:
.. description:

View file

@ -0,0 +1,45 @@
<html><body><p>So, a long time ago, I had a box which was running FreeBSD 4, running
on a Pentium. This housed my public server, website, and mail server.
After I while, I had to rebuild it, and went back to Linux.</p>
<p>14 years later, I have decided to get back into FreeBSD, now at
FreeBSD 10. I have it running headless on two boxes, and I have
decided to take the '30 Day Challenge'. You know, all the bloggers
tell you to try something for 30 days before you give up on it.</p>
<p>I am going to try to give FreeBSD a go as my daily driver for 30 (or
so) days. I cannot do this full time, as I so Linux support in my day
job, so I cannot change over the work laptop (yet). I have installed
<a href="http://www.pcbsd.org" title="PCBSD">PCBSD10</a> on one of my spare laptops. Why PCBSD and not pure
FreeBSD? Well, I do not know enough yet to get past UEFI boot and the
NVidia/Intel dual graphics, so I cheated. I imagine that I before
the end, I will either reload this laptop or start from scratch on my
current daily personal driver.</p>
<p>So, most of my cli tools came over very cleanly, with the exception of
abook. On Linux, I track the git repo, and the version in the
ports tree is a bit older, so I will need to either compile it from
git, or change my config to use the older version. But the rest,
mutt, tmux, newsbeauter, irssi, and such, all work out of the box.</p>
<p>In the X department, PCBSD has my current favorite window-manager, i3,
so that is all good. The only issue I hit is the version of firefox
in the PCBSD port tree is broken, and I am going to stay away from the
PBI as much as I can. I feel that PBI are too much like installing
something under windows, i.e. install the app, and all the libraries
it needs to run. In my option, a waste of space, and un-patched
libraries on my system. Thank you, I will pass. I ended up enabling
the normal FreeBSD ports tree to install it.</p>
<p>I have ported most of my custom scripts over. Most of the work is in
the fact that bash lives somewhere different (/usr/local/bin vs /bin).
There are a few commands either missing or I have not installed them
yet, and a couple of core commands have very different syntax.</p>
<p>I figure for most of what I do, this will be very easy to switch over,
but the main area I am unsure of at this point is in photo editing and
photo management. I use a commercial Linux package, and I will need
to figure out how to make it work under the Linux compatibility layer.</p>
<p>I do not promise daily updates, but I will try to keep a journal of my
progress.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Back to FreeBSD aka Day 1
.. slug: 201403back-to-freebsd-aka-day-1
.. date: 2014/03/12 04:03:05
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,13 @@
<html><body><p>Half-way point.</p>
<p>Much progress made in the world of a bootable USB stick to get my new-fangled WiFi chip working. I was able to make a new image, wrote it to a new USB stick, booted it, and was able to successfully scan for my Access Points! W00t!</p>
<p>Tomorrow, I will take the second laptop (HP EliteBook Revolve 810), and load it with 10-Release (slightly patched). I do not expect everything to work (it has a touch screen), but enough should work that I can start using it for the daily driver. Having real wifi will help a lot.</p>
<p>My updates have been a bit slow due to craziness at work. I am taking a trip, and the departure date has been reset many times. I am on my 5th set of airline tickets. With things settled, I need to decide if I am going to bring the second laptop (the R180) with me or not. Weight issues and all.</p>
<p>How do I think this is going? Well, the two major issues I thought I would have going in, WiFi and Photo editing/management, are for the most part solved. Can I use this for my daily non-work driver? Yes. Can I use it for my work daily driver? Maybe. I have set up a few jails on the FreeNAS box (btsync, dns/dhcp, <a href="http://taskwarrior.org/docs/server_setup.html">taskwarrior's taskd</a>, and Plex), and they are mainly working well together (the Plex will not play nice with btsync, yet), but I need to figure out a bit more, and set it up as a target to backup my laptop's ZFS snapshots.</p>
<p>Next steps are to find those performance monitoring tools/docs, and to look at something like puppet/chef/salt.</p>
<p>Thanks for reading....</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 12-15
.. slug: 201403freebsd-challenge-day-12-15
.. date: 2014/03/27 05:03:20
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,5 @@
<html><body><p>Busy day with other things than play computers, but I found a little time. I have FreeBSD 10-STABLE loaded with the custom WiFi hack on my <a href="http://notebookplanet.blogspot.com/2013/04/hp-elitebook-revolve-810-g1-tablet.html">Elitebook Revolve 810</a>. I would have to let it try to boot off the USB stick. After multiple tries, it would finally run the installer. I tried ZFS a few times, but if I did not select MBR format for the partition table, then it would not boot (no OS error). With MBR and ZFS, it would fail to mount the ZFS filesystem with <strong>error 2</strong>. After trying the various fixes listed on-line, I gave up and went with MBR and UFS.</p>
<p>Once installed, it was fairly easy to get going. I have not configured it to take on the role of daily driver yet. If I have time tomorrow, then I will do it then, otherwise, it will have to wait a bit as I am getting on a plane this weekend, and I will not have room for the second computer. I will try to get it as far as I can with ssh.</p>
<p>The neat thing I found based on <a href="http://lists.freebsd.org/pipermail/freebsd-questions/2005-April/083317.html">this email post from 2005</a> and <a href="http://www.freebsdonline.com/content/view/829/524/">this blog post</a> is that I can have a fancy screensaver at the console! Pretty rad. :) Next steps will be improving the screen resolution in text-mode.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 16
.. slug: 201403freebsd-challenge-day-16
.. date: 2014/03/29 05:03:18
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,7 @@
<html><body><p>Just a quick update. Yesterday, I got abook working. Kind of a hack, though. I used gcc to compile it, vs. clang. I will have to revisit this and offer up some patches to the abook project.</p>
<p>I have also been playing with <strong>x11/xpra</strong> which bills itself as 'screen for X11'. That, combined with <strong><a href="https://github.com/apenwarr/sshuttle">sshuttle</a></strong>, lets me get in from work and do some work during lunch. It may also give me a tempory way to use <strong><a href="http://www.corel.com/corel/product/index.jsp?pid=prod4670071&amp;cid=catalog20038&amp;segid=6000006">AfterShotPro</a></strong> until I get the whole Linux compatability layer thing figured out.</p>
<p>Next up is learing how to use <em>ports(7)</em> working to be able to install <strong>10-STABLE</strong> while the host is <strong>10-RELEASE</strong>.</p>
<p>Yes, my issues are not normal. :)</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 2
.. slug: 201403freebsd-challenge-day-2
.. date: 2014/03/13 20:03:36
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1 @@
<html><body><p>No major work on the laptop today because I set up a FreeNAS box. I was able to get 4 x 3T drives, and set it up. Pretty easy. I am now busy moving my media over to it.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 3
.. slug: 201403freebsd-challenge-day-3
.. date: 2014/03/14 05:03:44
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,7 @@
<html><body><p>Sorry...busy time at work and with the family.</p>
<p>Small updates: I have the external VGA dongle working. No config needed, just plug it in and it works. I really need to fix the WiFi so I can stop using the USB dongle on it. Also, I have updated mutt to 1.5.23, and that upgrade went smoothly. Since I am not using the default build, it was a matter of <em>portsnap fetch &amp;&amp; portsnap update &amp;&amp; cd /usr/ports/mail/mutt &amp;&amp; pkg remove mutt &amp;&amp; make install clean</em> and all is good!</p>
<p>My biggest update is that I got AfterShotPro working! It as a simple as reading the pages in the <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-install.html">manual</a>, and changing the path to bash in the launcher script, and all is good! I should really look into what it takes to make a port so when I set up the next few computers, I will not have to do this by hand again.</p>
<p>Next thing to figure out is how to get the sound to come out of my headphones instead of the the speakers. Since I did not have to do anything to get sound, I figure this is just a bit of RTFM'ing on my part.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 4-6
.. slug: 201403freebsd-challenge-day-4-6
.. date: 2014/03/16 18:03:20
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,5 @@
<html><body><p>AKA Fight with Thunderbird and Lightning.</p>
<p>I broke down and installed a PBI for now. I could not get Lightning, the calendaring AddOn for Thunderbird to work using the native FreeBSD pkg or the linux-thunderbird one. The linux-thunderbird package actually refused to start for me. I need to go figure out how to generate a PR.</p>
<p>The other thing I am playing with is building a memstick image after patching the kernel using this <a href="https://forums.freebsd.org/viewtopic.php?t=35467">post</a> in the FreeBSD Forums. This is for the <strong>Intel Centrino Advanced-N 6235 WiFi Driver</strong> which I have in all my laptops. The data wants to be free! from wires. Since it is chunking away, I will test tomorrow.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 7
.. slug: 201403freebsd-challenge-day-7
.. date: 2014/03/18 04:03:04
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,5 @@
<html><body><p>Again, work is dragging, so not much to update.</p>
<p>I have install btsync and I am now syncing home dirs between the laptop, desktop, and the FreeNAS.</p>
<p>My attempt to build a custom kernel to deal with the new WiFi was mixed. I was able to build the kernel and world just fine and it made a USB image for me. But, it would not boot...I do need to figure out how to debug this. :)</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 8
.. slug: 201403freebsd-challenge-day-8
.. date: 2014/03/19 18:03:12
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,9 @@
<html><body><p>Ah, life with kids...not enough spare time with soccer and volleyball practices and games.</p>
<p>Things are going well. Found a few more small utilities that I use under Linux and added them via pkgng, and all is good.</p>
<p>Next up: system debugging. The system will slow down at random points, so I need to go find a good performance debug guide. The only thing changed was I imported my music library (~60G), but my drive is still plenty empty (~37% used), so I do not think it is ZFS, but I am not sure.</p>
<p>The other is the custom boot stick I made does not work. The initial loader will start, but then it stops. So, I need to find the docs on the boot process there.</p>
<p>Oh, and welcome to all the folks from <a href="http://bsdnow.tv">BSDNow</a>, which is an awesome video/audio podcast on all things BSD.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 9-11
.. slug: 201403freebsd-challenge-day-9-11
.. date: 2014/03/22 17:03:03
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,3 @@
<html><body><p>Still not going with a database on the back-end, but this one has a cool real-time visualization editor.</p>
<p>It is called <a href="http://www.htmly.com/" title="HTMLy">HTMLy</a>. This should let me update this a bit more. But, I have said that before.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: New CMS (Again)
.. slug: 201403new-cms-again
.. date: 2014/03/06 05:03:27
.. tags: sitenews
.. link:
.. description:

View file

@ -0,0 +1,5 @@
<html><body><p>Today, I got my new laptop <strong><em>dragon</em></strong> up on wireless with a little <a href="http://www.amazon.com/gp/product/B003MTTJOY/ref=ox_sc_act_title_1?ie=UTF8&amp;psc=1&amp;smid=A2N1S6D8VVCNZ3">Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter</a>. Now, setup begins in ernest. I have disabled the on-board wireless NIC in the BIOS, and started to set up shop on it.</p>
<p>Next major task. Configure X. :)</p>
<p>d</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Day 17
.. slug: 201404freebsd-challenge-day-17
.. date: 2014/04/17 04:04:52
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,21 @@
<html><body><p>Well,
Something broke on the main computer. The speed when trying to run
a few terminal apps, firefox, and thunderbird at the same time was
appalling. I never had that sort of performance issues under
ArchLinix on the same kit. I would love to take the time to debug it,
but I am almost four weeks behind in dealing with my photos, including
those from my trip to England, and I am getting ready to do run some
training courses for work which will suck up all my free time.</p>
<p>I am re-installing Arch on the two laptops. I should have restored
working configs in a day or two, and then I can start working on my
backlog of photo and other projects.</p>
<p>Also, since my laptops are not supported under 10-RELEASE, I want to
wait until 10.1 to see if my WLAN NICs are supported.</p>
<p>I still need to rebuild my server which has a failing drive (backed up
the data already, just need time). I may go ahead and put 10-RELEASE
on it since the NICs are fully supported.</p>
<p>d</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge final (for now)
.. slug: 201404freebsd-challenge-final-for-now
.. date: 2014/04/22 22:04:17
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,6 @@
<html><body><p>Hey,
Sorry about the lack of updates over the last two weeks, but my job sent me out of country for two weeks, and I had no time to work on this project. Once I unbury myself, I will return to this with a vengence. I am planning on <em>upgrading</em> my two servers to FreeBSD10 from Linux. One will involve a major disk reworking as one of the disks is about dead.</p>
<p>Stay tuned, and thanks for coming back!</p>
<p>d</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: FreeBSD Challenge, Update
.. slug: 201404freebsd-challenge-update
.. date: 2014/04/15 16:04:26
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,6 @@
<html><body><p><img alt="On The Road Again" src="http://img.duckland.org/2014-05/StartMexico.jpg">
The reason I was busy at work is that I was getting ready for two different trips to conduct three different training courses.</p>
<p>Last week I was down in Mexico City to present some training to folks from Latin and Central America on one of our new products. Next month, I head off to Lost Wages, er, Las Vegas, for our major conference and two different training courses, while supporting a third.</p>
<p>That, and the fact the two oldest kids are in swim team right now, free time has drop to null.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: On the Road Again
.. slug: 201405on-the-road-again
.. date: 2014/05/20 12:05:59
.. tags: travel,photo
.. link:
.. description:

View file

@ -0,0 +1,11 @@
<html><body><p>So, I had a bit of time over the weekend, and spent it doing a bit of hacking around.</p>
<p>I had re-installed <a href="http://www.pcbsd.org">PC-BSD</a> on my HP EliteBook R810. I used 10.0.2, and everything but the wireless looked good. I decided to try to get the wireless working with the internal WNIC. <a href="http://www.duckland.org/2014/04/freebsd-challenge,-day-17">Previously</a>, I used an external dongle to get WiFi working, but it was a pain to remember to pull it out, so I decided to try again.</p>
<p>I updated the base OS to 10-CURRENT, and then 'patched' the source tree using the info I found <a href="https://forums.freebsd.org/viewtopic.php?t=35467">in this forum post</a>. Once I rebooted, and used the PC-BSD tools to enable the device, things worked! Since this was only last night, I need to test it a bit to make sure it stands up to load.</p>
<p>There is a <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=169433">PR</a>, and support <strong>has</strong> been added to HEAD. I am going try to write a patch to get this added before then. I will need to see if I can figure out how to do that. :)</p>
<p>Since my work laptop uses the same WNIC, I am one step closer to being able to install it on the work machine.</p>
<p>I am going to see about trying to use <strong><em>dragon</em></strong> as my non-work daily driver and shake out what I need to do, so I may be restarting the <a href="http://www.duckland.org/tag/30DayChallenge">30 Day Challenge</a> again, but a lot of that depends on how work goes.</p></body></html>

View file

@ -0,0 +1,6 @@
.. title: Back to FreeBSD (maybe back to the challenge)
.. slug: 201406back-to-freebsd-maybe-back-to-the-challenge
.. date: 2014/06/30 15:06:09
.. tags: FreeBSD,sa,30DayChallenge
.. link:
.. description:

View file

@ -0,0 +1,10 @@
<html><body><p><img alt="View in front of The Venetian" src="http://img.duckland.org/2014-06/20140607094949.JPG">
I am back from Las Vegas for a trade show for work. The hardest part was two and a half days of setting up an isolated network for some hands on training.</p>
<p>The training went very well, and I got some good feedback from the students. By the last session, all the kinks were worked out of the training, and the students were able to explore a bit more than planned, but that was okay.</p>
<p><img alt="Gondolas waiting at The Venetian" src="http://img.duckland.org/2014-06/20140607095037.JPG"></p>
<p>The major downside is that I did not have much time but one day for a quick walk around where I was staying at The Venetian to take some photos. It is a shame, as there are lots of really cool visuals around the strip and in the area of Las Vegas. Maybe next time.</p>
<p><img alt="Bell Tower and The Moon at The Ventian" src="http://img.duckland.org/2014-06/20140607234122.JPG"></p></body></html>

Some files were not shown because too many files have changed in this diff Show more