locale change – Ubuntu system

MellÅz http://security.ubuntu.com natty-security/universe Translation-en
Csomaglisták olvasása… Kész

update-locale LANG=hu_HU.UTF-8 LC_MESSAGES=POSIX

Nyelvi beállítások, dátum, stb. magyarul, rendszerüzenetek angolul (default)

innen: https://help.ubuntu.com/community/Locale

MD-11 @Ferihegy


forrás

NASA kép Veszprém megyéről

On October 9, 2010, the Advanced Land Imager (ALI) on NASA’s Earth Observing-1 (EO-1) satellite captured this natural-color image of the area. The top image shows a close-up of the alumina plant and closest villages. The bottom image shows the wider region.

The alumina plant appears along the right edge of both images, and incorporates both bright blue and brick red reservoirs. The breach of the retaining wall is apparent in the close-up view. Sludge cut a channel through the northwest corner of the waste reservoir and spread onto nearby fields.

In the short term, the sludge swept away cars, filled homes, swamped agricultural fields, damaged bridges, and forced hundreds to evacuate.

Photo credit: NASA Earth Observatory image created by Jesse Allen, using EO-1 ALI data provided courtesy of the NASA EO-1 team. Caption by Michon Scott.


NASA_Ajka-Kolontar-Devecser_2010_10_09 (117)

durva

Inception

Tegnap láttuk az Inception című filmet, atomjó volt. Régen élveztem egy mozifilmet ennyire. Christopher Nolan nevét már a tíz évvel ezelőtti Memento kapcsán megjegyeztem magamnak, nagyon tetszett ahogy a nem lineáris vonalvezetésű történetszálat sikerült már anno és most is filmre vinni úgy hogy többé kevésbé érthető legyen. Volt egy-két dolog, ami még mindig nem teljesen tiszta, pl a totem fizikiájának megváltoztatása, de összességében remek szórakozás volt (a kicsit paráztatós, székhez szegezős fajtából). A film közben körülnéztema moziban és hát voltak egy páran akik a karfába kapaszkodva előredölve próbálták követni az eseményeket. Mondjuk nem mindenkinek tetszett, de mindenképpen az elgondolkodós film kategóriába tartozik, egykönnyen nem felejti az ember, még napokkal később is fogok rajta kattogni. 9/10

http://www.imdb.com/title/tt1375666/

Package dependency graph debian/ubuntu

apt-get install apt-rdepends graphviz

apt-rdepends --dotty dpkg | dot -Tpng > dpkg_deps.png

innen: http://blog.hartwork.org/?p=108

How to prevent change of screen resolution aftere every reboot/login

Itt van a problema es a megoldas felvazolva: http://social.technet.microsoft.com/Forums/en-US/itprovistadesktopui/thread/4e074fdc-4a49-450a-ae4f-2d17f186a8d2

A lenyeg:
1) Go to Start –> Run –> regedit and press enter

2) Click ‘Edit’ and click ‘Find’ in the Edit menu

3) Type ‘ DefaultSettings.XResolution ‘ (without quotes) and click ‘Find’

4) Now double click it and change the hexadecimal value to 400 which corresponds to 1024

5) Click ‘Find Next’ and repeat Step 4)

6) Now do the same for ‘ DefaultSettings.YResolution ‘ (without quotes) and change the hexadecimal value to 300 which corresponds to 768 and restart.

Az osszes talalatot modositani kell, a fo kijelzonel a relative position 0, masodlagos kijelzoknel valamilyen integer

A nap idézete

Egyébként muhaha, Magyarország sorsa bele van kódolva abba a ténybe, hogy a szavazók nagyobb része nem dolgozik. Tehát amíg ez nem kerül megváltoztatásra, nincs reális alternatíva.

korankelo eléggé rátapintott a lényegre

Megjelent végre a Python3 … installálom

spyder install

elofeltetelek: PyQt, sip, QScintilla (install instructions)

I was able to successfully install Spyder on Snow Leopard, mainly guided by the following link: http://chinbilly.blogspot.com/2010/01/building-pyqt4-on-snow-leopard.html

In short, you have to make sure that you install/compile packages (Qt, Python, sip and PyQt?) in 64 bit architecture (with ‘x86_64′ option). When compiling sip and PyQt?, for example, I configured with ‘python configure.py –arch x86_64′ and ‘python configure.py –use-arch x86_64′, respectively. Once you are able to import PyQt4?.QtCore? without any error message, you should be able to run spyder.

