Friday, December 28, 2012

View Google Cache Pages

http://webcache.googleusercontent.com/search?q=cache:http://www.jeromenicholas.blogspot.com

Friday, December 21, 2012

Magento Disable Guests from writing Product Reviews


go the Catalog section in Magento System Tab and
under "Product Reviews"
set the "Allow Guests to Write Reviews" to No 
and save the config 
"


Magento Order Status



SELECT * FROM  `m_sales_order_status`





Display Products that are Out of Stock in Magento 1.7


by default Magento (Community 1.7.0.2) out of stock display option is not


example 

[General]
my product name : test item
status: enabled
visible: catalog and search

[Inventory]
quantity: 5
but the stock availability: Out of Stock

in the admin panel go to the [System] tab
< Catalog > section
click the ( Inventory ) 

make the Display Out of Stock Products option to Yes

thats it done..
ou also need run the index management and cache management
















Wednesday, December 12, 2012

remote desktop from fedora to windows 7 using rdesktop

i wanted to remote desktop from Fedora to Windows


Machine A - Fedora 16
Machine B - Windows 7 Ultimate

 step 1: make sure users can remotely access the pc

 step 2: add the standard user to the remote desktop user group in

now go to the linux pc

make sure you have rdesktop install else

yum install rdesktop

rdesktop-1.7.0.fc16.i686 153kb size


after you successfully install it

run this command in the terminal

rdesktop 192.168.1.7 -u userone -p mypassword -f

-f to run in full screen

to switch back to linux

pres Ctrl + Alt + Return

Friday, November 2, 2012

Pregnant Woman Pops Out Baby!




The pregnant lady needs help and comforting, so the strangers hold her hand as she gets on the stretcher. A few seconds later, a baby POPS out of her, flying across the sidewalk, to the horror of the innocent victim!

A presentation of JustForLaughsTV, the official Just For Laughs Gags YouTube channel. Home of the funniest, greatest, most amazing, most hilarious, win filled, comedy galore, hidden camera pranks in the world!

Monday, October 15, 2012

The Cranberries - Dreams





All my life
Is changing every day
In every possible way

In all my dreams
It's never quite as it seems
Never quite as it seems

I know I've felt like this before
But now I'm feeling it even more
Because it came from you

Then I open up and see
The person falling here is me
A different way to be

I warn more
Impossible to ignore
Impossible to ignore

They'll come true
Impossible not to do
Impossible not to do

Now I tell you openly
You have my heart so don't hurt me
You're what I couldn't find

Totally amazing mind
So understanding and so kind
You're everything to me

All my life
Is changing every day
In every possible way

And oh my dreams
It's never quite as it seems
Cause you're a dream to me
Dream to me

Little Nemo - Winsor McCay


Friday, October 12, 2012

Magento Show Products in Home Page


{{block type="catalog/product_list" template="catalog/product/home.phtml" category_id="61"}}

//random products from category 3
{{block type="catalog/product_list_random" template="catalog/product/list.phtml" category_id="3"}}

//new products
{{block type="catalog/product_new" template="catalog/product/new.phtml"}}


Friday, October 5, 2012

funnnnn

Cheating Boss Prank

Hot Girl in Sexy Red Dress Hypnotizes Men

camera

fun

Fun

courting girls

Beach Skunk Prank

Just For Laugh - Kiss Booth For Charity

Sunday, September 16, 2012

Five reasons not to upgrade to the Apple iPhone 5


source: http://apple.djsmobiles.com/2012/09/five-reasons-not-to-upgrade-to-apple.html#

Five reasons not to upgrade to the Apple iPhone 5


 5  3 Google +2  86
The Apple iPhone 5 has now been officially released and shoppers are clamoring toward getting their hands on the newest smartphone from Apple. But if you are reader curious to know if purchasing the new iPhone is the right choice, you have come to the right place.
Is the iPhone 5 right for you? What does the new iPhone offer which the older iPhone 4S or iPhone 4 can’t offer? Do I really need to get the newest iPhone?

Here are five reasons you may not want to buy the new iPhone 5

more.....

Saturday, September 1, 2012

La La Land & Timati feat. Timbaland & Grooya - Not All About The Money (Official Video HD)



