Archive

Archive for the ‘Tools’ Category

{less} is more…

June 18, 2010 2 comments

I came across this awesome tool today and thought I would share my experience with others…

 

 

3 Steps to writing {less}

1. Setup
1.1 Install the less Ruby gem by opening up “Terminal” and typing in one line.

1.2 Download the {less}.app.

 

 

2. {less} App Usage

 2.1 Drag your css folder into the “Watched Folders” section.

2.2 Switch to the “Compiler” tab and turn on “Automatically compile files when saved”.

Coda Side-Note: There is a {less} plugin for Coda if ya don’t mind first having to create a “Site” in your sites section first.

 

 

3. {less} Usage
3.1 Overview

Basic workflow of {less}:
1. Edit “.less” files.
2. Save file -> as you save, the {less}.app automatically generates the “.css” file.
Tip: If you have Growl, it will notify you when it has finished.
3. Review your web page.

My demo site is structured and looks like so:

 

3.1 Import & Variables

* You can start to create reusable CSS libraries by using the “@import” syntax.

* Variables can be used to store CSS attribute values to be reused throughout your project so as to alleviate the trouble with core changes.

 

3.2 “Mixins”

Yeah, it doesn’t automatically mix sense just yet, but it’s quite simple actually…

I would like my “.panel” class to have rounded corners; so I’m going to “mix” or add the rounded corners styling by simply adding its CSS class name (“.rounded-corners”) to my “.panel” class:

 

3.3 “Nesting stuff”

You can basically use this to nicely organize your CSS and type less ( excuse the pun ); I only have one item nested but imagine if you had more!…

 

3.4 Operations

If you got a special magic formula, you can implement it with basic operations even if there is a unit of measurement (e.g. px, em, etc.).

 

 

All The Files


Summary

{less} is a pretty neat addition to any web designer/developers arsenal.

I left out “Namespaces & Accessors” and a little more as I always believe that one should have at least one look at the official docs… you can find all the {less} techniques here: http://lesscss.org/docs.

Hope this has helped you on your way to writing {less}; until next time, keep writing more, or {less}. :D

 

TM

Awesomeness lies in the hands of the brave.

Posted via web from TigerMunky’s Grrreat Trek

Categories: Tech, Tips, Tools Tags: , , , , , ,

You smile, it types… #AutoSmiley

March 25, 2010 Leave a comment

 

 

 

TM

“Woohoo to PayPal arriving in SA”

Posted via web from TigerMunky’s Grrreat Trek

Categories: Fun, Tech, Tools

discovered that #Safari can be #FireFox, #IE, #Opera, #iPhone, #Firebug out the box!!!

January 7, 2010 Leave a comment
I know I know, you probably already know, so let us get on with it…

The best feature (well, I like to think so), is at the end…

It’s just like FireBug in FireFox! …

Nice GUI for speed testin…

I didn’t know they used some exfibmil…

Seems like an anonymous function from the FB FeatureLoader is chowing the most power…

Oh my gosh! Why didn’t someone tell me this before!!!   

