Alles Gute zum 13.Geburtstag, Jakob!

Alles Gute zum 13.Geburtstag, Jakob!
Schöner Tag im Kletterpark in Kandel.
Leckerer Abschluss in der Denkfabrik.
https://farm5.staticflickr.com/4164/34108457390_67d35ff051.jpg


Notice To Myself: Replace Whitespace With One Space Using sed on Mac OS X

In order to remove whitespace produced by lsof output you need to trim it with sed.

sed -E ’s/[[:space:]]+/ /g‘

Watch for the uppercase -E and [[:space:]]


Alles Gute zum 12.Geburtstag, Jakob!

Alles Gute zum 12.Geburtstag, Jakob!

Schöner Ausflug nach Tripsdrill.
Den ganzen Tag dort verbracht und das alternativlose Smartphone gab es auch.
Alle Achterbahnen durchgezogen, das Highlight war die ‚Karacho‘.

IMG_7629


Bootstrap Overrides And Mixins With Middleman

When it comes to prototyping for a web application I prefer a static website generator called Middleman.

Middleman is based on ruby and was recently updated to v4.

If your web application relies on Twitters Bootstrap framework integration is not straightforward.

Middleman is based on Sass where Bootstrap is based on Less (v4 will be based on Sass).

There is a Bootstrap Sass port available so this is the gem for Middleman

gem ‚bootstrap-sass‘, ‚~> 3.3.6‘

Bootstrap requires jquery so put that in the javascripts directory.

In the stylesheets directory edit the sites.css.scss file

// „bootstrap-sprockets“ must be imported before „bootstrap“ and „bootstrap/variables“
@import „bootstrap-sprockets“;
@import „bootstrap“;

Now you have a working bootstrap environment

But what about customizing? Bootstrap variables and mixins?

Create a stylesheet file bootstrap_and_overrides.scss in the stylesheets directory

Place the overrides in this file like

$body-bg: #f8f8f8;
$text-color: #808080;

Import the file in your sites.css.css

// „bootstrap-sprockets“ must be imported before „bootstrap“ and „bootstrap/variables“
@import „bootstrap-sprockets“;
// import bootstrap_and_overrides before bootstrap
@import „bootstrap_and_overrides“;
@import „bootstrap“;


Alles Gute zum 11. Geburtstag, Jakob!

Alles Gute zum 11. Geburtstag, Jakob!
Verspäteter Geburtstagseintrag, dafür ging es gestern mit GPS auf Geocaching Tour.
Gefolgt vom obligatorischen Stockbrotgrillen im Garten.
IMG_5870


Notice To Myself: Show All Processes Listening On TCP Ports (Mac OS X)

Sometimes you need to know what processes listen on tcp ports.

sudo lsof -i TCP | grep LISTEN


mysql_config not found on mac os x

While running a configuration for a python based program on Mac OS X I got

EnvironmentError: mysql_config not found

setting the mysql path fixed the problem

export PATH=$PATH:/usr/local/mysql/bin


Installing Sentry ends in gcc error

If you encounter this error while installing Sentry

error: Setup script exited with error: command ‚gcc‘ failed with exit status 1

You need to install the python-development package


Blogarbeiten

Nach 13 Jahren ist dieser Blog von domaingo zu 1&1 umgezogen.
Im Rahmen des Umzugs habe ich festgestellt, daß MovableType gar nicht mehr frei verfügbar ist und deswegen gleich noch auf WordPress migriert.


Alles Gute zum 10. Geburtstag, Jakob

Alles Gute zum 10. Geburtstag, Jakob!
Verspäteter Geburtstagseintrag, dafür ging es heute mit GPS und Pedalkart auf Tour.

Gefolgt vom obligatorischen Stockbrotgrillen im Garten.

https://farm3.staticflickr.com/2925/14150396011_d9c34a1559.jpg