All entries of my technical and business blog.

Doctrine Error: Expected Plain Value

I’m so used to PHP’s liberal allowance for single and double quotes, that I forget that other languages and tool-sets don’t play that way. Case in point, my most recent error: [Syntax Error] Expected PlainValue, got ''' at position 378 in class My\Bundle\App\Entity\ItemDefinition. (more…)


Ansible Installation of Postfix with No Prompts

Using an Ansible configuration, I wanted to use postfix on ubuntu to send out mail. However, I couldn’t seem to figure out exactly how to get it to stop asking for input during the apt-get install postfix process. Turns out, you can use debconf to set the values that are necessary for the install. (more…)

Getting variable values from nested twig / symfony custom template

Today, I was working with a custom form themed symfony / twig project. The previous developer had developed a bootstrap based theme (yes, this is an older Symfony project at this moment - I think this is a bundled theme now). I was struggling with the block field_row item. Inside of this, there was a call to form_label passing in just the form view again. I was setting a custom label on the form_row() call... (more…)

Morning Motivational Email to Text

So I’m going to try this new thing - watch a motivational quick movie in the morning via youtube. I made a playlist of videos and have put the following code in cron for 5:30 every morning. It will send an email (which is actually email to txt on my phone) with a link to open the youtube player on my phone with a random item from my playlist. Hope you find it useful! (more…)


Android Emulation - in VirtualBox - 400% faster!

I’ve been working with my QA department to determine a faster, better way to test our pages in android browsers. The android emulator just seems to take a long time to load, to render pages, and is clunky to use. (True, I may not have learned about all of the options in the emulator, and I may be able to squeak a little bit of performance out of it.) (more…)

⬅ Newer | Older ➡
Page 11 of 50

Get the RSS or use IFTTT for RSS to Email