Problems I solve and other things I find out while (ab)using the computer which I don’t want to be forgotten. // Néha megoldok egy problémát, vagy rájövök valamire, ami elég fontos ahhoz, hogy leírjam (és legközelebb ne elölről kelljen kezdeni).
2011. március 6., vasárnap
bash completion for ruby, rails, gem, heroku etc
I needed (and found) Bash completion for Ruby & co. (gem, rails etc). Sadly this is for Rails 2; I found a more recent Bash completion for Rails 3 project. And there is Bash completion for Heroku as well.
2011. február 17., csütörtök
drupal findings
- Drupal upgrade easier (patching)
- Drupal6 WYSIWYG CKEditor buttons toolbar wrap: by a nasty hack into the PHP config code you can automatically group the buttons. array_chunk is our new friend :)
- “a subtheme doesn't necessarily inherit the favicon of its parent theme, [one has] to manually place it in each of their theme roots.”
2010. december 7., kedd
command line validation of / against XSD
xmllint --noout --schema http://www.w3.org/2001/XMLSchema.xsd example.xsd
2010. december 6., hétfő
Solved: Eclipse javadoc hover gone
The problem:
I don’t see the usual javadoc hover in Eclipse IDE.Cause:
I used the same workspace on different computers, so some file permissions got messed up. This caused an exception in the hover-rendering internals.Solution:
Regain ownership over whole workspace: (of course while Eclipse is closed)user@host:/path/to/workspace$ sudo chown -R ${USER}: .Additional conclusions:
- It’s useful to look for errors in
~/.xsession-errors, that receives the standard error of X windows. - from man find:
-nouser No user corresponds to file's numeric user ID. - It’s useful to have a place where I can write down these findings ;) I’m pretty sure I once already solved this problem, but then forgot about it.
Feliratkozás:
Bejegyzések (Atom)