30. August 2017

I am in the process of migrating to Wordpress from Joomla.

I have created a Sinatra-App for migrating, including the images, but I have consciously make the thumbnails not to be migrated. I dont know if its clever, because now i need to re-set the picture manually.

Oh well, I dont have that many articles anyway. 

Still in the process of making it to be able to migrate k2 articles and kunena forum as well as Community Builder info. I still need to test more because there is 3 user list in Joomla if you have it all - one from Joomla, one from k2, one from Community Builder. But probably i will migrate only from CB, maybe with comparing to K2 users.


Just a little update on whats new. Not much, it seems. Oh and hopefully the Cube Animation can be better rendered. And now im a fan of using flexbox everywhere :p

4. Januar 2017

Loving this trick!

From http://superuser.com/a/804135/681749

  • open explorer
  • right click on the username (the user's expanded home-directory) In my fall its the Dropbox folder
  • do not choose any item of the context menu, but left click on the little arrow to collapse this directory
  • exit explorer

I needed this because my explorer always opens my Dropbox folder - which is long and not needed most of the time. I always use the Schnellzugriff / fast access(?) thing on the top of Explorer.

But this mechanic to do this is really strange - Microsoft is strange, but that's not new. Just how to do it is a really new way for me. If I had'nt come to this Superuser.com message I wont know it. Interesting.


Wie man die expandierte Ordner in Explorer einstellen. Windows Explorer, wenn es gestartet ist, expandiert automatisch ein paar standard Ordner. Bei meinem Fall war das Dropbox, was leider unerwünscht ist. Hier ist wie man das einstellen:

  • Explorer aufmachen
  • Rechte Mausklick an den gewünschten Ordner
  • Statt die Kontextmenü zu benutzen, auf den Pfeil zum reduzieren/expandieren anklicken.
  • Explorer schließen
  • Die Einstellung ist jetzt gespeichert.

- F

3. Januar 2017

I wasnt using CanCanCan before, and wasn'r really planning on it, but I thought, what the heck, it might be fun. My project was simple... at the start. But in the end it got more complicated.

It is agile development I guess, but does it also means changing core programming constantly?

CanCanCan and Devise ( I wasn't even planning on using Devise but a friend told me better to use one ) wasn't going to be used because I feel they are a bit overkill.

But at the start I only used Devise and add a

def role

in my User user.rb model. It is still like that, but since somehow the task was getting bigger and needed to have more complicated rights to its actions and views, I implemented CanCanCan. I was still feelign a bit overkill at the time, but then since the Agile development, it fulfills its role nicely.

That got me thinking though: is Agile development just a buzz-tech-savvy word for an "unclear" planning?

Let's take an analogy here: An artist making a sculpture of a head, starting from a block. On one block, he just chips and chisel away, without any planning. The end result is still a scuplture, might even be one with a good life-like face. But I would think that he might face difficulties when he chisels too much. Maybe the back of its head chiseled too much. Now it is almost impossible to add again to the block. The end result could be patched and you would see the seams.

On the other block, he draws a sketch lines on the suface the block, planned a bit on how big the head would be and makes a sketch on the paper. The picture might have a detailed portion of it, and also some portion that is quite unclear - but the rough lines are there. Now with a guide, he's chiselling the block more confidently. The room of error is now narrowed. If he is starting to take away too much, he might stop at the right time guided by his sketches. If he does make an error, he can only then at least think, well, it was planned that way, I might plan differently in the future.

I guess what I am trying to say is, a plan is better than no plan - of course everyone knows that, but the more detailed a plan can be, the less room for error and the clearer the vision is. I think this is what architects are doing with all of their Detailzeichnung or detail drawings.

But yeah, at the end of the day CanCanCan saves my ass.

case user.role
when 'cancancan'
  # Saves me ass
  # coding hell

5. Dezember 2016

This article is more a note to myself :)

Here's how to install solr:

  1. https://www.digitalocean.com/community/tutorials/how-to-install-solr-5-2-1-on-ubuntu-14-04
    1. Make sure you have Java (java -ver), install ppa, python, everything.
    2. download the correct version (ie. solr-6.3.0.tar.gz using wget)
    3. instead of tar xf all, only tar the installation and run the script
      (tar xzf solr-5.2.1.tgz solr-5.2.1/bin/install_solr_service.sh --strip-components=2,
      sudo bash ./install_solr_service.sh solr-5.2.1.tgz)
  2. Copy conf from /opt/solr/server/solr/configsets/basic_config/conf to /var/data/new_core -> you need to make the new core folder first.
  3. Easy way is then go to localhost:8983/solr/# etc and add core there - or using command line (also in the link up top)


Now still need to get reindex with mongo and sunspot functioning... 

Update 10.12.2016

New Solr 6.3 vs. Sunspot with Solr 4.3

THe field types are all wrong in solrconfig.xml. First, you need to get schema.xml from the solr setting from sunspot and rename it to managed-schema (without extension).

Then, solrconfig.xml from basic_configs need to be edited, so booleans changed to boolean, tdoubles to tdouble etc. All "s"s need to be removed. Then it would work with Rails.

I hope this knowledge help me or someone in the future! :)

