RSS Mobile
 
tumblr:~ blog$ /usr/bin/alex --fortune

 


5 Gennaio, 2009
text

eeepc 900 and kernel linux 2.6.28

alex@dothan:~$ uname -a
Linux dothan 2.6.28-dothan #2 SMP Sun Jan 4 19:04:50 CET 2009 i686 GNU/Linux
alex@dothan:~$ cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 13
model name    : Intel(R) Celeron(R) M processor          900MHz
stepping    : 8
cpu MHz        : 900.000
cache size    : 512 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts
bogomips    : 1800.02
clflush size    : 64
power management:

It’s all ok!!

all works ok, kernel 2.6.28 gives you full support to your eeepc 900 hardware without any type of patch!

You have only to update xserver-xorg-synaptics to the latest version: 0.99.* otherwise you won’t have the complete touchpad support (by elantech driver included in the kernel).

you can find xserver-xorg-synaptics debian packages here: http://alioth.debian.org/~dsalt-guest/eee/

elantech driver official website: http://arjan.opmeer.net/elantech/

Goodbye,

27 Giugno, 2008
text

Tumblr and Lightbox

Tumblr and Lightbox2 is a very wonderful combination!

from the Author’s page ( http://www.lokeshdhakar.com/projects/lightbox2/ ) : Lightbox is a simple, unobtrusive script used to overlay images on the current page. It’s a snap to setup and works on all modern browsers.

You can have an example by clicking on each photo in my tumblelog, (only on photo post, not on all pictures of my blog),


Now I will explain you how to setup it correctly on Tumblr:

NOTE^1: Edit the urls respecting the correct path where you’ve uploaded the files!

NOTE^2: Ensure that you’ve uploaded all the needed files!

I’ve made a list of all the file you must upload:

./css:
lightbox.css

./images:
bullet.gif        donate-button.gif loading.gif       thumb-1.jpg
close.gif         download-icon.gif nextlabel.gif
closelabel.gif    image-1.jpg       prevlabel.gif

./js:
builder.js       lightbox.js      scriptaculous.js
effects.js       prototype.js

First follow the instruction by Author’s page (edited by me for inserting it on Tumblr custom css):

  1. Lightbox v2.0 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header. Between <head> </head> HTML tags!
    <!-- Start LightBox Javascript -->
    <script src="http://www.yourdomain.name/lightbox2/js/prototype.js" type="text/javascript"></script>
    <script src="http://www.yourdomain.name/lightbox2/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="http://www.yourdomain.name/lightbox2/js/lightbox.js" type="text/javascript"></script>
    <!-- End LightBox Javascript -->
  2. Include the Lightbox CSS file (or append your active stylesheet with the Lightbox styles).
    <!-- Import LightBox CSS -->
    <link rel="stylesheet" href="http://www.yourdomain.com/lightbox2/css/lightbox.css" type="text/css" media="screen" />
  3. Edit your css/lightbox.css file:
    #prevLink:hover, #prevLink:visited:hover { background: url(http://www.yourdomain.com/lightbox2/images/prevlabel.gif) left 15% no-repeat; }
    #nextLink:hover, #nextLink:visited:hover { background: url(http://www.yourdomain.com/lightbox2/images/nextlabel.gif) right 15% no-repeat; }
  4. Edit your js/lightbox.js file:
    fileLoadingImage: 'http://www.yourdomain.com/lightbox2/images/loading.gif',
    fileBottomNavCloseImage: 'http://www.yourdomain.com/lightbox2/images/closelabel.gif',


Now let’s start with tumblr integration:

  1. On the custom CSS form on Tumblr, go to: {block:Photo} and edit your {LinkOpenTag} like this:
    {LinkOpenTag}<a href="{PhotoURL-500}" rel="lightbox" title="{PhotoAlt}"><img src="{PhotoURL-400}" alt="{PhotoAlt}"/></a>{LinkCloseTag}
  2. Edit PhotoURL dimensions as you like, you can put values: 100, 250, 400, 500.

It’s all! now you have Tumblr+Lightbox2

if you have problems, write them to me!

HomeWebsite Homepage RSSTake the RSS! ArchiveLook at Blog Archives
MailMeSend me an eMail MailgpgTake my gpg key
Skype
Add me to Your Skype Account
ChatChat with Me! WorksLook my Works FlickLook my Picasa Photo Album!
YoutubeLook my Videos on Youtube! del.icio.usLook my bookmarks on del.icio.us! TechnoratiAdd to Technorati Favorites!
VimeoHDMy HD Videos on Vimeo! GoogleGo to Google! MTV-nomafieGo to MTV nomafie!


Visualizza il profilo di Alessandro Arrichiello su LinkedIn