SciPy superpack install

This shell script will install recent 64-bit builds of Numpy (1.4) and Scipy (0.8), as well asMatplotlib (1.0), iPython and PyMC (2.1 alpha) for OS X 10.6 (Snow Leopard) on Intel Macintosh. All builds are based on recent development code from each package, which means though some bugs may be fixed and features added, they also may be more unstable than the official releases. Distributing them together should improve interoperability, since the supporting packages (Scipy, Matplotlib, PyMC) were all built against the accompanying build of Numpy. This package were compiled on OS X 10.6 using Apple’s Python 2.6.1, FFTW 3.2.2 and GCC 4.2 (build 5646). To avoid compatibility issues, the installer also optionally downloads and installs the gFortran compiler (4.2) built against Snow Leopard’s GCC 4.2 for Xcode 3.2.

After you install it, however, be sure to type in

sudo ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/

at the command line, and then you should be good to go.

Building 64bit NumPy/SciPy/PyLab on Snow Leopard

Packlist

Rick Steves‘ packlist

What to Pack

Shirts. Bring up to five short-sleeved or long-sleeved shirts in a cotton/polyester blend. Arrange mix according to season.

Sweater or Lightweight Fleece. Warm and dark is best — for layering and dressing up. Dark colors don’t show wrinkles or stains.

Pants. Bring two pairs: one lightweight cotton and another super-lightweight for hot and muggy big cities and churches with modest dress codes. Jeans can be too hot for summer travel. Linen is great. Many like lightweight pants/shorts with zip-off legs. Button-down wallet pockets are safest (though still not as thief-proof as a money belt, described below).

Shorts. Take a pair with pockets — doubles as a swimsuit for men.

Swimsuit. Especially for women.

Underwear and socks. Bring five sets (lighter dries quicker).

One pair of shoes. Take a well-used, light, and cool pair, with Vibram-type soles and good traction. My wife and I like shoes by Ecco. Sturdy, low-profile tennis shoes with a good tread are fine, too. (Some people bring along an extra pair of sandals in case the shoes get wet.) For winter travel, bring heavy shoes (for warmth and to stay dry).

Jacket. Bring a light and water-resistant windbreaker that has a hood. Gore-Tex is good if you expect rain. For summer travel, I wing it without rain gear — but always pack for rain in Britain and Ireland.

Tie or scarf. For instant respectability, bring anything lightweight that can break the monotony and make you look snazzy.

Money belt. This hidden pouch — strapped around your waist and tucked under your clothes — is essential for the peace of mind it brings. You could lose everything except your money belt, and the trip could still go on. Lightweight and low-profile beige is best.

Money. Bring your preferred mix of a credit card, a debit card, and an emergency stash of hard cash. I rely on a debit card for ATM withdrawals, a credit card, and several hundred dollars in cash as a backup.

Documents and photocopies. Bring your passport, plane ticket (or e-ticket printout), railpass or car-rental voucher, driver’s license, student ID, hostel card, and so on. Photocopies and a couple of passport-type photos can help you get replacements more quickly if the originals are lost or stolen. Carry photocopies separately in your luggage and keep the originals in your money belt. In your luggage, you’ll also want to pack a careful record of all reservations (bring the hotels’ written confirmations), along with a trip calendar page to keep things up-to-date as your trip evolves.

Small daypack. This is great for carrying your sweater, camera, literature, and picnic goodies while you leave your large bag at the hotel or train station. Fanny packs (small bags with thief-friendly zippers on a belt) are a popular alternative, but are magnets for pickpockets and should never be used as money belts.

Camera. A digital camera and a high-capacity memory card mean no more bulky bags of film. A mini-tripod allows you to take crisp shots in low light with no flash.

Water bottle. The plastic half-liter mineral water bottles sold throughout Europe are reusable and work great. If you bring one from home, make sure it’s empty before you go through airport security.

Wristwatch. A built-in alarm is handy. Otherwise, pack a small travel alarm clock. Cheap-hotel wake-up calls are particularly unreliable.

Earplugs. If night noises bother you, you’ll love a good set of expandable foam plugs.

First-aid kit.

Medicine and vitamins. Keep medicine in original containers, if possible, with legible prescriptions.

Eyeglasses, contact lenses, and prescriptions. Contact solutions are widely available in Europe, but because of dust and smog, many travelers find their contacts aren’t as comfortable in Europe. I wear my glasses, and I don’t pack a spare pair, but I do bring a photocopy of my prescription just in case.

Sunscreen and sunglasses. Depending on the season and your destination.

Toiletries kit. Sinks in cheap hotels come with meager countertop space and anonymous hairs. If you have a nylon toiletries kit that can hang on a hook or a towel bar, this is no problem. Put all squeeze bottles in sealable plastic baggies, since pressure changes in flight can cause even good bottles to leak. (If you plan to carry on your bag, all liquids, gels, and aerosols must be in three-ounce or smaller containers, and all of these items must fit within a single, quart-size sealable plastic baggie.) Consider a vacation from cosmetics. Bring a little toilet paper or tissue packets (sold at all newsstands in Europe). Fingernail clippers and tweezers are also handy.

Sealable plastic baggies. Get a variety of sizes. In addition to holding your carry-on liquids, they’re ideal for packing leftover picnic food, containing wetness, and bagging potential leaks before they happen. The two-gallon jumbo size is handy for packing clothing. Bring extras for the flight home, as they can be hard to find in Europe.

Soap. Not all hotels provide soap. A plastic squeeze bottle of concentrated, multipurpose, biodegradable liquid soap is handy for laundry and more. In the interest of traveling friendlier to our environment, I never use the hotel bathroom “itsy-bitsies,” preferring my own bar of soap or bottle of shampoo.

Clothesline. Hang it up in your hotel room to dry your clothes. The handy twisted-rubber type needs no clothespins.

Small towel. You’ll find bath towels at all fancy and moderately priced hotels, and most cheap ones. Although $50-a-day travelers will often need to bring their own towel, $100-a-day folks won’t. I bring a thin hand towel for the occasional need. Washcloths are rare in Europe. While I don’t use them, many travelers recommend quick-drying synthetic towels.

Sewing kit. Clothes age rapidly while traveling. Take along a few safety pins and buttons.

Travel information. Rip out appropriate chapters from guidebooks and staple them together. When you’re done, give them away.

Map. Get a map best suited to your trip’s overall needs, then pick up maps for specific local areas as you go.

Address list. To keep in touch, many travelers write blogs or send mass emails as they travel. But if you prefer to mail postcards, consider printing your mail list onto a sheet of adhesive address labels before you leave. You’ll know exactly who you’ve written to, and the labels will be perfectly legible.

Postcards from home and photos of your family. A small collection of show-and-tell pictures is always a great conversation piece with Europeans you meet.

Small notepad and pen. A tiny notepad in your back pocket is a great organizer, reminder, and communication aid (for sale in European stationery stores).

Journal. An empty book to be filled with the experiences of your trip will be your most treasured souvenir. Attach a photocopied calendar page of your itinerary. Use a hardbound type designed to last a lifetime, rather than a spiral notebook. My custom-designed Rick Steves Travel Journals are rugged, simple blank books that come in two sizes. Another great brand, with an almost cult following among travel writers, is Moleskine (also available at my Travel Store).

Optional Bring-Alongs

Picnic supplies. Bring or buy a small tablecloth to give your meal some extra class (and to wipe the knife on), salt and pepper, a cup, a spoon, a washcloth (to dampen and store in a baggie for cleaning up), and a Swiss Army–type knife with a corkscrew and can opener (or buy the knife in Europe if you want to carry your luggage on the plane). A plastic plate is handy for picnic dinners in your hotel room.

Packing cubes. These see-through, zip-up mesh containers keep your clothes tightly packed and well-organized.

Clothes compressor. This handy invention — I like the one by Pack-Mate — allows you to pack bulky clothes (such as sweaters and jackets) without taking up too much space or creating wrinkles. Simply put the item in the bag, roll it up to force the air out through the one-way nozzles, and pack it away.

Shirt-folding board. Eagle Creek‘s Pack-It Folder is a lightweight mesh container that comes with a thin board specially designed to fold and carry shirts with minimal wrinkling.

Small packet of tissue. Stick one of these — sold at newsstands and pharmacies throughout Europe — in your daypack, in case you wind up at a bathroom with no toilet paper.

Nightshirt. Especially for women.

Light warm-up suit. Use for pajamas, evening lounge outfit, instant modest street wear, smuggling things, and “going” down the hall.

Spot remover. Bring Shout wipes or a dab of Goop grease remover in a small plastic container.

Sandals or flip-flops.

Slippers. On winter trips, I bring comfy slippers with leather bottoms — great for the flight and for getting cozy in my hotel room.

Inflatable pillow (or “neck rest”). For snoozing in planes, trains, and automobiles. Many travelers also swear by an eye mask for blocking out early-rising or late-setting sun.

Pillowcase. It’s cleaner and possibly more comfortable to stuff your own.

Hair drier. People with long or thick hair appreciate a travel hair drier in the off-season, when hair takes a long time to dry and it’s cold outside. These are generally provided in $100-plus hotel rooms.

Hostel sheet. Bring one along (choose silk or cotton), or rent a sheet at hostels for about $4 per stay. It doubles as a beach or picnic blanket, comes in handy on overnight train rides, shields you from dirty blankets in mountain huts, and will save you money in other dorm-type accommodations.

Tiny lock. Use it to lock your backpack zippers shut. Note that if you check your bag on a flight, the lock may be broken to allow the bag to be inspected. Improve the odds of your lock’s survival by buying one approved by the TSA (Transportation Security Administration, the agency responsible for airport security). While you’ll unlock the TSA-approved lock with a combination, security agents can open the lock without damaging it by using a special master key.

Small flashlight. Handy for reading under the sheets after “lights out” in the hostel, late-night trips down the hall, exploring castle dungeons, and hypnotizing street thieves. Tiny-but-powerful LED flashlights — about the size of your little finger — are extremely bright, compact, and lightweight.

MP3/video player, CD player, or radio. Partners can bring a Y-jack for two sets of earphones. Some travelers use digital recorders to capture pipe organs, tours, or journal entries. A small, portable radio adds a new dimension to your experience.

Adapters. Electrical plugs.

Stronger light bulbs. You can buy these in Europe to give your cheap hotel room more brightness than the 40-watt norm.

Office supplies. Bring paper, an envelope of envelopes, and some sticky notes (such as Post-Its) to keep your place in your guidebook.

Small roll of duct tape.

Mailing tube. Great for art lovers, this protects the posters and prints you buy along your trip. You can trim it to fit inside your backpack (though this obviously limits the dimensions of the posters you can carry).

A good paperback. There’s plenty of empty time on a trip to either be bored or enjoy some good reading. If you’re desperate, popular English-language paperbacks are often available in European airports and major train stations (usually for far more than their North American price).

Insect repellent. Especially for France and Italy.

Collapsible umbrella. I like one that’s small and compact, but still sturdy and well-constructed enough to withstand strong winds.

Poncho. Hard-core vagabonds use a poncho — more versatile than a tarp — as protection in a rainstorm, a ground cloth for sleeping, or a beach or picnic blanket.

Gifts. Local hosts appreciate small souvenirs from your hometown (gourmet candy or crafts). Local kids love T-shirts and small toys.

source

(0)

“When the goin gets weird, the weird turn pro”

innen :)

10 things startups need / don’t need

Things startups do need

  • Sunny office
  • Windows that open
  • Democratically controlled music system
  • Two forms of internet access
  • Beer on fridays
  • EVDO cards
  • Video game system
  • Good coffee maker
  • Proximity to public transportation
  • Proximity to park
  • Heating that goes all night
  • Health care plans for everyone
  • Mac laptops with second monitors
  • Plants
  • Lots of in-person interaction
  • Gmail and Google docs
  • Soft lighting

Things startups don’t need

  • Fancy (Aeron) chairs
  • Expensive art on the walls
  • Vacation policy
  • PR firm
  • Dress code
  • Private offices
  • COO’s and GMs
  • Business cards
  • Microsoft products
  • Dental plans
  • Free lunches
  • Central air conditioning
  • Doorman
  • Phone system
  • Set time you need to arrive in morning
  • Meetings
  • Carpeting

Szerintem tényleg van benne valami, mondjuk ezek csak a díszletek, aki igazán jó, az akárhonnan elindulhat és sikeres lesz, de mindenesetre kellemes munkahelynek tűnik az első lista. Innen

(0)

Disaster Recovery Plan

