Archive for December, 2011

Fix for Sencha Touch Rounded Corners Bug in v1.0-1.1.1

Friday, December 30th, 2011

Some rounded corners in Sencha Touch forms with fieldsets look like garbage by default.  Here’s a CSS only fix:

.x-form-fieldset .x-field:first-child.x-label-align-top .x-field-text,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-text,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-number,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-spinner-body,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-radio,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-checkbox,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-email,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-url,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-password,
.x-form-fieldset .x-field:first-child.x-label-align-top .x-input-slider {
  -webkit-border-top-left-radius: 0;
  border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  border-top-right-radius: 0;


Thank you:

Count Number of Lines of Code in a Project

Tuesday, December 20th, 2011

find ./ -name \*.js | xargs wc

[find] [in this current directory] [files named] ["wildcard".js] [and] [just print counts]

The first column is the number of lines for the listed file, with the total count at the bottom.  As you can tell, I’m working on a JavaScript project.


Thursday, December 15th, 2011

My blog has been too serious and too productive lately.  Here’s some entertainment.  Enjoy!

Literal Version | Total Eclipse of the Heart from Umberto Cigognini on Vimeo.

Modify Your Drupal Registration Form in a Zen Sub Theme

Thursday, December 15th, 2011

Add the following to your template.php file, and you can add your own user-register.tpl.php and user-profile-edit.tpl.php files to your theme.  For my purposes, I wanted to remove the form so I just added a paragraph to the tpl file and left it at that.

YOURTHEMENAME_theme(&existing, $type, $theme, $path){
  return array(
    '$hooks' => zen_theme($existing, $type, $theme, $path),
      'user_register' => array(
      'template' => 'user-register',
      'arguments' => array('form' => NULL),
    'user_profile_form' => array(
      'template' => 'user-profile-edit',
      'arguments' => array('form' => NULL),

I took some of the info from comments here and Drupal documentation here. Thanks!

Using Synergy to When One Computer is on a VPN

Wednesday, December 7th, 2011

Synergy is a great free application that runs across multiple platforms (Windows/iOS/Linux) to let you control multiple computers with only one mouse and keyboard.  Sometimes it doesn’t work too well if one of your computers has to have a constant connection to a corporate VPN and the other computer does not.

Change your local IP scheme to something different than the VPN scheme.  For example, if your local scheme is 192.168.1.x and you’re corporate VPN is 192.168.1.x, you won’t be able to connect.  Change your local router IP configuration to be something different like 192.168.2.x.  This worked for me.

©2005-2018 Blog – Epiphany Digital is proudly powered by Badgers and Web Design is by Epiphany Digital
Entries (RSS) and Comments (RSS). 24 queries. 2.093 seconds.

Thank you for visiting this site. The web fairy will visit you in your sleep... you know, I was going somewhere with this, but it really doesn't have as much innocent charm as the tooth fairy, especially when I picture the web fairy as someone much like the Simpsons' Comic Book Guy but with wings. It's just not something I want.