Index ¦ Archives ¦ RSS > Tag: en

title 40

Estimated read time: 1 minutes

new -current iso images are available, including kde-3.5 and firefox-1.5

title 39

Estimated read time: 1 minutes

i always forgot how to grant full access to a db for a normal user in mysql and have to rtfm from time to time. so i post here the magic command, hopefully it’ll be a bit easier to search in the blog archive than rtfm’ing :)

GRANT ALL privileges on dbname.* TO 'username'@'localhost' IDENTIFIED BY 'secret';

title 38

Estimated read time: 1 minutes

just found an interesting offline theme installer for firefox. dunno if it works with firefox-1.5...

title 37

Estimated read time: 1 minutes

recently added pt and nl translations to the setup. thanks! :)

title 36

Estimated read time: 1 minutes

yet another milestone in the setup: except the translations, it seems that it's ready for 0.4pre1, loading language-specific fonts and gettext works again :)

title 35

Estimated read time: 1 minutes

just a draft about how to re-call a plugin from an other plugin in the setup:

        extern GList *plugin_list;

int i; plugin_t *plugin;

for (i=0; iname, "loadsource")) plugin->run(config); }

here we call the loadsource plugin from an another plugin


title 34

Estimated read time: 1 minutes

now we have git support in darcs (it does not causes any extra dep ;) ), here is a short demo, how does it works:
$ cg-clone http://www.kernel.org/pub/scm/git/git.git
this will fetch a git repo for you, as dr get does not works yet (i don't see if this is planned or not), but then do a
cd git; dr changes --last=5
and it really works fine :)

title 33

Estimated read time: 1 minutes

during coding the setup, i noticed some strange behaviours, i debugged then for a long time ;)

so to learn from my faults:

  • strcat does not accepts a NULL pointer as a dest char*
  • getenv() just gives you a pointer, you have to strdup() it if you want to modify the value

an other thing: i forgot again and again what's the difference between

step
and
next
in gdb:
  • setp executes the current line of the program and stops on the next statement to be executed
  • next is like step, however, if the current line of the program contains a function call, it executes the function and stops at the next line

ah, and if you want to execute the whole code line by line from the begining, you'll need

break 1
and then the usual
run


title 32

Estimated read time: 1 minutes

yet another setup update :)

a short TODOlist what have to be done:

  • handling package installation errors
  • handling category order
  • handling possibly required cd changes
  • postconf: calling the unchanged *config stuff

everything else seems to be completed! :)


title 31

Estimated read time: 1 minutes

yet another milestone in the setup. the code is ready till the end of partitioning. reach a screenshot here

© Miklos Vajna. Built using Pelican. Theme by Giulio Fidente on github.