Some time ago I searched for a plugin with which I could add modals with input fields to my websites and interpret the callback. This was when I found http://bootboxjs.com/ a library which provides exactly this function. Using it is super simple: But you can also create custom dialogs: Still not convinced? Try out some more examples or visit the main plugin site: http://bootboxjs.com/
If you found a PHP snippet which you want to test or if you want to try something quickly, I just found your perfect tool. The name’s Run-PHP-Code This little tool provides you with a editor and the output in the browser. So you can just run your snippet to test how it works. Also it’s really handy to showcase something, as … Read More
As you may know I really like to use Bootstrap to create simple websites. However if you want to sketch something without the “design feeling” Bootsketch may be perfect for you. To install it just go to their Github Repository and follow their instructions under “Usage”. A nice extension for it would be to create a web app where you can drag … Read More
Have you ever been in the situation where you had to show a customer or a friend something you’ve worked on but only had it locally installed? In this case you either had to get the customer or upload and install it on some remote server in a test installation. This all costs time and isn’t exactly comfortable. As you … Read More
These are my favorite 10 Mac apps at the moment listed by no particularly logic. Google Chrome This should be a no-brainer. I use this browser on any system where it’s available and recommend it full-hearted. You can pry this web-browser from my dead cold hands. :) PHPStorm This is my at the moment main development IDE. It’s autocompletion, code … Read More
Yesterday I started a new project in Java called “PnPMusic“. The idea behind it is to let game masters in Pen & Paper or Dungeons and Dragons play their own Music based on categories like fighting, story, calm and so on. Also I’m trying to improve my Java knowledge as it is a really cool language. For the GUI I’m … Read More
If you ever wanted to check if your website was accessed via curl or wget and handle those cases differently you’ve come to the right place. In PHP this is really simple. Just use the snippet below to check the user agent and you’re done. I used this snippet to differentiate a web user from the command line on the … Read More
Just as I set my foot into the TGV to France, I got the SMS from Apple that they delivered my MacBook Air. Luckily my sister was able to get the package in my absence. I arrived back in Switzerland on Thursday and been configuring my MacBook since then (With the exception of the 1. August as this is our national … Read More
Because of the RFC 6265 and for the SEO effort you should always redirect all your aliases to the www subdomain. Else all the cookies created for the robinglauser.ch (without www) will be sent to all the subdomains (e.g. cdn.robinglauser.ch). Also you don’t have the possibility to set multiple servers (Round-robin) for your domain, as there can be only one A … Read More
I just finished cleaning and organizing my websites. First of all I finally settled on a portfolio website after the 4th try. (You can find my other attempts here: http://alpha.robinio.ch/, http://beta.robinio.ch/ and http://gamma.robinio.ch/) Furthermore I updated and cleaned up this blog. Sadly a few images in the older post are magically gone so I’ll be looking into that at a later moment. Back to … Read More