Category Archives: Uncategorized

Writing an admin template in 14 lines of css…. using bootstrap

When i went to work the other day i found it amusing there are hundreds and hundreds of admin theme packs on all sorts of websites to find. I use some of them, i don’t like them. They work, as a presentation piece. But are full of bloated styles of yonder year when support should be this or that. Or can we please use 10 different kinds of editors just to use.

Then i found out that bootstrap in version 4 is ditching IE9 completely and pushing flexbox i thought i can do that!

So i set up a project and started the code. 14 lines later i was done. Awesome. It even support small screens.

You can check my example on codepen or github.

I like grunt – symfony grunt sass edition

So i like grunt, people tell me there are lots and lots of builders in the world but i started a “Let’s create symfony with grunt” repository on git.

The first time i created the project i just forked an existing grunt edition of symfony and added the things i liked. Sounds great but now i wanted more. Symfony released a 3.0 version some time ago and i wanted to check my repository. And maybe update some things to the “real” version i wanted.

There were two things i wanted. How does this javascript es6 version work, and how do i f&#@% let the code check all my files i create. The latter is easy, just force linters on the developer. So i included sass-lint and updated my jshint modules. Did that on the end of my project so i got lots of errors in my 5 line code and fixed them. But for that es6…

I want to create a “how to es6 for dummies” idea, cause when you get it it will be simple. But when you don’t… it will eat your soul. So i found a nice grunt-babel plugin. And i just wanted to create an easy thing. I had a bootstrap modal on my page and wanted to view my model, i needed a root import for my model from bootstrap using jQuey. I will find the fancy es6 stuff later. That wouldn’t fit so i found a nice Frontbook repository  which fixed my stuff. Add grunt-browserify to let you require my jQuery and bootstrap javascript and all things well. I just didn’t want to mix streams and include a multiple usage javascript builder. But what can you say, it works.

Anyway, not to make a post longer than it should, and i cannot create short posts. Check out the gruntfile on this. I used it on a symfony project, but you can use it on anything. It’s built for ease of use. Use it.

My repository: symfony-grunt-sass

Next time a how to es6 for n00bs with typescript or just something else.


So i had a domain for my plugins on, but i never used my main domain. So i moved the messages to the main domain

I was also messing around with a website for a customer, so i just installed WordPress and started typing for a new theme. It worked, a mobile first theme which also can be used on a desktop and was quite surprised by the result. So i am trying to get it on the WordPress theme page. Made a base page for display to showcase the usages, you can see this on

Jour is a template based on bootstrap-3, but i am going to create some themes on bootstrap-4, and support all my plugins on that framework. Just because i like it and like to use it. I would like to host them and create some auto update functionality, but i havent figured out how to do that.

Busy busy busy

Recently i have been busy finding out what to do. Creating WordPress data has been on the back burner finding out what i like to do. I have released a music video, made animations for a movie. Searching the internet for useful frameworks (more later). Thinking of making a YouTube channel.  Finding out what this angularJS. Finding out about composer, nodeJS, grunt, express, and so on, Thinking of making games with unity. Thinking of making games in JavaScript/php. Too much to do for one person.

Continue reading

Updated the googlemap plugin

Been a while. Been busy on other sites wich used my dimme google map script. But it used it to an extend i just changed the plugin to what i wanted there. So then i opend my base version and looked somewhat scared of the code. Need to add a custom post type that may or not may add sometimes a googlemap. Template page wich had to be included wich i based on the twentyten template.

Continue reading

Image resizing

Wanting to create a thumbnail makes my wordpress days a lot longer than i would like. Found a nice function about image_resize using an absolute path for cropping images for a slider in the making. I just resized the images to my likings and uploaded my script to a somewhat slower server, and then the problems.

Continue reading