[ My previous find of an IE testing tool ~ YaY! Here's a non-OS emulated IE app for Mac... and the icon to go with it ~ hey! Look what I found.. an appropriate icon for #IE6... ]

…did you notice anything? How bout this then? …

Enjoy if you already aren’t!!! ( …and if you were already, you should have told the rest of us punk! : )

TM

“Go Team!”

Posted via email from TigerMunky’s Grrreat Trek

Categories: Tech, Tips, Tools, Work

a must for web dev’s… #HTML #CSS #Hi-Speed #Zen_Coding #2010

January 1, 2010 Leave a comment

Can’t believe I didn’t find this sooner!

So for those who don’t already have it, enjoy and Happy 2010!



List of the HTML Elements Shortcuts: http://code.google.com/p/zen-coding/wiki/ZenHTMLElementsEn

List of the HTML Selector Shortcuts: http://code.google.com/p/zen-coding/wiki/ZenHTMLSelectorsEn

List of the CSS Shortcuts: http://code.google.com/p/zen-coding/wiki/ZenCSSPropertiesEn 


TM

“May 2010 usher in a new world of possibilities!”

Posted via web from TigerMunky’s Grrreat Trek

Categories: Tech, Tips, Tools

HTML5 Visual Cheat Sheet…

December 17, 2009 Leave a comment
Categories: Tech, Tips, Tools

YaY! Here’s a non-OS emulated IE app for Mac…

December 17, 2009 Leave a comment
Woohoo!

Nyeh, I guess only Mac web dev’s would appreciate this… http://winebottler.kronenberg.org ]

Just say yes to anything that pops up ( 4 things popped up, hmm, maybe I should have tried that Silent install checkbox ) and it downloads IE6 near the end of the install…

After the successful installation, all I did was run the “IE6 Mac App” (remember the location you specified, well, it’s there), and for some reason, on the first & second time of reopening the app, I didn’t get any internet connectivity.
Third time really is a charm…

 

Twitter isn’t so bad with IE6… yet I still agree with their nice little message “There’s a better way to browse the web!…”

Enjoy! (…or not :d)

TM

“It’s only work if somebody makes you do it”

Posted via email from TigerMunky’s Grrreat Trek

Categories: Tech, Tips, Tools

Some icon awesomeness…

December 7, 2009 Leave a comment
A recent great freeish icon site I came across… [ http://bit.ly/4Nwni1 ]

Great icon switcher for Mac users (agh, I just used the trial version, I don’t change icons that often, will probably sploosh out $29 much later on)… [ http://bit.ly/60wp6u ]

Just one of many artists whom I be a fan of… [ http://bit.ly/7qhbmW ]

TM

“It’s only work if somebody makes you do it”

Posted via email from TigerMunky’s Grrreat Trek

Categories: Tech, Tips, Tools

after evaluating some “Flash-y” wireframing apps, I still found @Skitch to be fast, fun n focused on user experience, well done @Skitch crew

November 12, 2009 2 comments
Did I mention that it is free?

: )
TM

“It’s only work if somebody makes you do it”

Posted via email from TigerMunky’s Grrreat Trek

Categories: Tools Tags: ,

In case you missed it ~ Oh my greatness! Twitterrific, WriteRoom, ShoveBox and more Mac apps are free! 2 days left! :D

November 10, 2009 Leave a comment

TM

“It’s only work if somebody makes you do it”

Posted via email from TigerMunky’s Grrreat Trek

Manually Installing PHPUnit with MAMP on Snow Leopard (3rd time is a charm)

October 9, 2009 Leave a comment

 

After scouring the web for awhile and having problems with installing PHPUnit with PEAR and MAMP, I figured it out, so I thought I would share…

1. Get a copy of the latest version of PHPUnit (PHPUnit 3.4.1 – 8 Oct 2009) here ~ http://pear.phpunit.de/get/

2. Extract your folder to your desktop.

3. Edit “phpunit.php” found in “PHPUnit-3.4.1/PHPUnit-3.4.1/”.
3.1. Scroll near to the bottom and replace “@php_bin@” with “/Applications/Mamp/bin/php5/bin/php”.

3.2. <Save As> “phpunit” (*Notice no extension used.) in “/usr/local/bin/”, or save to your Desktop, then copy to “/usr/local/bin/”.

[ Side Note: if you want to reveal hidden files and folders in Finder, you may type this in the Terminal:

defaults write com.apple.finder AppleShowAllFiles TRUE

then

killall Finder

to "reboot" finder (Note: this will close all your Finder windows and reopen all of them)
you can use FALSE instead of TRUE to return it back to "normal".

]

3.3. Make the file (phpunit) executable by typing the following in the Terminal:

sudo chmod +x /usr/local/bin/phpunit

4. Edit ”PHP.php” found in “PHPUnit-3.4.1/PHPUnit-3.4.1/PHPUnit/Util/”.
4.1. Scroll about 3/4 near the bottom and replace “@php_bin@” with “/Applications/Mamp/bin/php5/bin/php”.

4.2. Save the file. Copy “PHPUnit-3.4.1/PHPUnit-3.4.1/PHPUnit” folder to “/usr/lib/php/”. That’s it!

5. Test it out by making a Test anywhere, here is some sample code you can plonk into “HowsitWorldTest.php”.

<?php

class HowsitWorldTest extends PHPUnit_Framework_TestCase
{
public function testHowsit()
{
$this->assertTrue(1 == 1);
}
}

?>

6. Open up your Terminal to where your test (HowsitWorldTest.php) is located.

7. Type “phpunit HowsitWorldTest”. Hopefully you will see the following:

TM

“It’s only work if somebody makes you do it”

Posted via email from TigerMunky’s Grrreat Trek

Categories: Life, Tech, Tools Tags: , , , ,
Follow

Get every new post delivered to your Inbox.