Sat 06 April 2013

Filed under Blogs

Tags Cool Geek

Up To

Where do I begin with this migration? I have been disgusted with Typo for a while. It has required more and more resources and tweaking. It is never as simple as I wish it was, from the operations side. My friend Cliff keeps developing his own stuff, but he does not share, and it's non-trivial to get it out of him. Wordpress is PHP, and I will never willingly use PHP again.


I continue to gripe, when Passenger suddenly consumes >2GB of RAM or does one of it's famous crashing-tricks. If I enjoyed Ruby or Rails, I think I might try to fix my problems, but ultimately, I just want them to go away. So, Pacopablo mentioned Pelican. It seemed decent enough. Though simple, it required a completely different approach. I spent a deal of time figuring out the basics, but the most important fact is the support for Wordpress XML files. There is a tool Pelican Import which lends itself neatly to my problem.

Real Requirements

I have one: publishable. After that is convenience/interface, etc. After that is feedback. If we need to speak, let's do it on Google Plus. I have slowly been purging the blog-feedback anyway. It's just a place for drug-sites to recommend dubious warez.

Migration Concerns

First, I went to obtain some help in exporting from Typo to a Wordpress XML format. Competo has a nice article which is summed here. Get the files, copy them into the directories as instructed, and off you go. Run your rake commands and life will get easier. I used essentially exactly his steps, but I punted on the tags file. There were literally so many tags that I couldn't even start to trim it, so I deleted them all.


Once I got the file, I followed the import instructions at Pelican and started the porting. reStructuredText is neither here nor there. It is a complete system with rough edges and wide use. It's perfect for this. Pelican-Import mostly handled it, I just needed come cleanup.

Major errors:

  • UTC-tag on the XML data caused errors.
  • tags came across as categories (I was not able to find a canned way to fix this.)
  • all my <pre> block formatting was a wreck.

Sed Work

# kill UTC mention
sed -i foo 's:UTC<:<:g' *rst
# rename categories to tags
sed -i foo "s/^:category:/:tags:/g" *rst
# fixup my old <pre class=code> adaptions
sed -i -f "s:code\:\::code-block\:\::g" *rst
# change the name which ended up on the historic posts.
sed -i -f "s:menion<:Joshua<:g" blog2.xml

Pre-Formatting Errors

There were no good ways, so I ran a grep to locate them, and opened them in emacs. Then I fixed all the 53 broken files manually.

emacs -nw `grep -l 'code::' *`

Images

The original paths were retained, so I created an images directory names /files and I copied everything there from the old Typo folder. It worked on my first try.

Conclusion

One-hundred and twenty-three articles consumed approximately 4 hours, including a script in python to allow me to edit/generate categories. The script would be better in awk or something, but I know how to write Python without using manpages or research.

Trouble

My effing SVN server will not import the restructured text. I get lambasted with errors. I will have to sort this out, or migrate to Git.... but I am DONE with upgrading anything today.

Comment

Sat 06 April 2013

Filed under Backup

Tags Cool Geek

Up To

This is very swift. Just a quick note to point out my Veeam/Eonnas work over at Ashbyte. I wrote a small piece on my solution.

Read More

Sun 16 October 2011

Filed under OS

Tags CompassionNeeded Geek Lamer Moments

I wanted to install OSX Lion on my new hard disk. I moved my old drive to an external enclosure, and booted with Command+R to load the recovery console. I formatted the disk and then went to "Install".

After about thirty minutes, the time still said "5 hours, 16 ...

Read More

Thu 06 October 2011

Filed under Misc

Tags Cool Geek

Just a quick blub on my Ashbyte.com page about the setup. Nothing special.

Samba Media Mounts

Read More

Sat 01 October 2011

Filed under Email

Tags Cool Geek Security

Relaying with Postfix, SASL, Authentication and TLS

Create All The Files!

/etc/postfix/sasl/saslpass

mail.myserver.com relayuser:my password with spaces


/etc/postfix/tls_policy

[mail.myserver.com]:587 encrypt protocols=TLSv1 ciphers=high
[mail.myserver.com]:msa encrypt protocols=TLSv1 ciphers=high
[mail.myserver.com]:submission encrypt protocols ...

Read More

Wed 22 September 2010

Filed under Email

Tags Geek Lamer Moments

Zimbra Management

Read This Fine Article - it tells you how, almost. I didn't find it that great. It tells you what to do but lends no guidance as to how to fix brokenness.

Changing the name

Ultimately, I got a message which many people have seen:

Unable to contact ...

Read More

Wed 04 August 2010

Filed under Email

Tags Cool Geek Lamer Moments

My Problems

Since all of you, like me, use Gmail - Having abandoned dignity and surrendered and amazing amount of personal information to the matrix - you will likely need to search. Sometimes the searches are harder than others. For instance, eventually you want to search for mail from "chuck.dare@nasa ...

Read More

Fri 11 December 2009

Filed under Email

Tags Geek Security

A New Client

A client turned up our first full-time Mail.app Mac user with Snow Leopard today. I was called in because of attachment sending problems. It seems that files around 7MB would attach and send, but anything larger was failing. The entrenched support reported watching logs, etc. IIS ...

Read More

Tue 08 September 2009

Filed under OS

Tags Cool Geek

Lesser Apps

Applications are like work habits or practices or anything else in life. The ones you have seem like the best when you find them. I have discovered - over and over - that my own desire for excellence is easily pleased but never satisfied. The darker side of this ambition ...

Read More

Wed 02 September 2009

Filed under OS

Tags Cool Geek

I have to say something

The most annoying feature to geek-users of Safari is the practice of uncompressing downloaded .gz files. I find the whole auto-unzip generally useful. It's a problem whenever I do things like downloading the latest pfSense. I need the original compressed tarball. It has a ...

