I ran into an issue today where I needed to theme bootstrap. I also wanted to use all the the cool Symfony2 form features Braincrafted/Bootstrap gave me.
Braincrafted/Bootstrap is quite customizable but I went through a few trials to get it right so I figured I would share with the world.
This should work for any LESS based theme not just Bootstrap.
Adding New Theme
Create a new theme directory.
$ mkdir app/Resources/less/themes/[new_theme]
Copy all the required less files into the theme.
$ cp ~/Download/myTheme/*.less app/Resources/less/themes/[new_theme]
Create a LESS builder file in your theme diretory.
Tell Assetic that you are going to use a custom less file.
Point BrainCrafted/Bootstrap at the builder file:
Generate a new master bootstrap file:
$ php app/console braincrafted:bootstrap:generate
Then install the assets:
$ php app/console assetic:dump
Clear the cache:
$ php app/console cache:clear
See Update at bottom for Fire TV tests!
I am going to lay everything out upfront. With my Amazon Fire Game Controller not arriving for 2-4 months, the Nyko (PlayPad Pro and PlayPad”Android”) not available and my brand new Amazon Fire Stick in hand I wanted to play Terarria. Doh, who doesn’t? So, I sat down to hook up a PS4 DualShock controller.
The end result was a working but a slow and almost unresponsive controller. I suspect that the large amount of data the controller is trying to push with all of its cool gismos is just to much for the little stick.
So, lets get to the rig, for science or whatever.
You want to write games, I want to write games, we all want to write games. It doesn’t matter if you want to use Cocos2d/3d, Sprite Kit, Unity or some other gaming library, you will need the NDK all set and ready. Continue reading
Whether it be for scripting or because you have a GUI bias. This is an exercise worth going through. We are going to build a Lollipop AVD to emulate my HTC One (m8.) Let’s get started. Continue reading
It’s time to do some Android App development and Eclipse drives me up the wall. So I am going to document how to do this my way. The CLI way. I plan on using Lollipop, so SDK API 21 will be our target build and our IDE, vim. That’s my go to bad-boy editor. When we are done we should be about to build a default android app, on a remote POSIX server, like any real BOSS. Continue reading
Using Twitter REST API v1.1 with Python – Thomas Sileo
As consumer API’s start moving more and more into the oath space. It is getting much more complicated to consume basic public API’s.
Here is a quick and easy writeup on how to using these potentially complicated authentication protocols for simple consumption using python.
When can I use… That one tag with that one browser?
Compatibility tables for support of HTML5, CSS3, SVG and more in desktop and mobile browsers.