New capitalist pyramid

innen

Charity – who cares?

(0)

Reinstalling kernel in Ubuntu linux

Miután sikerült bebootolni a netboot telepítőbe el kell indítani a telepítést, advanced command line installer, majd megszakitani, hogy visszakerüljünk a “főmenübe”, itt meg kell csinálni a network setupot – lehetőleg még működjön a DHCP server, majd a egy konzolt kérni.

Innen:
mkdir /mnt/os
mount /dev/sda1 /mnt/os
chroot /mnt/os
apt-get update
apt-get install linux-image

itt sanszos, hogy mindenféle hibaüzeneteket fog dobni, de mehet a reboot, utána még mehet apt-get install --reinstall linux-image, de nemtom ennek mennyi értelme van

Leírás innen

Netboot Ubuntu from OS X

Az előző kernel-tisztogatás kicsit félresikerült, mert az összes működő kernel törölve lett, de sebaj, mert erre is van megoldás. Itt most a netboot folyamatát írom le, az OS X standard tftp illetve bootp daemonjainak segítségével.

  • Ubuntu netboot + pxelinux
  • tftp
  • bootp

Először is be kell szerezni a leguljabb Ubuntu kiadás netboot csomagját (aktuális image), ami tartalmazza a pxelinux.0 fajlt is, a tftp és bootp serverek az os x részei, de érdemes letölteni a “TFTP Server” nevű programot, amivel sokkal egyszerűbben megy a beállítás. A netboot csomagot ki kell tomoriteni egy mappába majd a TFTP Server-ben megadni az eleresi utvonalat, illetve elinditani a tftp daemont. A bootp server beállítását a következő leírás alapján lehet megcsinálni.

  1. "mkdir netboot"
  2. internet sharing elindítása, “cp /etc/bootpd.plist ./netboot”, internet sharing leallitasa.
  3. bootpd.plist szerkesztese, majd "sudo cp ./netboot/bootpd.plist /etc/"
  4. esetleg működő dhcp server leallitasa

infok innen, illetve innen (Itt eltelt kb. 4 óra beállítások próbálgatásával). Pár fontos megjegyzés:

  • az alábbi két bejegyzést kell a bootpd.plist filehoz fűzni:
  • “It’s very important to figure out where you have to put the option in the
    config file. As the man page say, there are three main sections…” :) Nekem ezzel ment el vagy 3 órám, mire erre rájöttem (innen)
  • A bootpd.plist file többi részét értelem szerint ki kell tölteni
  • ln -s pxelinux.0 $(printf "pxelinux.0\377") abban a könyvtárban ahol a “pxelinux.0″ található. Az OS X-es bootpd hozzáfűzi a stringhez \377 karaktereket. (innen)

további hasznos linkek: BOOTPD manual, illetve BOOTP/DHCP options,  Working bootpd.plist (192)

understand

6590_fullinnen

Daily Life

5674_full

innen

Ubuntu deleting old kernels

Felgyülemlett elég sok régi kernel, amit már ugyse használok, de foglalja a helyet. A rendszer nem törli őket automatikusan, mert nem tudhatja, melyik működik, és melyik van használatban -> kézi törlés.

uname -r

ez a mostani kernel, mindent szabad törölni kivéve ezt: 2.6.31-14-generic

ezután 
apt-get autoremove linux-image-2.6.27*
vagy
apt-get remove --purge 2.6.27*
és had szóljon (óvatosan a csillaggal)
innen

Thanksgiving

Turkey-DayIts funny because its true

Gold

Regardless of the dollar price involved, one ounce of gold would purchase a good-quality man’s suit at the conclusion of the Revolutionary War, the Civil War, the presidency of Franklin Roosevelt, and today.

Peter A. Burshre

20091125innen milyen igaz, mondjuk voltak azért közben időszakok, amikor ez nem volt teljesen igaz, de nagyjából azért stimmel (“Ha! Back in 1998 you couldn’t have bought something off the rack at TJ MAXX with your ounce of gold.”)

fizikushumor

physics0

innen

Kostenwahrheit

Papier aus Australien

… und wir hatten Papier aus Australien im Büro. Zeigt die fehlende Kostenwahrheit beim Transport!

innen

“Puke-deck”

500x_apple_deck-1
500x_apple_deck_2
500x_apple_deck_3

innen

(0)