Dovleceii minunati

O reteta inspirata de aici cu un nume nu tocmai obiectiv care m-a surprins intr-un mod foarte placut prin textura si gustul complet schimbate ale dovleceilor din cauza lamaii. Dovleceii minunati Ingrediente 2 dovlecei 1 lamaie 2 oua 2/3 cana de faina tarhon Metoda am taiat dovleceii in patru si apoi feliute subtiri si i-am prajit intr-o tava de teflon cu putin ulei de masline, cu capac, pana s-au inmuiat si au devenit translucizi (cam 5-10 min)....

September 20, 2009 · len

Sending a fax in ubuntu

Conexant fax-modem configuration In the process of sending a fax in ubuntu on my Dell D820 I did not expected at all that the bigest problem would be getting the modem driver to work. I guess I forgot the old days of linux driver configuration. So, after loosing almost an hour with the linuxant “free” drivers which do not allow fax and the dell free drivers which somehow managed to kill my sound I finally found the solution on ubuntu site which solved the problem and I got both modem and sound back....

September 20, 2009 · len

Legume prajite (inabusite)

Legume prajite (inabusite) Pe principiul: taiat subtire, prajit in teflon cu mai putin de o lingura de ulei, cu capac, pe foc mic. La final sare, piper, o lingura de otet de ginger, otet de mere sau sos de soia.

September 18, 2009 · len

The geek’s alphabet

The geek’s alphabet: a, b, c ls –a gpsd –b -N -D2 /dev/ttyUSB0 ping –c 10 psql –d test ps –e ps –f ssh len@niobe –g -L 5432:localhost:5432 psql –h localhost test tcpdump –i eth0 iptables -A LOG_DROP –j DROP cvs add –kb *.odt ls –l...

September 18, 2009 · len

Blogosfera: bloguri si biciclete

Facand de curand ordine pe aici am dat peste harta blogosferei si am incercat sa-mi confirm raspunsurile la 2 intrebari: cum a evoluat numarul de posturi? cat de mult se vorbeste in ele despre biciclete? Rezultatul: Bloguri si biciclete 2008 - 2009 Explicatii Primul grafic reprezinta numarul de posturi pe saptamana pentru toate blogurile cuprinse in harta pe perioada oct. 2008 – aug. 2009 Al doilea grafic reprezinta precentual in cate din aceste posturi s-a vorbit despre biciclete....

September 16, 2009 · len

Quick: ttf fonts and cisco vpn

2 short tricks on ubuntu linux (9.04 Jaunty): Install a .ttf font #create a fonts dir sudo mkdir -p /usr/share/fonts/truetype/myfonts #copy the font sudo cp myFont.ttf /usr/share/fonts/truetype/myfonts #update fonts cache fc-cache -fv Note: if you are using an application don’t expect the fonts to be refreshed dynamically, just restart it. Create a cisco vpn connection apt-get install vpnc Create a /etc/vpnc/myvpn.conf. If you want to convert an existing .pcf file check this article....

September 15, 2009 · len

Flex applications size optimization

After quite some time of development we realised that our application flex has grown quite large, both in functionality and size. I should have chosed to develop it in GWT since I think we could not have done even 30% of the functionality and it would have been simpler :). Joke aside the size of all the modules has grown over 50M. These are some steps I have found in order to reduce the size....

September 14, 2009 · len

Radio button renderer in a datagrid

Using a radio button as a data grid cell renderer is an example of a more complex usage of data grid cell renderers. This is one way to achive this in a not very complicated way: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ public var dp:XML = <users> <user> <name>one</name> <main>true</main> </user> <user> <name>two</name> <main>false</main> </user> <user> <name>tre</name> <main>false</main> </user> </users>; ]]> </mx:Script> <mx:VBox> <mx:DataGrid dataProvider="{dp.user}" width="400"> <mx:columns> <mx:DataGridColumn headerText="Name" dataField="name"/> <mx:DataGridColumn headerText="Main"> <mx:itemRenderer> <mx:Component> <mx:HBox horizontalAlign="center"> <mx:Script> <!...

August 29, 2009 · len

De mancare, de toamna

N-am mai scris si facut poze cu mancare de ceva vreme. Poate din cauza oboselii de care ziceam. Iata insa 2 poze de azi cand datorita vacantei pe care mi-am impus-o am ajuns si in piata unde a venit pe nepregatite toamna. Supa de rosii: Supa de rosii Mancare de legume (1 vanata, 1 dovlecel, 3 ardei, 3 rosii, 1 ceapa) la cuptor: Legume la cuptor

August 28, 2009 · len

Integrating Lightbox into Tapestry 5

This show a basic way of using Lightbox 2.03 (wiki) into Tapestry 5. First step Just copy the css, images and js/lightbox.js into the web directory. Note: the scriptaculous.js, effects.js and prototype.js are not required as they are already included in T5. Modify the .tml file <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>My app</title> <link rel="stylesheet" href="${context:css/style.css}" type="text/css" media="screen" /> <script type="text/javascript" src="${context:js/lightbox.js}"></script> <link rel="stylesheet" href="${context:css/lightbox.css}" type="text/css" media="screen" /> </head> …...

August 18, 2009 · len