Attila Oláh

SRE @ Google Zürich

  • 06 Jun 2013

    HTC Desire hálózatfüggetlenítése

    Ha Linuxban vagy XP-ben vagy,

    • telepíts egy VirtualBox-ot (vagy valami hasonlót) (emerge virtualbox Gentooban)
    • szerezz egy Windows 7 ISO-t (sajnos a jó öreg wine itt nem fog segíteni) (XP sem jó, legalább is a 64-bites verzió nem akarja telepíteni az illesztőprogramokat)
    • telepíts Windows 7-et VirtualBox-ban

    Ezután

    • csatlakoztast a Desire-t (a telefonon az USB fejlesztést be kell kapcsolni)
    • telepítsd az HTC Sync nevű programot, az majd beteszi a szükséges illesztőprogramokat (az univerzális “Google USB illesztőprogramok” csomak nem jó, a HTC-s kell.
    • telepítds az adb illesztőprogramot (letölthető itt vagy itt)
    • töltsd le és indítsd el a föltörő programot (alőző verzió)

    VirtualBox alatt oda kell figyelni arra, hogy az USB port továbbítva legyen a vendég oprendszernek.

    Ha a telefon nem akar újraindulni, ellenőrizd, hogy az adb devices parancs fölismeri-e a csatlakoztatott eszközt. Ha nem, valószínű az adb illesztőprogram nincs jól telepítve.

    Ha a telefon újraindul, de a program nem találja, ellenőrizd megint adb devices parancssal, hogy az adb illesztőprogram telepítődött-e.

    Ez csak az HTC Desire-re alkalmazható.

    • programming,
    • hu
  • 04 Jun 2013

    strfmti.me

    Today on Joe Fiorini’s blog I read about a neat little website, strfti.me. It is exactly what the name suggests: a simple yet full reference of strftime implementations.

    • programming
    Source
  • 08 Apr 2013

    Ben Goldacre on battling bad science

    Real science is all about critically appraising the evidence for somebody else’s position.

    Ben Goldacre

    • videos
    Source
  • 05 Apr 2013

    WAT and the principle of least astonishment

    I came across this video while reading a question on StackExchange programmers about the Principle of Least Astonishment.

    • programming,
    • videos
    Source
  • 30 Jan 2013

    irssi and camper_van

    Recently I’ve come across a ruby irc server called camper_van. What it does is pretty simple: it communicates with Campfire while acting as an IRC server. That, combined with irssi makes it much more fun to use Campfire for work.

    The following is a simple script that starts the server (if not already running) and then opens up irssi in a new gnome-terminal session.

    The second file is an example irssi config file (merge it with ~/.irssi/config).

    • programming
    Source
  • 29 Jul 2012

    HTTP DELETE and Sencha Touch

    I’ve recently learned that App Engine chokes on HTTP DELETE requests that contain a request body. While developing locally, everything works just fine, but when deployed, the production server drops these “malformed” requests with a “400 Bad Request” status line, so they don’t even reach the application in the WSGI pipeline.

    After reading the specs I couldn’t find where it would state that a body is not allowed for DELETE, it does state however that the request URI should be enough to identify the resource and that no extra parameters should be required (so I guess many servers just ignore the body there).

    Anyway, since App Engine is so strict about requests (which is a good thing anyway), it would be cool if Sencha Touch 2 could be somehow forced not to send an XHR payload when deleting a moel instance using the REST proxy. There seem to be no config option to prevent a request body, and when I asked in the forum, I got no decent reply.

    After reading the source, I came up with an override that fixes this behaviour. However, since overrides are now deprecated in favor of Ext.define, the following gist now includes a correction to the override.

    • programming
    Source
Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
Next
Attila Oláh //
atl@google.com