Categories
Dev Mac Tech

MAMP Pro – Oops, something is badly wrong!

Out of the blue, MAMP Pro started presenting me with an alert when I tried opening the app:

Oops, something is badly wrong!
Either you did not provide the necessary admin credentials or the MAMP PRO package could not be initialized correctly. You can either restart the application and try again or re-install the software.

I contacted support, they advised me to uninstall/reinstall and that didn’t help. The alert kept on being the only thing I saw when I tried to start the app and then it would just close.

After doing some digging around the web, I ended up here and the following command fixed it:

sudo launchctl load -w /Library/LaunchDaemons/de.appsolute.mampprohelper.plist

I suspect this might have been caused because I manually disabled MAMP Pro helper Launch Agent on macOS. Still not sure why MAMP Pro needs that running to start the app but it looks like it does.

BTW: the databases and settings for MAMP Pro are not in /Applications/MAMP but in /Library/Application Support/appsolute/MAMP PRO/

Categories
Dev

Change dropdown align to right underscores.me

The dropdown sub menus for underscores.me by default align left.

If you need to change it to align right, go into style.css “# Menus” and change the following lines:


.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
left: auto;
right: 0%;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
right: 100%;
}

Categories
Dev Tech

Adding Placeholder attribute to Tokeninput jQuery plugin

I was having a hard time to get the placeholder attribute to work with Tokeninput jQuery plugin.

First I managed to get it to show up by adding attr(‘placeholder’) to the onReady:
$("#myInput").tokenInput("/url/to/your/script/"){
onReady: function(){ $('#token-input-myInput').attr('placeholder','type here...'); }
};

It worked but every time it lost focus the resize of the input field would partially hide it. So, I tweaked with the code inside jquery.tokeninput.js and after line 436 (declaration of var escaped) added:
if(input_box.attr('placeholder')!=undefined){
escaped = input_box.attr('placeholder');
}

It is not pretty but it works 🙂

Categories
Dev Ideas Quotes

The bitterness of poor quality remains long after the sweetness of low price is forgotten

The bitterness of poor quality remains long after the sweetness of low price is forgotten
“The bitterness of poor quality remains long after the sweetness of low price is forgotten”
Image stolen from MG Siegler

Categories
Dev Ideas Tech Web

Kevin Rose’s Tiny Blog Idea

I like Kevin Rose‘s idea. I share the feeling that something is missing.

Sometime ago, I had this idea that I could start a project/startup all live via Google Hangouts and screencast. Every moment I was working on that project I would open Hangouts and share my thinking process, contacts, discussions, coding, etc. This would obviously be stored on YouTube and the user could go back and/or know every day what I was working on and why each feature was the way it was.

It is not the same idea but I believe that behind both ideas lives the same feeling/frustration. Sharing not only the end result (text, photo, code, feature) but also the feeling/process.