Fotografie oferita de http://www.airliners.net.

Widget pentru BSD Fortune Cookies

6 April 2007 la 0:29 | In Fortune, Projects, Web Dev | Nu există comentarii

Dupa cum va spuneam inainte, intr-o alta ora, aveam de gand sa fac widget-ul. Ora a venit widget-ul e facut. Codul e in pagina de proiecte. Demo-ul e in sidebar la mine sau la http://fortune.sideways.ro/test.html. Demo-ul de pe site nu se va afisa la fel ca ce am eu in sidebar. Motivul e ca widget-ul nu defineste stiluri exacte. se muleaza pe l;ayout-ul site-ului. fiecare element din stil e customizabil.

Markup-ul pe care il “scrie” javascript-ul e de forma:

<div id="fortune_cookie_div">
  <h3 id="fortune_cookie_title">Friday's 12am Fortune</h3>
  <p id="fortune_cookie_content">Lorem ipsum dolor ....</p>
  <p id="fortune_cookie_link">
    <span style="float: left;  display: inline; margin-right: 5px">
      <img src="http://fortune.sideways.ro/images/rss.jpg"
            alt="RSS Logo" border="0"/></span>
    <a href="http://fortune.sideways.ro/" rel="contents">
            BSD Fortune Cookies</a></p>
</div>

Pentru customizare, folositi CSS. CSS is good. Mie mi s-a parut cute; si, cel mai important, relaxant.

[techtags: bsd-games-fortune, widget, BSD]

Fortune feat. Cron Daemon

5 April 2007 la 18:30 | In Bacicutz, Fortune, Projects, Web Dev | 1 Comentariu

Am foarte mult timp liber in ultima perioada. Cam 4 ore pe zi. E nu dorm 8 ore ci 4. Da .. stiu, don’t say it. In una dintre aceste 4 ore m-am gandit sa fac o treaba …. cute si relaxanta.

Fortune este un programel foarte dragut, care a aparut pe BSD. Scopul lui in viata este sa “dea” niste citate cu …. “miez”. Am dat drumul unui feed care, din ora in ora, mai trimite cate un asemenea citat.

Vreau sa fac si un widget, dar asta intr-o alta ora.

RSS LogoClick aici pentru feed

[techtags: fortune, cron daemon, BSD]

Si daca ploua?

26 March 2007 la 14:24 | In Bacicutz, Fortune | Nu există comentarii

Un alt senzational exemplu de “American Beauty”, courtesy of fortune

All the big corporations depreciate their possessions, and you can,
too, provided you use them for business purposes.  For example, if you
subscribe to the Wall Street Journal, a business-related newspaper, you
can deduct the cost of your house, because, in the words of U.S.
Supreme Court Chief Justice Warren Burger in a landmark 1979 tax
decision: "Where else are you going to read the paper?  Outside?  What
if it rains?"

			-- Dave Barry, "Sweating Out Taxes"

Sa scrii despre baze de date

24 March 2007 la 15:45 | In Fortune | Nu există comentarii

Azi citeam un fortune si mi s-a parut foarte foarte tare:

Has everyone noticed that all the letters of the word "database" are
typed with the left hand?  Now the layout of the QWERTYUIOP typewriter
keyboard was designed, among other things, to facilitate the even use
of both hands.  It follows, therefore, that writing about databases is
not only unnatural, but a lot harder than it appears.

Powered by WordPress with Flight theme by Catalin Stan. (based on Pool theme design by Borja Fernandez)
Entries and comments feeds. Iapoi sus