April 22, 2011

Typo3 routing

Filed under: Typo3,Webdevelopment — Schlagwörter: — paddy @ 12:02 am

You are creating a site with typo3? You have no intention to have multiple domains even in future? You have no intention of using extensions? Just use the core extension SimulateStaticDocuments and enable it in your typoscript template with:

config.simulateStaticDocuments = 1

It works fine.
But seriously you do not want to do that!

RealUrl

The standard configuration is just as simple as I describe it on my site.
Now do not be silly to expect it to take over the routes of your self made extension. Extensions like tt_news have documentation how to configure RealUrl properly.
If an extension has no preparation for the routes with RealUrl it is just a shit extension do not blame Typo3 for this.

März 19, 2011

Typo3 URI problem

Filed under: Webdevelopment — Schlagwörter: — paddy @ 10:09 pm

What is the synopsis?
I used mc_googlesitemap (version 0.4.2; which seemed buggy). Google Webmaster Tools accepted the URI in the sitemap. I quick fixed the problem in the extension mc_googlesitemap (URI still persists in google site search).

Read the full post »

Januar 21, 2011

Prejudices and the Chaos Computer Club

Filed under: Hacking — Schlagwörter: — paddy @ 1:52 am

by Christian Hotz-Behofsits

Weblinks
  • http://unipult.at/projekte/kunstvolle-vorurteile/

Dezember 18, 2010

Julian Assange

Filed under: Hacking,Moral,politics — Schlagwörter: — paddy @ 12:34 am

Visit msnbc.com for breaking news, world news, and news about the economy

Assange: Rape probe a ‘smear campaign’

Weblinks

  • guardian.co.uk 10 days in Sweden: the full allegations against Julian Assange

Dezember 12, 2010

Face to Face – Julian Assange

Filed under: Hacking,Moral,politics — Schlagwörter: — paddy @ 6:18 am

This video Face to Face with [[Julian Assange]] dated 04-11-2010 (I guess should be 2010-04-11) on Wikileaks (part 1) 51.641 views and (part 2) 7.433 views seems to be a very nice insight to the way Julian thinks.

Read the full post »

Dezember 2, 2010

You need to install ruby-debug to run the server in debugging mode

Filed under: ruby on rails — Schlagwörter: — paddy @ 4:00 pm

I wanted to try ruby-debug as described in the book by Patrick Lenz Simply Rails 2.0 in chapter 11. I installed the gem with »sudo gem install ruby-debug«. The following error I got staring the server with debug option prevented me from carrying on with the lesson:

USER@COMPUTER:/var/www/ror$ rails server –debug
=> Booting Mongrel
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
You need to install ruby-debug to run the server in debugging mode. With gems, use ‚gem install ruby-debug‘
Exiting

I googled my ass off to find the solution. Most sites had a hint about incompatibility between ruby, rails and gems. But the solution was much more simple. Just edit the Gemfile and uncomment »gem ‚ruby-debug’« like this:

# To use debugger
gem ‚ruby-debug‘

November 13, 2010

Haskell uber Alles!

Filed under: Hacking,Programming — Schlagwörter: — paddy @ 2:47 am

Oktober 24, 2010

Cubemap to Angularmap – niabot

Filed under: Hacking,Manga,Moving images — Schlagwörter: — paddy @ 2:53 pm

Niabot found it hard to create Angular Maps for the backgrounds in Blender. So he wrote a little programme in Java that can convert Environmentmaps (also called Cubemaps) to an Angular Map.

Oktober 16, 2010

maxcornelisse

Filed under: Hacking — paddy @ 3:22 pm

Using cell broadcasting I sent a message to all nice women in the bar at once :) Check out the result, with subtitles..

Read the full post »

September 30, 2010

Repair broken html

Filed under: Webdevelopment — Schlagwörter: — paddy @ 1:38 pm

This worked pretty well for me:
“NB:“ Entities such as „en dash“ – which results in: – have to be substituted before using tidy.

for i in *.html; do recode windows-1252..u8 $i;done
for i in *.html; do sed -i ’s#<html>#<html xmlns=“http://www.w3.org/1999/xhtml“ xml:lang=“en“ lang=“en“>#‘ $i;done
for i in *.html; do tidy -c -m -utf8 -asxml $i;done
for i in *.html; do sed -i ‚1i\<!DOCTYPE html PUBLIC „-//W3C//DTD XHTML 1.0 Transitional//EN“ „http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd“>‘ $i;done
for i in *.html; do sed -i ’s#</title>#</title>\n<meta http-equiv=“Content-Type“ content=“text/html; charset=utf-8″ />#‘ $i;done

Older Posts »