1-2, welcome to the la la land
it’s not all about the money, not all about the fame
not all about the money money..
it’s not all about the money, not all about the fame
not all about the money money..
baby girl let me haller at you
hop in a seat this car’s faster
but take a minute, let me explain
you need somebody who ride when time change
could you be the one to ride it shotgun
i hope in my heart you’re the right one
see we’ve never been fake, we’ve been very thick
don’t worry ‘bout the stars with bright glare
you would get it girl but you ain’t like that
i see you’re different, i like that
see, the money and the cars don’t mean a thing
it ain’t about the fame, it’s still a game
if you hold my baby, truly your man, just stick to the plan
gonna give you my last name, gonna show you i ain’t playin’
these girls be all over me but i know they ain’t down for me
i see my future with you girl, i see you brought on the world
could you be the one to ride it shotgun
i hope in my heart you’re the right one
see we’ve never been fake, we’ve been very thick
don’t worry ‘bout the stars with bright glare
now she got a hold on me
i’ve got a girl and i know damn well she loves me
and she got control of me
i’ve been down and i’m never gonna leave her lonely
it’s not all about the money, not all about the fame
not all about the money money..
it’s not all about the money, not all about the fame
not all about the money money..
it’s not all about the money, not all about the fame
see, i don’t really get her, she really don’t mean a thing
i just need you by my side, don’t you ever go away
i’ll do anything, i want you to stay
oh-oh oh-oh
just stay
oh-oh oh-oh
just stay
oh-oh oh-oh
oh woh
i know you’re used to flashy things and the high life
but i’m not that type of girl that you can buy
you gotta love me but you’re not, not boy
‘cause i’ve been true from the start, start boy
na-na na-na-na thanks, can’t put me in the net
if would spend the time with me
ye-ye ye-ye-ye i’m the girl you need to meet
i need you dedicated fully to me
she got a hold on me
i’ve got a guy and i know damn well he loves me
and she got control of me
i’ve been down and i’m never gonna leave him lonely
money money money money
money money money money
money money money money
money money money money
money money money money
money money money money
money money money money
it’s not all about the money, not all about the fame
not all about the money money..
it’s not all about the money, not all about the fame
not all about the money money..
it’s not all about the money, not all about the fame
see, i don’t really get her, she really don’t mean a thing
i just need you by my side, don’t you ever go away
i’ll do anything, i want you to stay
oh-oh oh-oh
just stay
oh-oh oh-oh
just stay
oh-oh oh-oh
oh woh
now she got a hold on me
i’ve got a guy and i know damn well he loves me
and she got control of me
i’ve been down and i’m never gonna leave him lonely
welcome to the la la land

Ryan Huston - Beautiful Day (Music HD)





I wanna feel the sun,
have barbeques
I wanna see my friends,
the old and new
We'll turn on the game
and share some laughs
And we'll play this and that
Now it's "say goodbye",
to rainy days
To the colder nights,
to the empty trees
Now full of life and colors new
And it's all here for you
to see

Cloudless skies, summerdays
Feels just like it's on the way
Kids are out, safe to play
and it feels just like A beautiful day
Cloudless skies, summer days
Feels just like it's on the way
Kids are out, safe to say that it
A beautiful day

I wanna feel the grass between my toes
I wanna hear the birds
as they come and go
And I'd love to fly
if I had wings
And I'd bring you with me
I wanna hit the beach,
the ocean air
And we'll let the sand get everywhere
We'll watch the sun as it melts away
And I'll smile just the same with you

Cloudless skies, summer days
Feels just like it's on the way
Kids are out, safe to play
and it feels just like A beautiful day
Cloudless skies, summer days
Feels just like it's on the way Kids are out, safe to say that it A beautiful day

Tuesday, August 28, 2012

Microsoft Logo


Microsoft Windows



Windows Logo Colors


Microsoft gets a new logo for the first time since 1987

source: http://blogs.technet.com/b/microsoft_blog/archive/2012/08/23/microsoft-unveils-a-new-look.aspx


Microsoft gets a new logo for the first time since 1987

