FontJazz - Embed fonts on web pages

. Wednesday, May 27, 2009
0 comments

FontJazz is a tiny typographic engine written in JavaScript, enabling webdesigners and developers to use any typeface on a website!

FontJazz does not take the usual road, where an image is generated on the server-side, for every headline - an approach that is rather ineffective.

Instead, FontJazz implements a simple type-rendering engine in JavaScript, which means that any headlines are rendered 100% client-side, without any kind of server-side dependencies or bandwidth overhead.

Unlike traditional web-font solutions, FontJazz requires the user's browser to fetch only a single image and a tiny JavaScript file, and only once for any number of headlines!

from geektechs

Secure and stable server setup with CentOS : TechGuides : Open Source : ZDNet Asia

. Tuesday, May 26, 2009
0 comments

Secure and stable server setup with CentOS

By Vincent Danen, Special to ZDNet Asia
Monday, May 25, 2009 11:15 AM
CentOS is an operating system that is completely compatible with Red Hat Enterprise Linux. Here's how to optimize CentOS setup with RPMForge and Utter Ramblings repositories.

CentOS is a great server operating system that is completely compatible with Red Hat Enterprise Linux. As a result, nearly all of the packages available for Red Hat Enterprise Linux will work with CentOS.

The current release of CentOS is 5.3. One of the nice things about CentOS is that it has a focus on security and stability. The downfall, of course, is that it comes at the expense of newer versions of software.

One example is PHP, which in CentOS is a security-patched copy of 5.1.6, whereas the current upstream version of PHP is 5.2.8. Using third-party repositories, you can have the stable base of CentOS with more up-to-date packages (of course, it goes without saying that you sacrifice some of the stability that makes CentOS so good by doing so).

There are two third-party repositories that come into play here. The first is the RPMForge repository which will provide a number of useful updates, and the second is the Utter Ramblings repository which will provide new versions of PHP, Apache, and MySQL.

To set up RPMForge, you need to download the rpmforge-release file. This can be done by executing:

# rpm -ivh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/  rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Make note of the architecture in both the URL and the filename itself; if you are running on x86_64, change the “i386″ as appropriate. Once this is downloaded and installed, RPMForge is set up. Setting up the Utter Ramblings repository is slightly different. On the CentOS server, execute the following to install the signing key for the repository:

# rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Next, create the file /etc/yum.repos.d/utterramblings.repo with the following contents:

[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

This will set up the Utter Ramblings repository.

At this point, both repositories are set up. Execute yum update to update the metadata for the repositories; it will also install any new packages it finds (from RPMForge there are quite a few).

If you do opt to allow yum to update packages, note that the xdelta package will conflict on an x86_64 system. To remove this blocking package, execute:

# rpm -e xdelta-1.1.3-20.i386

This is only a problem on x86_64, however, as both the 32-bit and 64-bit xdelta packages are installed by default.

You may also wish to disable the repositories and call them only when you need to install certain packages, or add the yum priorities plugin to prevent third-party repositories from overriding the main repositories. This is really useful if you want to keep as close to the CentOS release as possible, but still want to use certain other packages from the third-party repositories.

To use priorities, install the yum plugin:

# yum install yum-priorities

Then, navigate to /etc/yum.repos.d/ and edit the various .repo files contained in the directory. In each section you can add a priority=X line that defines the priority for the repository. For the main repositories, the priority should be 1, and for third-party repositories this number should be higher (1 is the highest priority, 99 is the lowest).

To find the packages provided by a given repository, use yum list and grep the output for the repository name:

# yum list | grep utter

This will show all of the packages available in the utterramblings repository. This repository essentially only provides the latest Apache, PHP, and MySQL.

Third-party repositories are great ways of getting extra functionality out of your CentOS system that is not provided by the rather conservative base package list. With it, on my own CentOS server, I managed to easily upgrade my AMP stack to the latest versions, get the latest Subversion, and the latest Nagios, without compiling a thing.

Vincent Danen works on the Red Hat Security Response Team and lives in Canada. He has been writing about and developing on Linux for over 10 years.

from geektechs

Top 10 Traits of Terrific Tweeters| Terriffic Twitter Traits

. Saturday, May 23, 2009
0 comments

I know some of you hate twitter and are sick of hearing about it. However,
if everyone had a few more of these Twitter traits, I think Twitter would be a better place.


Terrific Traits to have on Twitter

1. Respect for all users of Twitter.

2. Responsive to as many tweeps as possible.

3. Does not unfollow people to increase their numbers or self esteem.

4. Helpful to others.

5. Sense of humor.

6. Not a snob or "Twob". You know who you are!
A twob is a twitter snob who only interacts with tweeps who have a bigger follower count than them.

7. Attempts to be entertaining. (It's the twought that counts.)

8. Contributes to the twitter community.

9. Non judgemental.

10. Reciprocation. Believes Twitter is a Two way street. Does not use EVERY tweet to sell something.


If most of this list describes your tweeting, then you will not need luck or
the crazy guy to get 16,000 new followers (eventually)

from geektechs

This is why you have to pay attention to warning signs

.
0 comments

from geektechs

Top Websites For Laughing At Others

. Friday, May 22, 2009
0 comments

F*** My  Life

What it is:  A site filled with anecdotes of people’s humorous and sometimes extreme misfortunes.
Excerpt:

Today, I was watching TV with a cup of coffee. My mum asked if I wanted a mars bar. I said that would be great and she proceeded to throw one at me, catching me off guard. The mars bar went straight into my coffee, spilling it over my bare legs. I now have a scald mark on my penis. FML

Sorry I Missed Your Party

What it is:  They troll online photo sites to discover pictures of random parties that look like you had to be there.
Example:

tiki

My Life Is Average

What it is:  A surprisingly amusing FML-clone that focuses on the mundane aspects of life.  Because it focuses on the average rather than outrageous, you find yourself relating to a lot and scrolling through multiple pages.
Excerpts:

Today, I was txting my friend. I accidentally sent it to the wrong person. It was not a revealing or embarrassing message. Everything is all right. MLIA

Today, I was bored so I went on Facebook even though I was just on it two minutes earlier. Very little had changed. I was not surprised.

Texts From Last Night

What it is:  A collection of text messages that people probably wish they hadn’t sent.
Excerpt:

(413): I just woke up in the 4th floor lounge at 5:30AM with my ipod on to springsteen and a condom on

Awkward Family Photos

What it is:  Just what it sounds like.  People submit the most ridiculous family snapshots ever taken.
Example:

submitted-by-the-bonfields1

2 dads?

I’m So Bad At Sex

What it is:  A chance to read about other people’s failed sexcapades.
Excerpt:  Visit the site if mom and dad let you watch R rated movies to laugh at some horror stories.  Here’s a tame one:

After a few drinks at a party I had convinced a hot blonde to come back to my place.  I made sure my roommate would not be back for some time and invited her in. She sat me down on my bed and pulled out a blindfold.  She covered my eyes and laid me down on my bed, then decided to tie my arms to the bed posts and “slip on something comfier”.  After 10 minutes I started to wonder where she was and started to get angry and slowly began to struggle free from the rope she had applied to my wrists.  After an hour or so of struggling, I finally heard a voice, however it sounded very familiar.  The person came over and removed the rope and my blindfold.  Sheer horror and embarrasment came over me when I saw my roommate standing there and all of our posessions missing.  We never found our things again and the number she had given me was the Chinese restaurant down my street. We had to take out a student loan of $4000 to cover all that had been taken!  I’m so bad at sex.

from geektechs

Twitter Hashtags - Understand Their Value and How to Use Them

.
0 comments

Question: When I see someone tweet and use the symple "#" what does that mean?

This is a common question that comes from new users of Twitter. When you see a tweet with the "#" symbol and a word following that is a Twitter hashtag. It's the way that individuals place metadata into their tweets, in other words they provide a way for others to research and find tweets that surround a specific topic or event.

There are so many ways to use Twitter and a few tips and tricks that can help us be more effective when using Twitter as a social media option. One trick includes Twitter Hashtags. We can use hashtags to organize and group topics and events as well as use them to research current trends on Twitter. This week I share with you how you can use Twitter hashtags and give you an overview of the value they contain when it comes to social media marketing.

from geektechs

TomTom brings costly connected services to mid-range XL LIVE

.
0 comments


In theory, we've no qualms with TomTom's LIVE services. Sure, they're over-hyped, overpriced and generally slow to react, but they're definitely nice extras on an otherwise vanilla PND. That said, we simply can't (and won't, ever) justify the crazy monthly rates for having access to basic information that even a dumb smartphone could find. Nevertheless, TomTom's doing its darnedest to push those very services to the masses by trickling 'em down from the GO 740 LIVE to its popular XL model. Folks across the pond can pick one up next month for €219 ($301) or €249 ($342) depending on whether you need a regional model or one with 42 European nations, but you'll still be asked to shell out €9.95 ($14) per month if you want those LIVE services.

from geektechs

BlackBerry Storm 2: the official unofficial hands-on

.
0 comments


We've been bumping into the new BlackBerry Storm 2 for quite a while now on the so-called "information superhighway," but we've finally had a chance to escalate those encounters and spend a few sweet moments with a live unit in the flesh. First off, let's confirm the huge news: RIM's abandoned the original Storm's SurePress click-screen and gone with a traditional fixed capacitive display for the sequel. It's over, guys. Unfortunately, the Verizon-branded dual-mode GSM / CDMA unit that we played with has a bug preventing us from getting past the license screen so we couldn't dive deep into the OS (and yeah, we tried scrolling to the bottom of the agreement -- no dice), but we can tell you what we do know: the Storm 2's sleeker style and more heft combined with the newly-stable screen collaborate to make everything feel a wee bit higher end than the original. Follow the break for more impressions!

from geektechs

15 Funny Sports Quotes

.
0 comments

Professional Athletes are not always known for their intelligence. Many are not especially articulate… okay, most of them are not known to be articulate. This is a list of the top 15 people who made us laugh, either by being completely clueless, stating the obvious, or just by being outrageous.

1
Quotes 1 - 5

369422.Jpg

1. “Left hand, right hand, it doesn’t matter. I’m amphibious.” – Charles Shackleford

To be fair… He can actually breathe underwater too.

2. “Any time Detroit scores more than 100 points and holds the other team below 100 points, they almost always win.” – Doug Collins

… Almost? What happens the other times?

3. “I owe a lot to my parents, especially my mother and father” –Greg Norman

And all of his other parents he failed to mention.

4. “Rich Folkers is throwing up in the bullpen.” –Jerry Coleman

He’s sick? I hope he can still pitch today.

5. “The drivers have one foot on the brake, one on the clutch, and one on the throttle.” –Bob Varsha

Now that’s impressive driving.

2
Quotes 6 - 10

Board 4

6. “You can sum up this sport [boxing] in two words: ‘You never know.’” -Lou Duva

Only two? Ok, can’t argue with that.

7. “When you get that nice celebration coming into the dugout and you’re getting your ass hammered by guys—there’s no better feeling than to have that done.” -Matt Stairs

Umm… what?

8. “The NFL, like life, is full of idiots.” –Randy Cross

Truer words were never spoken.

8. “He’s a guy who gets up at six o’clock in the morning regardless of what time it is.” –Lou Deva… again.

….Ok Lou, ok.

10. “You don’t like to see hookers going down on players like that.” –Murry Mexted

I guess in context it makes sense…

3
Quotes 11 - 15

10881583.Jpg

11. “I dunno. I never smoked any Astroturf.” –Tug Mcgraw

After being asked if he preferred grass or Astroturf, the Tugger responded with this gem.

12. “Baseball is 90% mental. The other half is physical.” –Yogi Berra

And just because Yogi gave us so many, a bonus: “If you come to a fork in the road, take it.”

13. “We’re going to turn this team around 360 degrees.” –Jason Kidd

So, you’re going to turn it all the way around and continue in the direction it was originally going? On second thought, maybe you should stay in college Jason.

14. “He treats us like men. He lets us wear earrings.” –Torrin Polk

That’s the most important thing a college football coach can offer his team. Earings.

15. Reporter: “Did you visit the Parthenon while in Greece?”
Shaquille O’Neill: “I can’t really remember the names of all the clubs we went to.”

At least you well represented the NBA while there, Shaq.

from geektechs