Read More

Tue 12 May 2009

Filed under OS

Tags Geek Obvious

I have a client with a 17" MacBookPro "MBP", and he one day begin experiencing a login/bootup problem. Another client in the same network hit one of those annoying OpenDirectory login expirations which locked him entirely out of his laptop. (APPLE FAIL). It was the same day, the same ...

Read More

Mon 23 February 2009

Filed under OS

Tags Geek Obvious Retarded

Read any post you like. Read any _place_ you like. In 1994 it was "NTFS doesn't fragment by design, it never fragments". In the later 90's it was "ext3" or some other filesystem "doesn't fragment". Later, starting in 2000 - OS X doesn't fragment.

Windows

It started ...

Read More

Mon 01 December 2008

Filed under OS

Tags Geek Lamer Moments

MacOSX Strives to be more rigthteous than the next bloke:

Dec  1 20:38:22 xXxMac SyncServer[2205]: SyncServer: Truth vacuumed.
Next vacuum date 2008-12-15 20:38:21 -0800

Wah-Hoo

Read More

Wed 30 July 2008

Filed under Howto

Tags Cool Geek

OpenVZ can have various heinous problems with udev. Most often, you cannot enter the VZ from the admin, and you cannot connnect via SSH.

beast / # vzenter 51enter into VE 51 failed
Unable to open pty: No such file or directory

In Fedora you can make a simple change to /etc ...

Read More

Mon 19 May 2008

Filed under Politics

Tags Geek

Most people think that bash.org is just a collection of useless quotes. IRC is a seething underbelly of stupidity and intellectual mayhem. However, it appears that that the vacant stares actually assist in the discovery of blinding insights.

Read More

Thu 01 May 2008

Filed under Politics

Tags Geek Lamer Moments Obvious Retarded Secret Messages

Why is it that normal people don't run more successful projects? See this ticket regarding Paludis. Paludis is a C++ replacement for Portage. Portage is a squirrels nest and even though the ebuild system is pretty nice, portage itself is pretty lame.

Disclosure

In the interest of fairness, I ...

Read More

Fri 22 February 2008

Filed under Backup

Tags Cool Geek

In order to get Ahsay working behind and SSL proxy which passes traffic to port 80, you have to modify your conf/server.xml and set a few settings on ol' Nginx.

Add to your server.xml, non-SSL connector declaration

scheme="https" secure="false" proxyPort="443" redirectPort="443"

nginx config ...

Read More

Tue 30 October 2007

Filed under Politics

Tags Cool Geek

Cliff Wells asks a question that plagues most of us - sooner or later. What does it mean to be Enterprise Ready?

Read More

Fri 12 October 2007

Filed under Sec.

Tags Geek Lamer Moments

There are a number of articles on removing Symantec AntiVirus silently. There is a link to thread on avoiding MSI uninstall reboots. There are good suggestions and some bad. Mostly it's simple. Cleaning up SAV w/o a prompt, password, or user-required action is a little non-trivial.

Someone else ...

Read More

Wed 10 October 2007

Filed under Howto

Tags Geek Lamer Moments

... or how to share folders from Windows 2003 with Macs via AFP/MacFile/File Services for Machintosh

I don't know what I missed, but this is the one type of sharing that requires using Computer Management.

Right-Click My Computer, Click Manage. Click on Shared Folders. From there you can ...

Read More

Tue 09 October 2007

Filed under Misc

Tags Cool Geek

I have a Novatel EX720 Merlin EV-DO RevA PC-Express wireless card. It is actually a USB device that attaches via the PC slot. I use it with my MacBook Pro. When I purchased it, activation was unavailable from OS X. However, I was able to activate using Parallels. I booted ...

Read More

Fri 07 September 2007

Filed under Misc

Tags Cool Geek

There is a far and wide search for media players under linux is difficult. Cliff found Exaile, something that people have been raving about since January. Give it a try. It's Cliff's flavor of the week.

Read More

Tue 28 August 2007

Filed under Sec.

Tags Cool Geek

I found a neat recipe for forwarding TCP ports under python. It's so short and succinct that I had to post about it. Also, I may never find it again.

ASPN Recipe

Read More

Sun 11 February 2007

Filed under Howto

Tags Cool Geek

I wrote a little blurb on my experience converting from Tapes to MP3s.Cassette Tapes to MP3 and CD

Read More

Mon 18 September 2006

Filed under Howto

Tags Geek

Cliff Wells is up to Good Stuff (tm). There is now the Code Mongers wiki to help translate it into other languages.

Read More

Wed 23 August 2006

Filed under Email

Tags Geek Security

Everyone wants to know what to do with Postfix. I have tried to find a way to publish something. Everyone who does seems to always be out of date.

Not so for this guy or that guy.

Read More

Tue 21 March 2006

Filed under Howto

Tags Cool Geek

I never ran the preleases, but I was hot to trot as soon as Gnome 2.14 was released. I was like a kid in a candy store. I have never run forward with such reckless abandon, but if FC5 can do it, Gentoo can do it. Seeing cool articles ...

Read More

Thu 12 January 2006

Filed under Blogs

Tags Cool Geek

TurboGears(TG) is a love it or hate it web

framework. People who are merely lukewarm and in serious denial. IAMAGP

[I am not a good programmer]. In fact, some people would say that I am a system

administrator. Whatever that means, it doesn't frighten me. Turbostan is new ...

Read More

Sat 17 December 2005

Filed under Misc

Tags Geek

Ha! Linked from Fark This is priceless. For me, it is equally cool and retarded. That makes it 'Geek'.


Elvish Howto

Read More

Up To Something © Joshua M Schmidlkofer Powered by Pelican and Twitter Bootstrap. Icons by Font Awesome and Font Awesome More