Hitler rant from Downfall

t34

As you know, a number of people have set alternative words to the scene in Downfall where his Generals tell him that there are no more soldiers between the Red Army and Berlin. I am particularly taken with this one which explores the funding of the UK Police and has clearly been written by someone who knows a lot about it and feels very strongly. There’s also some swearing. It seems now that there is a web service/site that will build one for you from text. I must give it a go. Continue reading “Hitler rant from Downfall”

Raspberry Pi

I bought a Raspberry Pi to act as a Media Server in the home. I bought a PI, case, SD card and power source. As ever here are my notes. Currently, getting started (or 1st boot), 1st customisations, and early days with the media browsers and XBMC/Kodi. I have BBC, ITV and YouTube working, Channel 4 is going to be very hard and so is Sky, since among other things since Silverlight is deprecated. I have given up, and bought a Roku stick. In addition to the challenges of getting all the channels I want, even v3 of the Pi struggles with iplayer HD; it might be the CPU, it might be the BT broadband plus speed but it’s too hard. I shall reconstruct the page and use comments, as one of the purposes of making a notes page was collecting the various web pages that helped me get to wherever I got. Continue reading “Raspberry Pi”

Docker

About Docker, looks awesome. Easy to create bootable, runnable images, easy to deploy because the global hub site is a crucial part of the proposition. The free usage of the hub, encourages the publication and sharing of images which are then imported over the internet. Originally written the summer of 2015, and revised in the Summer of 2016

Continue reading “Docker”

Related Posts Plugin

I have been using the Related Posts plugin by Sovrn Zemanta. At some time, WordPress deprecated this and one of the webservice providers “Zemanta” withdrew/failed or something … this led me to consider how to replace it as I very much like the feature, although given the low readership, I wonder how many others than me find it so. Continue reading “Related Posts Plugin”

Ubuntu 13.10

I am installing this on the Mac under Virtual Box. This snip is about Ubuntu.

The first problem is that it comes with quite a bit of crap installed and the Unity search is over zealous and too network noisy.

This might be helpful, an article about the first 10 things to do. I seem to have a problem with finding the dash plugins to stop the internet searches. This needs to be tuned.

I want to configure the software package manager to check daily.

I have installed Unity Tweaks.

I have turned the virtual desktop manager on.

I have uninstalled Ubuntu One.

Pop Up Meerkats

For various reasons I wanted to make a pop-up on hover using a picture. I found the following URL,

Here’s the CSS code

<STYLE>
  a.imPop       { position:relative; z-index:20; }
  a.imPop:hover { display:inline; z-index:30;}
  a.imPop span  {display:none;}

  a.imPop:hover span { display:block; position:absolute; 
                       top:1em; left:1em;
                       width:64px; height:64px;}
</STYLE>

Here’s the picture, we plan to use,

Here’s the HTML,

<a title="sample" href="http://davelevy.info/images/wiki/ao.png">Meerkat
<span><img alt="ao" src="http://davelevy.info/images/wiki/ao-w200.png" border="0" /></span></a>

The span tags are crucial and one needs to be careful about how wordpress deals with tags. The HTML can be implemented using the HTML add in, Code Embed or writing it natively using wordpress’s text editor.

ooOOOoo

To see the pop up picture effect, hover over the word, Meerkatao, the picture should pop up

XSLT

As the discussion on Snipsnap to WordPress implies, I am having another look at using XSLT to convert my old snipsnap dump to WRX.

Links

and an article at stackoverflow, which includes a book list.

Making from source

I decided to remake my copy of xslt on davelevy.info. I got instructions from http://www.sagehill.net/docbookxsl/InstallingAProcessor.html

I got the sources from http://xmlsoft.org/sources/

Currently,

  1. http://xmlsoft.org/sources/libxml2-2.7.2.tar.gz
  2. http://xmlsoft.org/sources/libxslt-1.1.20.tar.gz

Then run configure && make, see below because I I do not have root privilidge

$ ./configure --prefix=$HOME/xslt

 

EXIF and MacOS X

I have listened to Stop 43, and the British Journal of Photography I have read what Tim Bray has to say and decided I may need to ensure that my picture’s EXIF data is accurate.

You can’t give away what you don’t own, and it seems you need to assert ownership of pictures. The way to do that is via image meta data, known as EXIF.

I plan to use reveal.app on MacOS X 10.5, which has its home here.

WordPress Themes at davelevy.info

I am basing my newer themes on zBench. This page talks about customisations I have undertaken or am in the process of implementing. It includes stuff about header images, the front page, (mainly full articles vs. snippets) and favicons.

Header Images

The theme editor panel allows one to assign an image file to the header. Since this was one of the motives for moving the blog to wordpress, I really should get on with it.

Front Page

The default front-page is implemented using index.php.

For the wiki, I should make a new front page, maybe, this page at themelab explains how to do this simply.

This article Corporate Blogs: Front Page Structure, recommends the use of summaries on the front page, as opposed to the full articles. During July, I wrote some exceptionally long articles, and published them out of order  which really made finding content really hard, and even following the story hard.

This wiki also uses the read more  features of WordPress. I researched this, with help at the wordpress community forums, I started a thread called, use of Insert More with zbench, which discuss the use of ‘insert break’ button and the dashboard settings. This page at the wordpress codex, called, Customizing the Read More explains how to use the read more features.

In October 2013, I decided to revise the Read More functionality, I installed the advanced-excerpt plugin in order to have some say on length of the the excerpt. This gives some issues around the hypertext link and decoration for the hypertext link. The rendering of the &raquo; symbol varies, and for the default look in zbench it is managed via a css class rule which is quite pretty.

I also installed the featured picture widget and set up a CSS rule to force the pictures to aligh left.

I decided to emulate the comments page by having horizontal lists detailing the catagories and tags for each entry.

I get them using the following functions,

<!--- entry customisation code by dfl  16 Oct 2013 --->
 <div>
   <span class="post-info-bottom">
   <span class="post-info-category">
       <?php echo get_the_category_list(','); ?>
   </span></span>
   <span class="post-info-tags"><?php echo get_the_tag_list(' ',', '); ?></span>
 </div>

The post-info-* classes are part of zbench, the use of get_the_category_list realises a class called .post-categories. I have defined the following CSS rule

    .post-categories ul li {list-style-type: none; display: inline; }

which makes the category list behave properly.

Fav Icons

I have used the HTML editor in the dashboard to insert the favicon code lines. I used this page, http://is.gd/SHiZED as a guide which also points at a favicon maker.

Snipsnap to WordPress

I plan to look at moving my snipsnap bliki to wordpress, i.e, here. This snip was originally placed on that site. I have transferred it for one reason because it contains xml tags which xslt has problems dealing with. This article consists of my notes made while designing a transfer mechanism.

Continue reading “Snipsnap to WordPress”