A lot is at stake when a company changes its logo, and Microsoft changed it a number of times in its early years.
Seattle Times technology reporter
Logos over the years
1975-1979
1980-1981
1982-1986
1987-2012
Which Microsoft logo is your favorite?
Click to enlarge
Click to enlarge
Click to enlarge
Click to enlarge
Click to enlarge
MOST POPULAR COMMENTS
HIDE / SHOW COMMENTS
The colored squares remind me of the "Metro" look of Windows 8. If Windows 8...  MORE
I like the 80-81. So metal!  MORE
I wonder how much it cost them to come up with this. MORE
For the first time in 25 years, Microsoft is changing its corporate logo.
Microsoft, which has used its solid, boldfaced, italicized logo since 1987, is expected to unveil its new, more colorful logo Thursday at the Boston opening of the 23rd Microsoft store. It will also appear Thursday at the Seattle and Bellevue Microsoft stores, as well as on the microsoft.comhome page.
The new logo, which incorporates a multicolored Windows symbol in addition to the "Microsoft" name in straightforward, lighter type, is intended to "signal the heritage but also signal the future — a newness and freshness," said Jeff Hansen, Microsoft's general manager of brand strategy.
It's coming at a time when the company is preparing to launch new or significantly updated versions of nearly every one of its products, from Windows to Windows Phone to Office.
Many of those products will feature a new look and feel — cleaner, with fewer borders and less clutter, and more colorful tile-based designs.
Given all that, "we felt it was a good time to express the newness in the Microsoft logo as well," Hansen said.
The new logo features the name "Microsoft" in the Segoe font — a font Microsoft owns and has used in its products and marketing for several years. The font also figures prominently in the new Windows 8 user interface.
The "f" and "t" in the name "Microsoft" are connected in the new logo, just as they were in the old. "It was one of the subtleties we thought we could bring forward," Hansen said.
For the first time, the company's logo will also include a symbol: In this case, a square formed by four multicolored square tiles — reminiscent of the company's multihued Windows logo in years past. (Ironically, Windows 8's new logo is now single-colored.)
The colors in the squares — blue, orange, green and yellow — are those long associated with Microsoft and from which the company's product brands draw.
The colors are also meant to convey "the diversity of our products and the diversity of people that we serve," Hansen said.
The new logo also bears great resemblance to, and is an evolution of, the Microsoft Store logo, which was inspired by the Windows flag.
A lot is at stake when a company changes its logo.
A logo is the instant communication of a brand, said Barbara Kahn, professor of marketing at The Wharton School of the University of Pennsylvania. "It's what is seen time and time again," she said.
A strong logo, she said, needs to be "distinctive, clearly identified with the brand and consistently used over time."
The new logo marks the fourth time Redmond-based Microsoft has changed it since the company was founded in 1975 and only the second time since Microsoft went public in 1986.
Microsoft's first logo, used from 1975 to 1979, evokes its era, with its disco-y typeface. The multilined logo, with "Micro" on the first line and "Soft" on the second, reflects how co-founders Bill Gates and Paul Allen supposedly came up with the original company name "Micro-Soft" — something that reflected both "microcomputers" and "software."
The second logo, with some jagged edges and strong diagonals, was used from 1980 to 1981 and reflected the computer and video-game culture of the time, Hansen said.
The third logo, used from 1982 to 1986, introduced a stylized letter "o" with lines through it — meant to symbolize the hyphen between "Micro" and "Soft," Hansen said. The stylized "o" was referred to fondly on campus as the "blibbet" and, at one time, the cafeteria on campus served a "Blibbet Burger."
The Microsoft logo most people are familiar with today was the one the company started using in 1987. It featured a slice in the "o," a connection between the letters "f" and "t." Compared with the earlier logos, it looks more solid, stable — corporate.
The newest logo starts its rollout Thursday, making its appearance on several well-trafficked areas of Microsoft.com, as well as the company's official Microsoft pages for Twitter and Facebook.
The new logo will also be used on a new wave of TV commercials in the next few weeks and on the new products being released this fall and into the holiday season.
"The majority of the items that people see from the company — websites, marketing, communications — people will be seeing the new logo pretty quickly," Hansen said.
Janet I. Tu: 206-464-2272 or jtu@seattletimes.com. On Twitter @janettu.
Information in this article, originally published Aug. 23, 2012, was corrected August 24, 2012. A previous version of this story said the new Microsoft logo marked the fifth time the company has changed it. In fact, it is the fourth time.

Wednesday, August 22, 2012

UpdateByPk Yii


updateByPk() method
public integer updateByPk(mixed $pk, array $attributes, mixed $condition='', array $params=array ( ))
$pkmixedprimary key value(s). Use array for multiple primary keys. For composite key, each key value must be an array (column name=>column value).
$attributesarraylist of attributes (name=>$value) to be updated
$conditionmixedquery condition or criteria.
$paramsarrayparameters to be bound to an SQL statement.
{return}integerthe number of rows being updated
Updates records with the specified primary key(s). See find() for detailed explanation about $condition and $params. Note, the attributes are not checked for safety and validation is NOT performed.
-----------------------------------------------------------------------

Update By Primary Key
User::model()->updateByPk($model->id,array("username"=>'jerome'))
-----------------------------------------------------------------------
Source Code: framework/db/ar/CActiveRecord.php#1678 (hide)
public function updateByPk($pk,$attributes,$condition='',$params=array())  {      Yii::trace(get_class($this).'.updateByPk()','system.db.ar.CActiveRecord');      $builder=$this->getCommandBuilder();      $table=$this->getTableSchema();      $criteria=$builder->createPkCriteria($table,$pk,$condition,$params);      $command=$builder->createUpdateCommand($table,$attributes,$criteria);      return $command->execute();  }

About

Blogger templates