Geronimo89.dk

A blog about me, my doings and everything I think deserves attention.

a good moon rising

Currently a lot is happening, so I also have more to blog about. I’m trying to keep things from piling up, which isn’t easy at the moment. I’m on some interesting projects and the MeRox website has relaunched! The design (which I have not yet implemented in all its details) was made by Eduards Balodis. The WordPress theme is done by me and it was fun doing it. Furthermore my own business is coming up, so I will have tons of stuff to blog about, when I’m waiting for finished projects to upload icon wink a good moon rising I can’t tell too much yet, but one of the future projects will probably be based on drupal, which I’m very much looking forward too. I’ve gotten quite a nice peek at it, realising my portfolio with it already. Apart from that on my to-do list:

  • a little long term photo project, nothing fancy, but still a personal project, I’d like to do
  • updating my portfolio, changing informational hierarchy, summing things up for people without much time on their hands, presenting my most interesting cases
  • running more twitter accounts, I’ll probably be partly in charge of 1-2 more (social media geekery)
  • write tutorial about my Adobe After Effects + Adobe Premiere Workflow like I used it in my last video
  • shoot worlds larget catwalk as a photographer
  • portrait shooting coming up
  • compile and submit some playlists (music is a social thing, you know?)

To lift this post a little to a visual level, here’s a screenshot of my MacOS desktop right now. Picture was shot on the way to Latvia and the nice time and date display is made with geek tool icon wink a good moon rising

my desk a good moon rising

2 comments already

Forget distractions with WordPress 3.2

wp zen writing button Forget distractions with Wordpress 3.2The wordpress developers call it distraction-free writing or zen mode.

It’s what a couple of simple plain text editors have done on the desktop for years. Besides a couple of important features, this is the new cool thing in WordPress 3.2 codename Gershwin. So for everybody who wonders what it looks like, here it goes:

wp zen interface Forget distractions with Wordpress 3.2

Zen writing with interface on top which appears when the mouse is moved to the top.

wp zen no interface Forget distractions with Wordpress 3.2

Zen writing with no interface, just for typing.

Give me the first comment

freshing up my blog

Since my portfolio has been up, my blog has not gotten the love it used to get, so I decided to strip some things off and give it a new sexy booty face! So this is what it looks like so far. There is still some optimising ahead, but this is the general layout.

Primarily I used a custom written theme with that sexy little date box. The rounded corners are CSS3 without IE fallback (suck on it sucky browser users) and the blueprint css framework. The Fonts used are ChunkFive and DeJaVu Serif.

For everybody interested I have made the use of borders a little easier for me by putting them into separate classes for easier re-use.

.border_top {
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.border_bottom {
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.border_all {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
8 comments already

Making exceptions for WordPress URL rewriting

If you, as a bunch of other people out there, also are running a WordPress powered website, you may also want to use it for something else. To do that, you have to access data around WordPress rewriting engine. The rewriting is responsible for showing urls instead of urls like:

http://jmh-visual.com/?p=32

you get:

http://jmh-visual.com/2011/03/colourful-night-in-kolding/

which is great! They are a lot more understandable for humans. Problematic is a case when you just want to put a a file, another web-project, or even just demonstrate something for a tutorial you wrote. WordPress will capture, what you write behind your domain name and try to assign it to content in the system. To change that, we just need to change the .htaccess file in the root folder of your webspace. Connect to your webspace with an ftp client like Cyberduck and open .htaccess (If you don’t see that, try enabling hidden files).
You’ll probably see something like this:

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

So let’s say we want to make the folder helloworld in the root folder accessable to people, without WordPress trying to find a page or post with that name.

# BEGIN WordPress
RewriteEngine On

RewriteBase /

RewriteRule ^helloworld($|/) - [L]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Give me the first comment

blogging multilingual part 2

[de]Wie schon früher berichtet, habe ich mich mit multilingualem bloggen beschäftigt. Da ich eine, natürlich schwankende, Leserschaft im deutschen, dänischen und für mich, internationalem Sprachraum (Englisch) habe, möchte ich natürlich allen gerecht werden. Außerdem unterstützt das trilinguale blogging, das ich derzeit betreibe meine sprachliche Entwicklung, besonders was das Dänische angeht, da ich mich damit zu lange nicht beschäftigt habe.

Ich schreibe zuerst auf Deutsch und übersetze dann sinngemäß ins Englische und Dänische. Dabei hilft mir bei WordPress das auch bereits erwähnte Plugin mlanguage.[/de]

[en]As I mentioned before, I have gone into multilingual blogging, because I have readers in Germany, Denmark and also around the world, which I’m writing in English for. Also I try to further  my language skills, especially in Danish, because I’ve been a little lazy on that end for a while. The way I do it is, I write it in German at first, then translating it to the other languages. WordPress and the mlanguage plugin are helping me on this.[/en]

[da]Som jeg tidligere har nævnt, har jeg valgt at blogge flersproget, da jeg har læsere i Tyskland, Danmark og så rundt omkring i verdenen som jeg skriver Engelsk til. Det gør jeg også for at øge mine sprogevner, specielt de danske, da jeg har været lidt sløv på det område i et stykke tid. Når jeg skriver flersproget, gør jeg det på den måde at jeg først skriver det på tysk og så oversætter det. WordPress og det smarte mlanguage plugin hjælper meget med det.[/da]

mlanguage parse blogging multilingual part 2

[de]In diesem kleinen Codebeispiel kann man erkennen wie man die Posts in WordPress schreibt (oben) und wie der geparste Text später im Browser ankommt (unten). Wie man sieht steht die folgende Linie dafür das Element zu verstecken, in diesem Beispiel steht die Sprache auf Deutsch.[/de]

[en]In this little code example you can see how you write the posts and also the parsed variant how it appears in the source code of your site. The following line of css hides the currently unused languages. Current language in this example is German.[/en]

[da]I det her lille eksempel kan man se hvordan man skriver indlæg i wordpress og hvordan det senere kommer til at se ud i kildekoden. Følgende linie af css bliver brugt til at gemme de sprog som er deaktiveret lige nu. Det aktiveret sprog er tysk.[/da]

style='display:none;'
Only 1 comment so far