01/27/13

Mac OSX Lion HP Color Printers Drivers

If you have recently moved to Mac from Windows and you want keep on using your old HP color printers, you are having some issue for sure.

The most drivers present in OSX are not compatible with yours and so you are only able to print in black and white.

To simply solve this problem, just install he HPijs driver from Linux Foundation. Just go to this site:

http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/hpijs

and install all the three package:

  • HPIJS
  • Foomatic-RIP
  • Ghostscript

Now you have only to switch on your printer and all your colors prints are there!

 

01/6/11

Mac App store

Mac App Store

Counting down for Microsoft & Ubuntu to copy…

Posted in Me |
12/10/10

iSight problems with flash.. solution

If you are encountering problems by using your Macbook’s iSight Camera with flash programs (facebook, youtube, chatroulette, etc..) is because Flash doesn’t find the “USB Video Class Video” correctly as your cam in settings.

Anyway you can find the solution here:

Detect in you flash settings if you can find two “Google” cams. If yes:

  1. Launch /Library/Application Support/Google/GoogleVoiceandVideoUninstaller.app that will remove them if you have them installed
  2. Update Flash version if it’s not updated (check on http://www.adobe.com/software/flash/about/)
  3. Launch the website you like and choose in setting “iSight Camera”

It worked for me!

Posted in Me |
11/5/10

Starting your first company

A great mini-guide by chris Dixon. You can find the original here http://post.ly/19xRU

Things you should do when you are just starting up:

– make sure you have the right team. if you are doing a consumer web startup, you *need* someone on the team who is native web product person. if you are doing real tech, you need someone who is true native

– hire a good startup law firm (i like gunderson) and get standardized incorporation, vesting etc docs. it’s worth it. (but try to only pay $5K or so with promise to pay more later when you get funding etc).

– talk to everyone you can about your idea. collect feedback, criticism, maybe garner some allies along the way (even advisors which can help build your credibility).

– if you don’t already, read all tech blogs everyday. Techcrunch, gigaom, business insider, mashable, rww, etc. read vc blogs like fred wilson, mark suster, and eric reis. go back and read back articles

– start blogging & tweeting if you don’t already. don’t over think this. your blog posts don’t need to be shakespeare – just do minimal viable blogging. document your startup adventures, thoughts on tech, respond to others blogging/tweeting – whatever. just get out there and write.

– go to all good startup events and talk to

– how googleable are you? if you aren’t winning the first page of google when you type in your name, that means you aren’t doing a good job building your web

– try to work out of an office with other early stage startups. good energy.

– apply to ycombinator, techstars etc. no brainer to at least apply.

– if you don’t code, don’t try to teach yourself and code for your startup. partner with someone who is great at it. programming is an art & science and takes years to get good at.

– if you really want to do a startup, be ready to spend the next 5 years of your life doing it. if you aren’t ready for that level of commitment, don’t do it.

02/17/10

Charge iPhone 3g with a usb in a sigarette lighter socket

If you try to charge your iPhone 3G by plugging it in a non-PC usb or not-specific-iPhone accessory, it wil not do it. this is due because a standard usb have 4 pins, Power, ground, Data- and Data+. Usually you need Power and ground to recharge anything, but the iPhone need also a signal on Data- and Data+. By googling I found this:

To charge an iPhone 3G / iPod Touch 2nd gen, usb data- (25) should be at 2.8v, usb data+(27) should be at 2.0v. This can be done with a few simple resistors: 33k to +5v (23) and 22k to gnd(16) to obtain 2v and 33k to +5v and 47k to gnd to obtain 2.8v.

Here what I did by using a male/female standard USB cable.

With more patience you can do something the looks better for sure.

Ahh… it works!

12/26/09

Will_paginate on Ajax for Ruby on Rails!

This is a little trick to use the rails plugin “will_paginate” with ajax and classic prototype rails helpers that I used on Kontup. Naturally you should start from here:

http://wiki.github.com/mislav/will_paginate

and follow the classical installation steps. After that you could do in this easy way:

in your controller:

@posts = Post.paginate :page => params[:page]
if params[:page] == nil || params[:page].to_i == 1
@previousPage = nil
@nextPage = 2
else
@previousPage = params[:page].to_i - 1
@nextPage = params[:page].to_i + 1
end

and in your view the links will be:


<% if @previousPage != nil %>
<%= link_to_remote '&laquo; Previous', :url => { :action => "indexAJAX", :page => @previousPage }, :update => "content" %>&nbsp;&nbsp;&nbsp;Page <%= @previousPage %> of <%= @posts.total_pages.to_i %>&nbsp;
<% else %>
Page 1 of <%= @posts.total_pages.to_i %>&nbsp;
<% end %>&nbsp;
<% if @nextPage <= @posts.total_pages.to_i %>
<%= link_to_remote 'Next &raquo;', :url => { :action => "indexAJAX", :page => @nextPage }, :update => "content" %>
<% end %>

I know that there is a smart way to write this code, so please comment here!