4. Dezember 2016

Using bash for windows is excellent!

It is basically just bash - how to install here : http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ - and it feels amazing!

I can sudo apt-get everything I want - unlike Cygwin, where you can only install things that are ported to Cygwin. This statement could be wrong, but I did tried Cygwin for a bit because it supposedly has a better X Server - but I cant get it running with WSL (Windows Subsystem for Linux). I'm using Xming right now. And using ConEmu as a better alternative to "Dos-like" bash. I do have Oh-My-Zsh installed as well - easy using Curl/apt-get in the bash. Really cool.

Still in the process of installing Solr - but Mongoid and MySQL runs and can be configured normally. Very fun!

More info later this week :)

16. August 2016

Let's try ATOM.


Let's install vim-mode.

So my first impression after a few days:

1. It is kinda cool, but sometime the keybindings clashed with the default one. To close a pane I need to not only press ctrl-w, but also escape afterwards. Then it functions. Kinda annoying. Maybe because the vim-mode keybindings.

2. The vim keybindings is only "kinda" cool - i can use my vim keybindings, but not all. And sadly the VISUAL mode doesnt show the cursor in "block" mode - only in status bar, described by N for normal mode, and I for insert mode - and visual mode doesnt select vertically - or cannot insert vertically. ATOM cannot insert vertically at all! (According to some post in StackOverflow and my own 2 seconds test) 

3. The Remote-FTP is kinda cool. You save the .ftpconfig in the folder of each projects - very file-based system, very UNIX like? - I like it. That means I can always copy paste them. It kinda copy the whole server structure though.. maybe not so very good? Maybe i still need to tinker around more. It brings at least consistency between server and local though. 

Stil need more days to test it around, but I guess it is kinda cooler than Notepad++ or Vim on Windows - which I try to not use because I cant get to install Janus on Windows, which is the life of VIM imo.


- F

11. Juni 2016




Ich habe die Website von der Firma neu gemacht. Immer noch Joomla, aber statt die normale multipage, es ist mehr ein "OnePage"-Design. Nicht ganz, da es totzdem gemixt mit Multi-page Konzept. 


  • Turbolinks
  • Bootstrap
  • Joomla
  • Slideshow
  • Scroll-reveal
  • CSS3 Animations
  • Extensive Javascripting
  • Forms (RS Form)


9. Juni 2016

I'm updating my website again! Yay!!

Still wondering if i should do german and english, or just keep it mixed. 



23. November 2015


Splash Screen  Admin Backend

Login Image made in 3D, CSS Styles and everything on customer area is made by me using SASS and CoffeScript on a Ruby on Rails Platform.


  • Ruby on Rails
  • Blender 3D for Splash Screen
  • High Charts
  • CSS3 Animations
  • SASS
  • CoffeScript
  • Git
13. September 2015

Yay for a simpler clutter free website! :)

Using AJAX for loading content, but still crawlable from google now! 

Might still need to add more animation for interest points, and i still havent do for a mobile version :(

But yay for progress! :)