chirale

IT and beyond

  • Coding
  • SysAdmin
  • whoami
  • how to mount a CD/DVD image under Linux

    How to mount a cd/dvd image under GNU/Linux. I don’t use so frequently this command, so I tend to forget it. # mkdir /media/iso # mount -o loop=/dev/loop0 “/path/to/iso/my_iso.iso” \ /media/iso -t iso9660

    chirale

    December 22, 2007
    Howtos
    cd, dvd, gnu/linux, images, iso, iso 9660, linux, loop
  • collapsible content using contemplate

    How to make a collapsible content body with Contemplate and the Drupal core “collapsible” function? Make sure you’ve Contemplate enabled (through admin/build/modules) Go to admin/content/templates and choose the type you want to display collapsible content within. Enable body contemplate checking “Affect body output” and write (change field names): <?php drupal_add_js(‘misc/collapse.js’); drupal_add_js(‘misc/drupal.js’); ?> <fieldset class=”collapsible collapsed”> […]

    chirale

    December 19, 2007
    Drupal
    contemplate, Drupal, howto
  • i can patch this!

    *nix command of the day: diff -Naur old new > new.patch Where “old” and “new” are files or directories to patch. Example (a Drupal patch for IDs duplication): $ patch -p0<fapi-5.x-dupe-id_111719-151.patch patching file includes/form.inc $ Creating patch for Drupal: diff -up original.php new.php > filename.patch another example: diff -up path/to/file/example.module path/to/file/exampleNew.module > mypatchname.patch See also: […]

    chirale

    November 15, 2007
    Coding
    command, diff, gnu, linux, patch
  • How to listen webpages with Konqueror

    In Italian: apt-get install festival apt-get install festvox-ita* Open Konqueror, go to the speech option in the tools menu (in Italian localization: Strumenti > Configura testo). Set a voice at your choice and check the sound settings. After that, you can listen webpages through the speech tool menu via festival, it’s good to check website […]

    chirale

    November 13, 2007
    Howtos
    festival, gnu, howto, konqueror, linux, speech
  • Enable Drupal clean URLs on tophost.it

    Supposing you have uploaded the Drupal codebase on htdocs, you have to: Verify that htdocs/.htaccess files is present Modify htdocs/.htaccess: uncomment the RewriteBase line and set it to: RewriteBase / Run the Clean URL test on admin/settings/clean-urls and then Enable clean URLs Job done! See also: Tophost Clean URLs FAQ Clean URL con Tophost

    chirale

    November 11, 2007
    Drupal
    Drupal, howto
←Previous Page
1 … 27 28 29 30
Next Page→

Blog at WordPress.com.

  • Follow Following
    • chirale
    • Join 28 other followers
    • Already have a WordPress.com account? Log in now.
    • chirale
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar