Syndicate content
  • Once in a while I want to add my user to a group and then right away make use of that group.

    Unfortunately, in general Unix kind of forces you to re-log in for the new group to be attached to your account.

    However, a command has been added, a while back, to do just that on the fly. Not something you would want to use in a script, but at least, it works for me when doing a few things here and there.

    In my case, I wanted to run QEMU, which I hadn't done in a while, and the system told me that it could not open the KVM, the error: kvm permission denied.

    The problem was that I was not part ...

  • Several times, you may have been creating views and wondered: how the heck could I add a link to my node Edit page, or if you are like me, my node Outline, Track, Convert pages on top of the Edit page.

    This is actually pretty easy.

    To your fields, add a Node: Nid then click the Add button at the bottom.

    In the setup of the field, select Rewrite the output of this field and enter the text of the link as it should appear (i.e. 'Edit' or 'Convert'.)

  • Today AddThis is down, big time! For hours...

    So to make my websites load faster (although I did not delete all the caches, which is a problem too?!) I removed the functionality. If you have Drupal, there is what I have done to leave the settings the same but still hide the AddThis button and thus get all the pages of all my websites to load fast.

    First we remove the link by returning an empty array:

    /**
     * Implementation of hook_link(). 
     */
    function addthis_link($type, $node=NULL, $teaser = FALSE) {
    return array(); // immediate return
      $links = array();
    
      if ($type ===  ...
  • I just switched my websites from one server to another and noticed that on my main company site (http://www.m2osw.com) I would get a # at the end of the URL. Automatically added somehow. Thinking that could be a bad guy I checked the code and could not really see anything.

    Hitting "Back" once, I noticed that the # would be transformed to #atssh-digg. I don't have anything specific about digg on that page except the AddThis button. That adds Digg among some 150 different systems where you can share my pages.

  • Managing your own Drupal Download Site

    The other day, I was thinking, it would be nice if I could find the way to manage my own download site so people who use my modules that I do not provide directly on https://www.drupal.org would still show as expected (i.e. Green in the update window).

    I found this page about it: https://www.drupal.org/node/210984

    This is done by creating a service in your Drupal environment. You should use the ready made script named:

    project-release-serve-history.php

    which you can find in the D6 version of the Drupal project named Project. Being very ...

  • If you are running a webserver, you should use a webserver firewall. This prevents many attacks from being perpetrated on to your servers without the need to make your own applications more complex than necessary.

    The idea is very simple, if you have a few people who can edit your data from the Internet and those have a static IP address, you can check that the editor pages are only accessible to those IP addresses. Any other access can simply be blocked.

    [toc hidden:1]
  • I have been wondering, for a while, why is it that I get errors about DEFLATE no being known.

      [Sun Apr 11 22:41:23 2010] [error] an unknown filter was not added: DEFLATE
      [Sun Apr 11 22:48:54 2010] [error] an unknown filter was not added: DEFLATE
      [Sun Apr 11 22:50:23 2010] [error] an unknown filter was not added: DEFLATE
    

    I should have thought of it, the deflate module was not installed. That was it, but oh well... 8-)

    To tweak your Apache setup, use the following two lines:

      sudo a2enmod deflate
      sudo /etc/init.d/apache2 force-reload
    

    And you'll get rid of those ...

  • I installed a website on a brand install installation of Ubuntu 14.04 (opposed to an upgrade from earlier versions) and the same website would not start...

    Apache2 would give me the following error:

    client denied by server configuration

    which did not seem to tell me anything... I search for the error and the first page that popped up was a page by Apache2 and they said to add the deny/allow trick. I tried that and it did not help.

        <Directory /my/special/directory>
            Order allow,deny
            Allow from all
        </Directory>

    Search further, I found an answer on ...

  • Error about a local certificate?!

    The other day, I got a new certificate from godaddy.com. I installed the certificate by replacing the files and simply restarting Apache. I then checked in Sea Monkey and it worked great. Checking the certificate it told me "valid for another 3 years."

    A few days later I got an error from eFax saying that our certificate could not be verified. Weird... I tried with wget and got the error! Hmmm... I tried again with SeaMonkey, just fine. Then I tried with FireFox, error too! The error with wget is like this:

    ERROR: Certificate verification ...
  • Today we again ran in an out of memory error. As we are adding more websites our foot print is growing... Our servers use a VPS that has limited resources and whenever the limit is reached, the system automatically kills processes. How the VPS selects the process to kill isn't clear to me, but twice it has been our database manager meaning that all of a sudden all the websites stop working.

    So... We got an extra bit of RAM because our package allowed it, but that's still small.

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • Breezy
  • Debian

    A Linux distribution borned in Germany. Debian is well known for not accepting any software that have a "dodge" license. They will always make sure that the license is 100% like GPL, BSD, MIT, etc. an Open Source license.

  • IsObject
  • VACUUM

    The VACUUM instruction is used by PostgreSQL to query the server in cleaning up the corresponding database cluster. The work done is simply to remove the unused rows and clearly mark them are available. The VACUUM FULL command will go the extra distance of pushing the data so as to make the tables as small as possible. The command can be run on a per table basis.

  • development