Index ¦ Archives ¦ RSS > Tag: en

title 42

Estimated read time: 1 minutes

blah, what a spam...

Date: Wed, 7 Dec 2005 09:09:54 +0100 From: security@frugalware.org To: vmiklos@frugalware.org Subject: gwxhqn Dear Valued Member, According to our terms of services, you will have to confirm your e-mail by the following link, or your account will be suspended within 24 hours for security reasons. http://www.vmiklos@frugalware.org/confirm.php?account=frugalware.org After following the instructions in the sheet, your account will not be inte rrupted and will continue as normal. Thanks for your attention to this request. We apologize for any inconvenienc e. Sincerely, Frugalware Security Department


title 41

Estimated read time: 1 minutes

during the meantime (you can't always hack the setup :) ) i've figured out how to package firefox extensions. you know why this is usefull: when you have a pc with a big number of users, or where you have a lot of machine. so test packages for adblock and google pagerank status are available

i plan to package sessionsaver and webdeveloper, too

if you have other ideas then post the name and the url of the extension you wish!

(this article served as a base to figure out how this all works)

update: webdeveloper is also available

update2: it seems that session saver and weatherfox does not support system-wide installations...

update3: flashblock and user agent switcher pushed


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

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