Author Archives: admin

A list of HTML Snippets in Gedit

Snippets are extremely useful feature of Gedit that make it usable for TextMate fiends like myself. They work exactly the same as in TM: in Gedit go to Edit -> Preferences -> Plugins and put a check next to “Snippets”. Now open, say, an html file, type body and press TAB. Gedit [...]

Posted in Gedit, Linux, Tutorial, Ubuntu | Leave a comment

Just sign the waiver

I just completed adding all of my posts from my previous blog at http://likesalmon.wordpress.com to this blog. I haven’t even read all of my original posts but I can tell you that there are some factual errors and naivete that I am not taking responsibility for. Use at your own risk, there is [...]

Posted in Flash, Musings | Leave a comment

FTOB: Set height and width for anchors with display:block

Originally posted on 10/25/08 at http://likesalmon.wordpress.com
Turns out the width and height properties only work on anchor tags when used in conjunction with display:block. WTF?
So this does not work:
a { width: 100px; height: 100px; }
But this does:
a { width: 100px; height: 100px; display:block; }
Again, have I seriously never run into this before? Do I [...]

Posted in CSS, From the old blog, Tests | Leave a comment

FTOB: CSS width property does exactly what you would expect it to

Originally posted on 10/19/08 at http://likesalmon.wordpress.com
The other day I was laying out a wordpress driven site in css and realized that I didn’t actually understand how the “width” property works. This was extremely embarrassing to admit to myself, because it means I’ve been flubbing and cheating my way through the layout of every website [...]

Posted in CSS, From the old blog, Tests | Leave a comment

FTOB: Using jQuery with Wordpress

Originally posted on 10/10/08 at http://likesalmon.wordpress.com
I struggled with this, as the usual method of including a javascript library and an external javascript script did not work. Usually, I would do this:

<script style=”text/javascript” src=<?php bloginfo(’url’); ?>/wp-includes/js/jquery/jquery.js” ></style>
<script style=”text/javascript” src=<?php bloginfo(’template_directory’); ?>/myScript.js” ></style>

But that didn’t work at all, even when I included the jQuery.noConflict() line in [...]

Posted in From the old blog, Tutorial, Wordpress | Leave a comment

FTOB: Installing Haxe on Mac OS 10.5.5

Originally posted on 10/10/08 at http://likesalmon.wordpress.com
I decided not to use MTASC as my compiler after all, since it can’t do Actionscript 3. I’m going with Haxe instead.
Installation:

Go to http://haxe.org/download and download the OSX Universal Installer.
Unpack the installer and double click on it
Open up .bash_login from you home directory in your text [...]

Posted in Flash, From the old blog, Tutorial | Leave a comment

FTOB: Installing Haxe

Originally posted on 10/10/08 at http://likesalmon.wordpress.com
I decided that if MTASC is only good for Actionscript 2 I should probably try Haxe, which is a compiler that does Actionscript 3 as well as a lot of other stuff. It looks like my development platform is not going to resemble the book I was referencing at [...]

Posted in Flash, From the old blog | Leave a comment

FTOB: Installing Flash and Flex Bundles on Textmate

Originally posted on 10/9/08 at http://likesalmon.wordpress.com
This is important because it allows me to use textmate as my editor. I freaking love textmate. For instructions of how to do this go here:
http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle-for-textmate/
Do what he says, copy and paste the code he gives into the terminal all at once and press enter. Terminal will [...]

Posted in Flash, From the old blog, Solutions | Leave a comment

FTOB: Installing MTASC on Mac OS 10.5.5

Originally posted on 10/9/08 at http://likesalmon.wordpress.com/
This was easy enough:

Download the Mac OSX package from http://www.mtasc.org/#download
Unzip it and change the name of the folder to “mtasc” for ease of use
Put the unzipped folder in your Applications directory
Put a new entry in your .bash_login file that says:

export PATH=”/Applications/mtasc:$PATH”

Posted in Flash, From the old blog, Tutorial | Leave a comment

FTOB: Installing the Flash SDK on Mac OS 10.5.5

Originally posted on 10/3/08 at http://likesalmon.wordpress.com
Vague instructions from the book led me to my first roadblock. Can’t blame ‘em, there’s just to many OSs out there to write for all of them. But we’re smart right? Right.
This video includes step by step instructions for how to install the Flex SDK and the correct [...]

Posted in Flash, From the old blog, Solutions | Leave a comment